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 |
#32
|
|||
|
|||
+-------------------------------------------------------------------------------------------------+
| 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; |
#33
|
|||
|
|||
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 |
#34
|
|||
|
|||
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 |
#35
|
||||
|
||||
I wonder if there wouldnt be a way to add to this a tiny bit and insert random usernames for replacement variables in posts?
|
#36
|
||||
|
||||
Quote:
|
#37
|
||||
|
||||
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 |
#38
|
|||
|
|||
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? |
#39
|
|||
|
|||
Quote:
FF, said something like this Quote:
|
#40
|
|||
|
|||
yes, but i noticed that someone else had the same problem earlier and seems to have gotten it fixed.
|
#41
|
|||
|
|||
Ahem....testing... {bbusername} Neato hack...
|
#42
|
|||
|
|||
will this work with 2.21? I'd like to use it for users who never post.
|
#43
|
|||
|
|||
Quote:
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 |
#44
|
||||
|
||||
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:
Quote:
|
#45
|
||||
|
||||
SUPER!!!!!
THX! |
#46
|
|||
|
|||
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 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|