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.
  #46  
Old 21 Feb 2002, 10:28
TECK's Avatar
TECK TECK is offline
 
Join Date: Dec 2001
Real name: Floren Munteanu
well.. fun is allowed at vB.org to.. right?
__________________
Floren Munteanu
Axivo Inc.
Axivo Community - Visit the forums to find out more about us
Why Queued - My personal blog
Reply With Quote
  #47  
Old 21 Feb 2002, 10:34
voogru's Avatar
voogru voogru is offline
 
Join Date: Dec 2001
{bbusername} is a silly bear!
Reply With Quote
  #48  
Old 21 Feb 2002, 12:07
Chen's Avatar
Chen Chen is offline
 
Join Date: Sep 2001
Originally posted by techno
yes, but i noticed that someone else had the same problem earlier and seems to have gotten it fixed.
If I weren't serious with my remark about PHP version I wouldn't post it, would I?
__________________
Chen Avinadav
Formerly vBulletin.org Owner and Founder

chen@avinadav.com
Reply With Quote
  #49  
Old 21 Feb 2002, 12:08
Chen's Avatar
Chen Chen is offline
 
Join Date: Sep 2001
Originally posted by SWFans.net
I think some of the variables ($fullpm) that are in that line are from other hacks. I just added the bbusername variable to my line in functions.php and it worked great.
Could be that the $fullpm was removed in version 2.2.2, because we are still running version 2.2.1 and that's where I test my hacks as well.
__________________
Chen Avinadav
Formerly vBulletin.org Owner and Founder

chen@avinadav.com
Reply With Quote
  #50  
Old 21 Feb 2002, 12:12
nuno's Avatar
nuno nuno is offline
 
Join Date: Oct 2001
one of the best ever
i love this hack
thx Chen
__________________
Powered by: vBulletin
Reply With Quote
  #51  
Old 21 Feb 2002, 12:51
Remi Remi is offline
 
Join Date: Nov 2001
Is there a way of restricting the for admins only!!

My users start abusing this nice hack, I don't want to remove it
Reply With Quote
  #52  
Old 21 Feb 2002, 13:58
SWFans.net's Avatar
SWFans.net SWFans.net is offline
 
Join Date: Oct 2001
Originally posted by FireFly

Could be that the $fullpm was removed in version 2.2.2, because we are still running version 2.2.1 and that's where I test my hacks as well.
Its possible, but Iím really not sure. I upgraded my forums to 2.2.2 via PPNís hack he posted here, but donít remember if that was a step.

Goes to check

Nope, I donít see it in his update file as a change. Oddness.
Reply With Quote
  #53  
Old 21 Feb 2002, 15:00
Chen's Avatar
Chen Chen is offline
 
Join Date: Sep 2001
Well, I can only guess, but maybe it's part of a hack (if it exists) that adds a "Your inbox is full" popup to pages, like "You have a new message". Or maybe that's already a feature... god I can't remember.

It's possible to limit this hack to admins, yes.
Replace this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Chen Avinadav
Formerly vBulletin.org Owner and Founder

chen@avinadav.com
Reply With Quote
  #54  
Old 21 Feb 2002, 20:17
Martin CX Martin CX is offline
 
Join Date: Nov 2001
Very cute hack Firefly. It'll be great fun trying it out.
Originally posted by SWFans.net
And I think I may actually have a practical use for it at our forums. A great deal of our members are role players with multiple names. I may add that into the templates for forumdisplay to let people know exactly what name they are logged in as.
You don't need the hack to do that, though. Just use $username in the templates.
Reply With Quote
  #55  
Old 21 Feb 2002, 21:56
James Cridland James Cridland is offline
 
Join Date: Nov 2001
Totally pointless.

Great fun.

Although I hear {bbusername} is getting a bit sick of it.
Reply With Quote
  #56  
Old 21 Feb 2002, 22:20
techno techno is offline
 
Join Date: Nov 2001
Originally posted by FireFly

If I weren't serious with my remark about PHP version I wouldn't post it, would I?

Nope, I just didn't think that is what my problem was. Time to contact the server owner and tell him to upgrade!!

Anyway's Firefly, its looks like a really fun hack.
Reply With Quote
  #57  
Old 21 Feb 2002, 22:54
NYI Fan's Avatar
NYI Fan NYI Fan is offline
 
Join Date: Nov 2001
I have been holding off unleashing it on my forums cuz i want to think of something really good to get them with! I know 1 or 2 people posted what they did, anyone else actually implement this on their site yet and feel like sharing?
Reply With Quote
  #58  
Old 21 Feb 2002, 23:34
James Cridland James Cridland is offline
 
Join Date: Nov 2001
http://forums.mediauk.com/showthread.php?threadid=13307

Oh, it's funny... even when people have realised what's going on, others don't realise... !!

This is the funniest hack I've installed...
Reply With Quote
  #59  
Old 21 Feb 2002, 23:42
James Cridland James Cridland is offline
 
Join Date: Nov 2001
The effect is rather spoilt by the <--! AUTO NAME HACK --> thing, so I removed that from the version I installed. The funniest bit is page 2, where two users both quote and reply to the text, saying how kind it is of me... !
Reply With Quote
  #60  
Old 22 Feb 2002, 00:04
NYI Fan's Avatar
NYI Fan NYI Fan is offline
 
Join Date: Nov 2001
HI James
thanks for the link, and if you dont mind, where did you remove it from? (I would love to do the same)
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 01:15.

Layout Options | Width: Wide Color: