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 |
#62
|
|||
|
|||
FireFly its my "you have a full pm box please empty me" hack to pester people with full pm boxes to remove some. So the $fullpm is from that.
|
#63
|
|||
|
|||
Will it work on 2.0.3 forum?
Thanks, Daniel. |
#64
|
|||
|
|||
One of our forum guides says... "I think you could have more fun if you had a random generator version!! That could really confuse people!!"
|
#65
|
|||
|
|||
bwhaha great! I've posted my joke thread .
But I do actually have a serious use for this. For putting the forum name inside a post. (As I use cobranding on my forums) The info I need is contained within the $bbuserinfo array. How can I alter the code so that it supports two replacements? |
#66
|
||||
|
||||
I assume if you aren't using .php3 (and you are using the default .php ext.) then that is the right version?
I've looked around a bit and I still can't see why it's not coming up right. I don't have any errors, just no cool hack. *lol* Counts steps - Make two changes to functions.php & Upload. Is that it? Unless it has something to do with the fullpm hack, which I don't have, so I removed that bit of text from the coding. Would that effect it? |
#67
|
||||
|
||||
Anyone have a suggestion? I've edited the two places in my functions.php, uploaded, and tried it out. I see the actual string { bbusername } (without spaces, of course). I logged in as a regular member to see if it was my status, but the same thing. :s
|
#68
|
||||
|
||||
Quote:
|
#69
|
||||
|
||||
$bbuserinfo[username], SWFans.net.
|
#70
|
||||
|
||||
this could become a bit of fun
|
#71
|
||||
|
||||
I installed the hack on the board but the problem is it seems to muckup the postbit template. The user title on any posts I use it in comes out as "-" and it goes to display the away image instead of my edited online/offline postbit templates. The rest looks the same.
Any idea what causes this? |
#72
|
|||
|
|||
Um..I'm confused. What exactly does this do...?
|
#73
|
|||
|
|||
I have found it does not work with the new security refinements in vb 2.2.x But was able to come up with a easy workaround.
Modify this : PHP Code:
PHP Code:
hope this helps :classic: |
#74
|
|||
|
|||
hey i did this..
the {bbusername} works in the thread title but not in the actual thread.. any ideas why? |
#75
|
||||
|
||||
Install the fix by smachol in the sticky thread in this forum.
|
#76
|
|||
|
|||
will this work with 2.2.4 ???
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|