![]() |
Yes, you just make the two changes to functions.php. Although it doesn't specifically say to 'save' and 'reupload', I thought those steps were pretty obvious. Hence, that's what I did. ;)
|
Would there possibly be a way of doing this, but instead of having to quote the person it actually replaced the variable in the user's post to whomever was viewing the thread?
|
Nope...we've followed the steps (and tried the ==bbusername== opion) on vB 2.2.5, and no luck. Nothing comes up where the username is meant to.
|
Im using v2.2.4 now its not working anymore:(
I have also used the fix from smachol... |
Quote:
http://www.optiboard.com/forums/show...&threadid=4330 |
But is there any way to integrate it with the sessionhash cookies so that it displays the username in the post according to the cookie on your computer? This hack could really be much more fun if it actually didn't require quoting to use.
|
What do you mean? This hack doesn't require any quoting. :confused:
|
All you need to do is make the two changes in functions.php that FireFly posted in the first message in this thread. Then to use the hack, just use {bbusername} in a post.
If that doesn't work for you then I have no idea what to tell you. This ain't that complicated. |
Do you need to set replacements or something? It's not working for me.....
|
Hmm.... I installed it and it disabled the vBMicrostats.... It also still didn't work though and I uninstalled. Are you sure there's no more than those two steps...? No replacements or anything?
|
Yes I'm absolutely sure. I did exactly as I said and it worked. It sounds like another hack of yours is causing the problem. I don't have any other hacks so that may be the difference.
|
|
Ah ha, I found it. Ok, here it is:
PHP Code:
|
Replace this:
Code:
$findwords=array(0 => '{bbusername}'); Code:
$findwords = array( |
Nice response time, man! That area of the code now looks like this:
PHP Code:
Btw, I also had to get rid of one of the $'s before microstats.... |
Make sure $bbuserinfo is still in the global line in dovars().
|
Thanks!! You are a bloody genius! Works now! W000000t! :D
|
Waait a second. It only works in the title, not in the post itself.... It doesn't show up in the post, but if you click Edit then it has the username inserted there.... But it still doesn't work in the post.
|
See the thread by smachol in this forum "Fix replacement" thing.
|
would it be possible to make it work in certain forums for example forumid 57 and 58?
|
LOL :D
|
Quote:
i tried this, but now the joke works only for admins, they see their username instead of {bbusername }. all other users now see the variable instead of their usernames? is there a possibility to limit the posting of replacements only to special usergroups? LaNder |
For some reason i couldnt fin the first line in the txt file in my functions.php ?
im using 2.24 and i think thats why, would it be possible to update this hack? thanks |
Its not working by me...
I am on 2.2.5... I did remove the line according to Smachol... and I did try the =bbusername= in functions.php and when posting. I do not get the unsername displayed... just {bbusername} Is it to send an email too? |
ok, I added this and it works ok except for one thing, when I add the {bbusername} to the subject it works, but in the actual post it doesnt work.
Help Please |
Have you installed the "Fix" from smachol?
|
call me dumb of whatever, but I can seem to find smachol's fix,
Anyone got the Direct URL to it? |
found it
|
I tried to install this but I have the midrostats hack installed so I couldn't find the code I needed to change like it is in the text file. Also, what is the $fullpm part of the code it needs to replace? That wasn't in there at all. Does anyone know how I can do this with microstats installed on 2.2.5? :)
Code:
global $DB_site,$replacementsetid,$gzipoutput,$gziplevel,$newpmmsg,$fullpm; |
Did anyone fix this so only an admin can have the ability to post using it but everyone can view it?
|
Anyone?
|
can we fix this hack for vb 2.2.6? This hack is one of the best hacks and i need it again!
|
Just install the hack and don't tell your users you have it. If they don't know the variable you are using, they can't use it. :)
Quote:
|
What part of it doesn't work, Vivi?
|
well it's not working on these forums currently, so there must be something wrong with it being integrated into 2.2.6. if u use {bbusername} it's just displays that, and not the username.
|
It doesn't work on these forums because FireFly uninstalled the hack. it does work on my 2.2.6 forum. Here it is in action as part of my April Fool's joke on my members:
http://www.optiboard.com/forums/show...&threadid=4330 If you read through this thread you would have noticed that you may need to apply this hack as well: https://vborg.vbsupport.ru/showthrea...ht=replacement |
I'm having an interesting problem with this hack on my 2.2.6 installation. This hack will work in the subject line, but not the body of the message. This worked just fine in my previous 2.2.2 installation.
Any ideas? |
I can't say I have the same problem. It's works fine on my 2.2.6 forum. Did you apply the second hack I listed in my previous message?
|
:nervous:
That did the trick! Thanks! |
Just installed the =bbusername= variation to this hack.
(Heaven help us.) :banana: |
All times are GMT. The time now is 10:54 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|