| The Arcive of vBulletin Modifications Site. | |
| 
			 
			#1  
			
			
			
			
			
		 | ||||
| 
 | ||||
|  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... | 
| 
			 
			#2  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			Open up mod/user.php. Find the line: PHP Code: 
			PHP Code: 
			PHP Code: 
			 | 
| 
			 
			#3  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			If you want to do it on a "per-user" basis, try this  Open mod/user.php Find: Code: require("./global.php");
modlog(iif($userid!=0,"user id = $userid",""));Code: if (($userid=="1") && ($bbuserinfo[usergroupid]!="6")) {
echo"<p>You cannot view this profile!</p>";
exit;
} Satan | 
| 
			 
			#4  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			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.
		 | 
| 
			 
			#5  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			thanx guys   .. works well with WetWired... although i cant find this code by hellsatan.. PHP Code: 
			  | 
| 
			 
			#6  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			@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 | 
|  | 
| 
 | 
 | 
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
| 
 | |
|  More Information | |
| Template Usage: 
 Phrase Groups Available: 
 | Included Files: 
 Hooks Called: 
 |