![]() |
Quote:
Thank you very much!! :) |
Quote:
Thank you. ;) Quote:
|
Ran into a snag with the replacements that allows for the admins and mods to mouseover the code. Now, if you put [you] between another vbcode (like in the spoiler vbcode hack, it parses the code but makes it go outside the button. Like this code:
[DISABLE][SPOILER=Change this to whatever you like]And it still works. What do you think, [you]? Do you like it?[/SPOILER][/DISABLE] This part: Boofo? Do you like it?')"> is outside the spoiler tag now. It parsed the [you] ok (the Boofo part) but throws that and everything after it outside the spoiler tag button. Here is the code I am using in the functions.php: PHP Code:
|
Hi
great hack but regarding the addon of the titles the [you] code if only working for the post titles whin i create a new thread with the title [you] it doesn't show the user name ex: vb > sports > [you] any help? Quote:
|
This is only a small listing of the changes to make to catch all of the places it can pop up. I am still finding them one by one. Are you referring to the navbar?
Here are the ones for the forumdisplay: -------------------- In forumdisplay.php, find: -------------------- eval("\$forumdisplaybits .= \"".gettemplate('forumdisplaybit')."\";"); -------------------- ABOVE it add: -------------------- if ($bbuserinfo[userid]>0) { $thread[title] = preg_replace("/(\[)(you)(])/siU", $bbuserinfo[username], $thread[title]); $thread[description] = preg_replace("/(\[)(you)(])/siU", $bbuserinfo[username], $thread[description]); } else { $thread[title] = preg_replace("/(\[)(you)(])/siU", "you", $thread[title]); $thread[description] = preg_replace("/(\[)(you)(])/siU", "you", $thread[description]); } -------------------- Still in forumdisplay.php, find: -------------------- eval("\$forumbits .= \"".gettemplate("forumdisplay_forumbit_level$depth $tempext")."\";"); -------------------- ABOVE it add: -------------------- if ($bbuserinfo[userid]>0) { $forum[title] = preg_replace("/(\[)(you)(])/siU", $bbuserinfo[username], $forum[title]); $forum[description] = preg_replace("/(\[)(you)(])/siU", $bbuserinfo[username], $forum[description]); } else { $forum[title] = preg_replace("/(\[)(you)(])/siU", "you", $forum[title]); $forum[description] = preg_replace("/(\[)(you)(])/siU", "you", $forum[description]); } -------------------- Still in forumdisplay.php (for the <title>), find: -------------------- eval("dooutput(\"".gettemplate('forumdisplay')."\" );"); -------------------- ABOVE it add: -------------------- if ($bbuserinfo[userid]>0) { $foruminfo[title] = preg_replace("/(\[)(you)(])/siU", $bbuserinfo[username], $foruminfo[title]); } else { $foruminfo[title] = preg_replace("/(\[)(you)(])/siU", "you", $foruminfo[title]); }[/QUOTE] |
hi boofo
i mean the navbar which shows above the posts in showthrad.php |
Sheeeeeesh ... this thread is getting hard to read ... are all these extras from page 2 onwards being added back into the original hack txt file? Or do I have to install the hack and then trawl through a kazillion pages of extras?
Davie |
Quote:
Quote:
|
Thanks Boofo
i did that but it only shows the user name in titles on forumsdisplay.php but inside the thread the navbar or the title of the first post shows the code [you] !! |
dnd, this you do this yet?
Quote:
|
yes :( i did that
|
Let me check my code over as soon as I finish this hack I am working on. I will have it finished tonight or tomorrow and then I will find the piece of code you need. It works on mine but I've done so many changes, I don't remember off the top of my head where that one is parsed at. I'll find it and get it to you. ;)
|
Great hack. Very very funny. My board is now in chaos...
|
Quote:
|
hey boofo can u give me the the file for every edit?
l8er sonic |
Hey Boofo!:)
This hack: Is someone going to add all the extras into a file for it? Plus all the other ones I am sure people have made...:) Cheers;) Satan |
Alot of where you have to add the code is what hacks you have installed. I am still finding small areas that I have missed. I can put together what I have so far, but it will still need tweaking according to what hacks you have installed.
|
How would you restrict this so that it can only be used in a certain forum?
Btw, this is a great hack, v.funny :) Thanks |
Also, how about if i registered a new user and called it [you].
How could i make it so anyone viewing posts by that user would appear they made the post? |
@Tenpit - I pointed this out to Boofo;)
I think he said the way to cure it was to put [disable][you][/disable] in the banned usernames list;):) Satan |
Man o Man i didn;t know such a little hack could cause so much trouble. In one day my site is in a uproar for this. I had to remove it LOL
Awesome hack though. |
Why can't someone make a complete files a txt file and upload it. Instead of reading 5 pages on codes.
|
Hey Boofo, I think dnd means that in a thread, at the top, it doesn't display the username but instead [you], look at the picture below to see what I mean. Ignore the big title part of it
MGM out |
Quote:
Code:
For the forum navbar replacement: |
Well, you got the big title part fixed, but not the actual navigation..... see picture
MGM out |
It's in the navbar section of the functions.php somewhere. the code I gave you should work for that.
|
for such a small hack its certainly turned into a monster
does they put any server load on the site or additional queries as theres a lot of files to edit so want to know before i do. cheers |
is it possible to limit this to only admins?
the Lamers on the baord have started using it to scare the n00bs |
Quote:
|
Haha! Love it!
Thanks! |
Awesome Hack:)
[high]* jp2 installs[/high] |
Has anyone figured this out?
Thanks Quote:
|
Quote:
bei mir geht es leider auch nicht, habe alles versucht aber ohne erfolg :( ich nutze das vBulletin 2.2.9 help me |
Sorry to resurrect this hack... But is there a way to get this to work for 3.0? File names have changed, text within the new file names have changed. Where would I look to make these changes with the 3.0 set up?
|
All times are GMT. The time now is 04:19 AM. |
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:
|