Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Reader's name inside post (+) Details »
Reader's name inside post (+)
Mod Version: 1.00, by Chen (Member) Chen is offline
Developer Last Online: Mar 2009 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (0 vote - 0 average) Installs: 35
Released: 19 Feb 2002 Last Update: Never Downloads: 19
Not Supported  

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

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #76  
Old 31 Mar 2002, 18:18
Chen's Avatar
Chen Chen is offline
 
Join Date: Sep 2001
Yes.
__________________
Chen Avinadav
Formerly vBulletin.org Owner and Founder

chen@avinadav.com
Reply With Quote
  #77  
Old 02 Apr 2002, 04:23
Steve Machol's Avatar
Steve Machol Steve Machol is offline
 
Join Date: Nov 2001
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!
Reply With Quote
  #78  
Old 02 Apr 2002, 06:54
Chen's Avatar
Chen Chen is offline
 
Join Date: Sep 2001
LOL I created a monster. Nice going Steve.
__________________
Chen Avinadav
Formerly vBulletin.org Owner and Founder

chen@avinadav.com
Reply With Quote
  #79  
Old 07 Apr 2002, 23:35
CeleronXL's Avatar
CeleronXL CeleronXL is offline
 
Join Date: Nov 2001
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....
__________________
[ StarCraft Sector | Forum Sector ]

Last edited by CeleronXL; 07 Apr 2002 at 23:38.
Reply With Quote
  #80  
Old 08 Apr 2002, 01:38
CeleronXL's Avatar
CeleronXL CeleronXL is offline
 
Join Date: Nov 2001
Well? I'd really like to install it, but it seems like there has to be more than what I just said above....
__________________
[ StarCraft Sector | Forum Sector ]
Reply With Quote
  #81  
Old 08 Apr 2002, 07:08
Steve Machol's Avatar
Steve Machol Steve Machol is offline
 
Join Date: Nov 2001
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!
Reply With Quote
  #82  
Old 08 Apr 2002, 08:40
Fallout2man Fallout2man is offline
 
Join Date: Dec 2001
Question

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?
Reply With Quote
  #83  
Old 08 Apr 2002, 11:57
Editor Editor is offline
 
Join Date: Dec 2001
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.
Reply With Quote
  #84  
Old 08 Apr 2002, 15:42
-=dm=- -=dm=- is offline
 
Join Date: Nov 2001
Im using v2.2.4 now its not working anymore
I have also used the fix from smachol...
Reply With Quote
  #85  
Old 08 Apr 2002, 18:25
Steve Machol's Avatar
Steve Machol Steve Machol is offline
 
Join Date: Nov 2001
Originally posted by Editor
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.
It works on my 2.2.5 forum. All I did was follow FireFly's instructions exactly. You can check it out for yourself:

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!
Reply With Quote
  #86  
Old 08 Apr 2002, 19:37
Fallout2man Fallout2man is offline
 
Join Date: Dec 2001
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.
Reply With Quote
  #87  
Old 08 Apr 2002, 21:00
Steve Machol's Avatar
Steve Machol Steve Machol is offline
 
Join Date: Nov 2001
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!
Reply With Quote
  #88  
Old 09 Apr 2002, 21:33
Steve Machol's Avatar
Steve Machol Steve Machol is offline
 
Join Date: Nov 2001
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!
Reply With Quote
  #89  
Old 09 Apr 2002, 21:36
CeleronXL's Avatar
CeleronXL CeleronXL is offline
 
Join Date: Nov 2001
Do you need to set replacements or something? It's not working for me.....
__________________
[ StarCraft Sector | Forum Sector ]
Reply With Quote
  #90  
Old 09 Apr 2002, 23:29
CeleronXL's Avatar
CeleronXL CeleronXL is offline
 
Join Date: Nov 2001
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?
__________________
[ StarCraft Sector | Forum Sector ]
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 03:48.

Layout Options | Width: Wide Color: