vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Code Requests & Support :: Can't find code... "Hey #Username#" - View Topic
Topic Rating: *****
Printable View
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,013
Status: Offline
Gender: Male
Location: vForums
Age: 35
Joined:  
Reputation: 62%  


pmwww
Can't find code... "Hey #Username#" (3rd Oct 08 at 2:36am UTC)
Resolved - Even if I use the search in the code index....
I am trying to find that code that Wrighty made the "Hey #username#"

I can't find it anywhere on this forum?

I need it for my forum.

Darkmage

edit:
Never mind I found it, I went to the test board, and viewed source.

But will it work in Pm's

edit 2:

The code don't work at all {Sad}

http://planethalo.vforums.co.uk

(I made a test board that only the "Founder" Group can only see, so I need someone that has the Global User ability)
dog199200
Guest
Re: Can't find code... "Hey #Username#" (3rd Oct 08 at 3:04am UTC)
{Smile} one second i'll find it, i know what thread it goes in {Smile} I'm the one that requested the code

edit: found it:

G-Footer

Code:
 
  1. <script>
  2. /* ##username## tag
  3. Created By Wrighty
  4. Do Not Rip,. Repost or Claim*/
  5.  
  6. var d = {
  7.      d: get('td','tag'),
  8.      i: function(){
  9.           if(!location.href.match(/\/(admin|post|modify)/)){
  10.                this.a();
  11.           }
  12.      },
  13.      a: function(){
  14.           for(i = 0; i < this.d.length; i++){
  15.                if(this.d[i].innerHTML.match(/##username##/) && this.d[i].className.match(/window(1|2)/)){
  16.                     this.d[i].innerHTML = this.d[i].innerHTML.replace(/##username##/g, vf_displayname);
  17.                }
  18.           }
  19.      }
  20. };
  21. d.i();
  22. </script>
 
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,013
Status: Offline
Gender: Male
Location: vForums
Age: 35
Joined:  
Reputation: 62%  


pmwww
Re: Can't find code... "Hey #Username#" (3rd Oct 08 at 3:21am UTC)
I found it, I viewed source in the test board, but it don't work.

edit:

Ok thats odd the one I found in the View source in the test board did not work, but the one you gave me worked!?

Thanks Dwight.

Oh and will it work in PM?
Mainly for the Auto welcome PM's
dog199200
Guest
Re: Can't find code... "Hey #Username#" (3rd Oct 08 at 3:28am UTC)
yes it will, the only place it will not work is as your username
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,013
Status: Offline
Gender: Male
Location: vForums
Age: 35
Joined:  
Reputation: 62%  


pmwww
Re: Can't find code... "Hey #Username#" (3rd Oct 08 at 3:29am UTC)
Ok, and apparently it will not work in the Subject of the Welcome PM. I made a test account, I will have to make another test account now, because I changed a few things around.
dog199200
Guest
Re: Can't find code... "Hey #Username#" (3rd Oct 08 at 3:30am UTC)
ah ok, well i know it will work in the message itself, i used it as a really nice way to greet someone in one of my forums
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,013
Status: Offline
Gender: Male
Location: vForums
Age: 35
Joined:  
Reputation: 62%  


pmwww
Re: Can't find code... "Hey #Username#" (3rd Oct 08 at 3:36am UTC)
Yep that's the reason why I want it ^_^

I am just going to leave it out of the subject field for PM, but whats strange it works in teh subject field when actually doing a Post {Tongue Out}
dog199200
Guest
Re: Can't find code... "Hey #Username#" (3rd Oct 08 at 3:40am UTC)
ya i know, hey can i ask you something please {Smile} Can i rehost your spell checker code for heather? I wnat to add the shoutbox to her forum, but the ads in the code keeps messing things up in several parts of her forum and i was wondering if i rehosted it if i could please remove the ads
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,013
Status: Offline
Gender: Male
Location: vForums
Age: 35
Joined:  
Reputation: 62%  


pmwww
Re: Can't find code... "Hey #Username#" (3rd Oct 08 at 3:43am UTC)
I did not create it. I just found it from http://spellingcow.com You will have to take it up with them. If I messed with it I would be in trouble and possible lawsuit, for breaching their copyright.

You see ads? I don't at all...
dog199200
Guest
Re: Can't find code... "Hey #Username#" (3rd Oct 08 at 3:47am UTC)
i do, go to heathers site and go to post a thread through the rely button, it has an ad right under wher ethe cow is...and it puts up a spell check ever wher ethere is a feild, meaning it puts a cow and even an ad in the shoutbox
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,013
Status: Offline
Gender: Male
Location: vForums
Age: 35
Joined:  
Reputation: 62%  


pmwww
Re: Can't find code... "Hey #Username#" (3rd Oct 08 at 3:54am UTC)
ok I will hold on
I can see vF ads but I can't see those ads from the cow.

edit:
I do not even see the shout box {Unsure}
dog199200
Guest
Re: Can't find code... "Hey #Username#" (3rd Oct 08 at 3:57am UTC)
i removed it, because of the ads
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,013
Status: Offline
Gender: Male
Location: vForums
Age: 35
Joined:  
Reputation: 62%  


pmwww
Re: Can't find code... "Hey #Username#" (3rd Oct 08 at 3:58am UTC)
Well put it on so I can see.

Are they pop up/under ads? or are they like vF ads?

edit: lets continue on her site.

Staff may lock this.
dog199200
Guest
Re: Can't find code... "Hey #Username#" (3rd Oct 08 at 4:02am UTC)
they are like vforums ads, just a lot smaller aand ok give me a second, and ok
 Printable View

All times are GMT+0 :: The current time is 12:06am
Page generated in 0.2245 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums