PDA

View Full Version : display username in title


Tofer
01-14-2009, 05:56 AM
there are a couple forums i am a member of that when you type some bb code in the thread title, i think its "(username)", it will display whoever reading the new posts as their name in the title... i've searched here and cant find anything on the hack.

example's would be:

hey (username) did you sign up for __________

Poll: should we ban (username)? (as a joke :D)

etc

SEOvB
01-14-2009, 09:16 PM
Search for the /me modification.

Tofer
01-15-2009, 12:15 AM
"The search term you specified (/me) is under the minimum word length (3) and therefore will not be found. Please make this term longer.

If this term contains a wildcard, please make this term more specific."

any suggestions?

Dismounted
01-15-2009, 04:45 AM
You can also search using Google: "site:vbulletin.org /me".

Tofer
01-15-2009, 05:47 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=201638" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=201638</a>

thats not the code i'm looking for.

"/me" looks like it will display MY username. i want to display YOUR username.

for example: I create a thread titled "hey (username) did you sign up for the event this weekend?

when user "Johnny" hits new posts he will see a thread "Hey Johnny did you sign up for the event this weekend?"
when user "Sally" hit new posts She will see a thread "hey Sally did you sign up for the event this weekend?"

and their username will show up in the body of the post whenever there is "(username)"

Goliath27
01-15-2009, 06:46 PM
I have seen this used on a Viper car forum. Scared the ++++ out of me lol

Bump for an answer!

ALi

SEOvB
01-15-2009, 07:40 PM
try the /you bbcode then

Goliath27
01-15-2009, 07:54 PM
try the /you bbcode then

Too short of a search option.

ALi

Tofer
01-15-2009, 08:24 PM
I've searched google for /you mod under several keywords and cant find anything... any suggestions?

Brandon Sheley
01-15-2009, 08:27 PM
it was a mod by Bofo that's in the graveyard now
that's the only /you mod that I know of

Goliath27
01-17-2009, 01:08 PM
it was a mod by Bofo that's in the graveyard now
that's the only /you mod that I know of

Found the one by BoFo but as you said, it was dead. Simple mod or too complicated to remake?

ALi

Tofer
01-19-2009, 09:01 PM
it doesn't seem that it would be that hard, i just cant code to save my life. i tied modifying the "/me" code but it didnt work.

ok found the boofo mod as well... this is exactly what i'm looking for. https://vborg.vbsupport.ru/showthread.php?t=169166

anyway to make this live again?

Goliath27
01-19-2009, 11:29 PM
I know the guy who made it, he has a auto forum that I first seen it on. I thought it was Halarious.

Wish he would check his new PM lol

ALi

glennybee
01-19-2009, 11:45 PM
I have the [you] mod on my forum.

If I'm allowed I could download it and attach here? I'll need the go-ahead from a staff member or Boofo before I'll upload it.

Goliath27
01-20-2009, 12:44 AM
nice, Staff.......

ALi

Dismounted
01-20-2009, 04:56 AM
If I'm allowed I could download it and attach here? I'll need the go-ahead from a staff member or Boofo before I'll upload it.
You need the go ahead from the original author. vB.org does not hold any copyright over any modifications released here.

Killeglass
02-08-2009, 10:04 PM
I think this is exactly what I am looking for

Any update?

Thank you

KTP
09-23-2009, 08:20 PM
if you make an xml file using the following:

<?xml version="1.0" encoding="ISO-8859-1"?>

<plugins>
<plugin active="1">
<title><![CDATA[[you]]]></title>
<hookname>global_complete</hookname>
<phpcode><![CDATA[$output = str_replace('[you]', $vbulletin->userinfo['username'], $output);]]></phpcode>
</plugin>
</plugins>


then upload as a plugin, it works perfectly.