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 |
#2
|
|||
|
|||
a classic lets see if it can provide the same type of amusement we have on other boards
|
#3
|
||||
|
||||
'Zactly. This hack is completely useless from a practical standpoint. However, I could use a good laugh. :up:
EDIT: yeck...those lines in the text file have to be removed...I either have to copy the code and then weed them all out and such, or re-type it. |
#4
|
||||
|
||||
I realize this hack is useless, but I think it's fun nonetheless.
Chris, gotcha'. Updated the file. |
#5
|
||||
|
||||
File looks the same to me...also, I installed it, all my replacement variables jacked up and my board looked like a rainbow, so I uninstalled it...
|
#6
|
||||
|
||||
Great fun hack, thanks :up:
|
#7
|
||||
|
||||
TWTCommish, the file is updated, you were probably just getting a cached version of it.
Install the hack again and do exactly what it says. |
#8
|
||||
|
||||
Yep, got it working around 10 minutes after posting that.
|
#9
|
||||
|
||||
Good.
|
#10
|
||||
|
||||
I tried to get this same effect with the email notifications (those are sort of a dead give-away)...by sticking this code...
Code:
$emailsubject = str_replace('{bbusername}', $bbuserinfo[username], $emailsubject); $emailmsg = str_replace('{bbusername}', $bbuserinfo[username], $emailsubject); Code:
mail($toemail,$emailsubject,$emailmsg,"From: \"$bbtitle Mailer\" <$webmasteremail>"); |
#11
|
||||
|
||||
Okay, I'm easily amused... I'll admit it.
I installed this hack and posted a message that reads "{bbusername}, you are my favorite user. I wish everyone else on here was like you..." I'm dying laughing as the responses start to appear. The hardest part is the anticipation of how long it is going to take until people start to catch on. Too funny - thanks for the laugh |
#12
|
||||
|
||||
TWTCommish, you are using the wrong variable in the second lind.
hondastyle - hehe. Care to give us the link? |
#13
|
||||
|
||||
D'oh, my bad. The email subject part doesn't work either, though. Any idea what the problem is?
|
#14
|
|||
|
|||
the first piece of code i have to find isnt in my function.php and i havent edited it :noid:
|
#15
|
||||
|
||||
Ah I get it now....I suddenly thought I was populiar after reading this thread
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|