The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
Note: This hack will only work on PHP 4.0.5 and higher. Sorry for all the others (anyone still using these old versions?!).
Anyhow, this is a great little hack, and most importantly very very fun for the masses. It gives your users the ability to use {bbusername} in their post, and it will mysteriously be changed into the viewer's username when he reads the page. Demo: FireFly <!-- auto name hack --> You can detect this hack is in action by viewing the HTML source of the page. You will see <!-- auto name hack --> next to the name in the source. You can this hack used in action here as well: https://vborg.vbsupport.ru/showthrea...threadid=35192 This hack also contains a small optimization to vBulletin, which removes a lot of calls to str_replace() and replaces that with only one (which is why this hack only works with PHP 4.0.5 and up). Have fun, I know you will. Show Your Support
|
Comments |
#77
|
||||
|
||||
Yes.
|
#78
|
||||
|
||||
Just as note to let everyone know I used this hack with predictably funny results as a April Fool's Day joke on my board. I combined it with Scott Pakin's automatic complaint-letter generator and the resulting thread set a one day record for responses and views on my forums.
You can see the results here: http://www.optiboard.com/forums/show...&threadid=4330 |
#79
|
||||
|
||||
LOL I created a monster. Nice going Steve.
|
#80
|
||||
|
||||
Sorry to bring this back up again, but are there only two steps to this? All I see is two changes two changes to functions.php and it ends there.... It doesn't say save and reupload, so I'm not sure if it ends there....
|
#81
|
||||
|
||||
Well? I'd really like to install it, but it seems like there has to be more than what I just said above....
|
#82
|
||||
|
||||
Yes, you just make the two changes to functions.php. Although it doesn't specifically say to 'save' and 'reupload', I thought those steps were pretty obvious. Hence, that's what I did.
|
#83
|
|||
|
|||
Would there possibly be a way of doing this, but instead of having to quote the person it actually replaced the variable in the user's post to whomever was viewing the thread?
|
#84
|
|||
|
|||
Nope...we've followed the steps (and tried the ==bbusername== opion) on vB 2.2.5, and no luck. Nothing comes up where the username is meant to.
|
#85
|
|||
|
|||
Im using v2.2.4 now its not working anymore
I have also used the fix from smachol... |
#86
|
||||
|
||||
Quote:
http://www.optiboard.com/forums/show...&threadid=4330 |
#87
|
|||
|
|||
But is there any way to integrate it with the sessionhash cookies so that it displays the username in the post according to the cookie on your computer? This hack could really be much more fun if it actually didn't require quoting to use.
|
#88
|
||||
|
||||
What do you mean? This hack doesn't require any quoting.
|
#89
|
||||
|
||||
All you need to do is make the two changes in functions.php that FireFly posted in the first message in this thread. Then to use the hack, just use {bbusername} in a post.
If that doesn't work for you then I have no idea what to tell you. This ain't that complicated. |
#90
|
||||
|
||||
Do you need to set replacements or something? It's not working for me.....
|
#91
|
||||
|
||||
Hmm.... I installed it and it disabled the vBMicrostats.... It also still didn't work though and I uninstalled. Are you sure there's no more than those two steps...? No replacements or anything?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|