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.
  #31  
Old 20 Feb 2002, 13:42
pdatoon's Avatar
pdatoon pdatoon is offline
 
Join Date: Nov 2001
+-------------------------------------------------------------------------------------------------+
| In functions.php, find this code: |
+-------------------------------------------------------------------------------------------------+
global $DB_site,$replacementsetid,$gzipoutput,$gziplevel,$newpmmsg,$fullpm;
+-------------------------------------------------------------------------------------------------+

I'm running 2.2.2 regular and i dont have the fullpm at the end of the line. Mine is just:
global $DB_site,$replacementsetid,$gzipoutput,$gziplevel,$newpmmsg;
Reply With Quote
  #32  
Old 20 Feb 2002, 14:09
pdatoon's Avatar
pdatoon pdatoon is offline
 
Join Date: Nov 2001
help!

I installed the hack and then got all kind of errors, i removed it but still get errors. When i loggout, it says :


"Database error in vBulletin 2.2.2:

Invalid SQL: UPDATE session SET lastactivity=,location='/pdaforum/member.php?s=&action=logout' WHERE sessionhash='553368d684ae4aa1b92856c41f9703af'
mysql error: You have an error in your SQL syntax near 'location='/pdaforum/member.php?s=&action=logout' WHERE sessionhash='553368d684ae' at line 1

mysql error number: 1064

Date: Wednesday 20th of February 2002 05:56:28 AM
Script: http://www.pdafrance.com/pdaforum/pd...&action=logout
Referer: http://www.pdafrance.com/pdaforum/index.php?s=
"
and the who's online doesnt show people in the board anymore
Reply With Quote
  #33  
Old 20 Feb 2002, 14:26
pdatoon's Avatar
pdatoon pdatoon is offline
 
Join Date: Nov 2001
man i dont know what happened.
I had to reupload a bunch of files.
I think it kept corrupting the files on the server.

very weird
Reply With Quote
  #34  
Old 20 Feb 2002, 22:48
SWFans.net's Avatar
SWFans.net SWFans.net is offline
 
Join Date: Oct 2001
I wonder if there wouldn’t be a way to add to this a tiny bit and insert random usernames for replacement variables in posts?
Reply With Quote
  #35  
Old 20 Feb 2002, 22:49
SWFans.net's Avatar
SWFans.net SWFans.net is offline
 
Join Date: Oct 2001
Originally posted by pdatoon
+-------------------------------------------------------------------------------------------------+
| In functions.php, find this code: |
+-------------------------------------------------------------------------------------------------+
global $DB_site,$replacementsetid,$gzipoutput,$gziplevel,$newpmmsg,$fullpm;
+-------------------------------------------------------------------------------------------------+

I'm running 2.2.2 regular and i dont have the fullpm at the end of the line. Mine is just:
global $DB_site,$replacementsetid,$gzipoutput,$gziplevel,$newpmmsg;
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.
Reply With Quote
  #36  
Old 20 Feb 2002, 23:10
Tim Wheatley's Avatar
Tim Wheatley Tim Wheatley is offline
 
Join Date: Nov 2001
Why is this is ANY way useless??

If you have an important new bit of info which EVERYONE should read - put their username in the title - LOL
Reply With Quote
  #37  
Old 21 Feb 2002, 01:04
techno techno is offline
 
Join Date: Nov 2001
ok, I'm still having problems with this hack. This is the first hack i have ever had problems with, so I am absolutely clueless as to what is going wrong. The pages load, but there all bright and rainbow colored. Most of the .gifs are missing, and at the very top left it says {html doctype}...or something like that.

I am using the version of vB that has the .php3 extension....could that cause any problems?
Reply With Quote
  #38  
Old 21 Feb 2002, 01:31
Psychdrone Psychdrone is offline
 
Join Date: Nov 2001
Originally posted by techno
ok, I'm still having problems with this hack. This is the first hack i have ever had problems with, so I am absolutely clueless as to what is going wrong. The pages load, but there all bright and rainbow colored. Most of the .gifs are missing, and at the very top left it says {html doctype}...or something like that.

I am using the version of vB that has the .php3 extension....could that cause any problems?
I bileve that if you actually read the first line
FF, said something like this

Note: This hack will only work on PHP 4.0.5 and higher. Sorry for all the others (anyone still using these old versions?!).
Reply With Quote
  #39  
Old 21 Feb 2002, 01:54
techno techno is offline
 
Join Date: Nov 2001
yes, but i noticed that someone else had the same problem earlier and seems to have gotten it fixed.
Reply With Quote
  #40  
Old 21 Feb 2002, 03:26
Sharp Sharp is offline
 
Join Date: Dec 2001
Ahem....testing... {bbusername} Neato hack...
Reply With Quote
  #41  
Old 21 Feb 2002, 05:39
Lionel Lionel is offline
 
Join Date: Dec 2001
Real name: Lionel
will this work with 2.21? I'd like to use it for users who never post.
Reply With Quote
  #42  
Old 21 Feb 2002, 08:51
Jawelin Jawelin is offline
 
Join Date: Nov 2001
@ Lionel

Originally posted by Lionel
will this work with 2.21? I'd like to use it for users who never post.
I'm very interested in this option!!!
Could you tell me more how do you think to use to 'incentivate' posts ?
I have about one user by two with 0 posts and don't figure how to 'force' them to post something.
I wouldn't use too restrictions like attachment hack and so on...

Please, give some hint.
Thanks
Reply With Quote
  #43  
Old 21 Feb 2002, 09:17
Stretchr's Avatar
Stretchr Stretchr is offline
 
Join Date: Jan 2002
Popular is great but I found out, over in the Lounge, that I was having someone's baby! I'm still trying to convince my wife that it's hers! :frus:
Originally posted by Bald Bouncer
Ah I get it now....I suddenly thought I was populiar after reading this thread
__________________
It's a small world.....
But I wouldn't want to paint it!
Stephen Wright
Reply With Quote
  #44  
Old 21 Feb 2002, 09:49
Wolf42's Avatar
Wolf42 Wolf42 is offline
 
Join Date: Nov 2001
Real name: Wolfgang Strasser
SUPER!!!!!

THX!
__________________
MfG
Wolf42
My Hacks:
Stars for vB2.2.1 (english/german)
Get new post, but not own
Reply With Quote
  #45  
Old 21 Feb 2002, 09:53
Tho007 Tho007 is offline
 
Join Date: Nov 2001
I have test this on 2.2.1
At the first post, this works great but then I have a Database error we pdatoon. I have repair any tables.
Bye
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 00:50.

Layout Options | Width: Wide Color: