The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
(AKA Nosey Bugger Blocker )
This is an expansion on Firefly's mod to online.php It'll allow you to individually set Admins, Super Mods, and Mods, to not show their activity in online.php, and allow you to use a default message, or enter a custom one for each group via the control panel. It might be going out under my name, but since the idea was firefly's, and he fixed my really stupid mistake, he should get most of the credit for it. All I did was kludge To Install: Place the install_stealth.php file in your admin directory, and run it. It'll set up the necessary variables in your control panel, then give you a list of changes to make to your online.php file. Once you've got it all in place, go to Admin Control Panel -> vBulletin Options -> Who's Online and you can set the appropriate stuff up. For the text strings that show when a usergroup is stealthed, you can use the following variables in the string: $bbuserinfo[username] - Prints the name of the user viewing the online list $userinfo[username] - Prints the name of the admin/super mod/mod being stealthed You can change the default stealthed message by changing the line in the hack that reads "In The Shadows" in online.php to whatever suits you. Demo: http://www.underlight.com/VBB/online.php (when there's an admin or Super Mod online) Kathi Show Your Support
|
Comments |
#2
|
||||
|
||||
Great little addition. Only one minor problem is the installer is missing a few line breaks cause some of the lines to add come out as
case 'admin': if($WOLadstr) { $userinfo[where] = $WOLadstr; } else { $userinfo[where] = "No peeking"; } break; case 'smod': if($WOLsmodstr) { $userinfo[where] = $WOLsmodstr; } else { $userinfo[where] = "No peeking"; } break; case 'mod': if($WOLmodstr) { $userinfo[where] = $WOLmodstr; } else { $userinfo[where] = "No Peeking"; } break; where they should be: case 'admin': if($WOLadstr) { $userinfo[where] = $WOLadstr; } else { $userinfo[where] = "No peeking"; } break; case 'smod': if($WOLsmodstr) { $userinfo[where] = $WOLsmodstr; } else { $userinfo[where] = "No peeking"; } break; case 'mod': if($WOLmodstr) { $userinfo[where] = $WOLmodstr; } else { $userinfo[where] = "No Peeking"; } break; |
#3
|
|||
|
|||
This is almost what I suggested...
Would you be able to make it so you can do it on a per-user basis? |
#4
|
|||
|
|||
I always manage to forget -something-
Thanks, fixed the installer. Kathi Quote:
|
#5
|
|||
|
|||
Looks like this hack has no effect when firefly's mini hack "ah ha peeking..." is installed, because this it what it is showing for admin...
|
#6
|
|||
|
|||
It works for every other admin and mods, but one: the one who is defined in firefly's mini hack (great hack btw but you'll never find it unless you are nice to him ).
Thanks for yours. |
#7
|
||||
|
||||
top hack
i have a problem though (just a tiny one) i made the relevant changes to my online.php but then the page didnt work. I think i had a space where i shouldnt. so i decided to start from scratch and make the changes again. to do this i had to install the hack again. Obviously though this has added the hack twice and i now have two of everything in my options menu. on top of this, you cant niew where a guest is now how would i fix this?? |
#8
|
|||
|
|||
Paste this code into a file in your admin directory, then run it, it should clear the extra fields for you. Then run step 1 of the install_stealth.php file to re-add the extra fields.
PHP Code:
Kathi |
#9
|
||||
|
||||
hey moonwolf
thanks for helping me out when i run the file i get this error PHP Code:
|
#10
|
|||
|
|||
Fixed, my mistake with the syntax, re-do the snippet I posted above, I've edited it to fix my mistake.
On this one I plead too many meds after a long night of ER hopping Kathi Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|