![]() |
Hide Admin Profiles From Mods & supermods
Does anyone can help me on how i can hide my admins profiles from the mods and supermods so the admins can have their
own privacy :) ? So when a mods or supermods login through the mods control panels they cant view the admins profiles? Sorry i have search the entire web, cant find the hacks.. would anyone please help me? ??? 10Q... |
Open up mod/user.php.
Find the line: PHP Code:
PHP Code:
PHP Code:
|
If you want to do it on a "per-user" basis, try this:)
Open mod/user.php Find: Code:
require("./global.php"); Code:
if (($userid=="1") && ($bbuserinfo[usergroupid]!="6")) { Satan |
Why add the check for if it's an admin? Admins use admin/user.php, mods use mod/user.php . That's why my code just says if the user who's profile you're trying to view is an admin, give an error message.
|
thanx guys :).. works well with WetWired... although i cant find
this code by hellsatan.. PHP Code:
|
@Wet Wired - My code is on a per-user basis;)
Besides...What I posted has 2 advantages;) a.) It can be used in the admin/user.php file, by just changing: Code:
$bbuserinfo[usergroupdid]!="6" Code:
$bbuserinfo[userid]!="x" Code:
or $bbuserinfo[userid]!="x" b.) I sometimes browse the users with the mod/user.php file;) @LOTR - Ah;) Just put it below: Code:
require("./global.php"); Satan |
All times are GMT. The time now is 08:04 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:
|