![]() |
|
Mod Options |
![]() |
|||||||||
This modification is in the archives.
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: http://www.vbulletin.org/forum/showt...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. ![]() Download Now Only licensed members can download files, Click Here for more information. Show Your Support
No members have liked this post.
|
#76
|
||||
|
||||
Yes.
No members have liked this post.
|
#77
|
||||
|
||||
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
__________________
Steve Machol, vBulletin Moderator Please do not email or PM me for vBulletin support. I will try to answer all questions on the vB Forums. Thank you for respecting this request! No members have liked this post.
|
#78
|
||||
|
||||
LOL I created a monster.
![]() No members have liked this post.
|
#79
|
||||
|
||||
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....
No members have liked this post.
Last edited by CeleronXL; 07 Apr 2002 at 22:38. |
#80
|
||||
|
||||
Well? I'd really like to install it, but it seems like there has to be more than what I just said above....
No members have liked this post.
|
#81
|
||||
|
||||
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.
![]()
__________________
Steve Machol, vBulletin Moderator Please do not email or PM me for vBulletin support. I will try to answer all questions on the vB Forums. Thank you for respecting this request! No members have liked this post.
|
#82
|
|||
|
|||
![]()
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?
No members have liked this post.
|
#83
|
|||
|
|||
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.
No members have liked this post.
|
#84
|
|||
|
|||
Im using v2.2.4 now its not working anymore
![]() I have also used the fix from smachol... No members have liked this post.
|
#85
|
||||
|
||||
http://www.optiboard.com/forums/show...&threadid=4330
__________________
Steve Machol, vBulletin Moderator Please do not email or PM me for vBulletin support. I will try to answer all questions on the vB Forums. Thank you for respecting this request! No members have liked this post.
|
#86
|
|||
|
|||
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.
No members have liked this post.
|
#87
|
||||
|
||||
What do you mean? This hack doesn't require any quoting.
![]()
__________________
Steve Machol, vBulletin Moderator Please do not email or PM me for vBulletin support. I will try to answer all questions on the vB Forums. Thank you for respecting this request! No members have liked this post.
|
#88
|
||||
|
||||
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.
__________________
Steve Machol, vBulletin Moderator Please do not email or PM me for vBulletin support. I will try to answer all questions on the vB Forums. Thank you for respecting this request! No members have liked this post.
|
#89
|
||||
|
||||
Do you need to set replacements or something? It's not working for me.....
No members have liked this post.
|
#90
|
||||
|
||||
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?
No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 08:46.