The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I have several extra hacks installed such as the Arcade, CMPS, Uttstore, etc. Now I was wondering how do I hide these from other admins, I only want the power to modify these, but its not in the Admin Permissions section?
I tried using this code but it doesnt display anything for any user any idea? The Userid of the other admin I want to not see these is 2, this is my Warning system Im trying to hide you see how ive tried to put it in what did I do wrong? Code:
$printhr = true ;
if ($bbuserinfo['2'] == '')
{
} else {
construct_nav_option ( 'Control Warnings', 'admin_warn.php?act=view', '<br />' ) ;
construct_nav_option ( 'Warning Logs', 'admin_warn.php?act=viewlogs', '<br />' ) ;
construct_nav_option ( 'Unban Banned Users', 'admin_warn.php?act=run_unban', '<br
/>' ) ;
construct_nav_group ( 'Warning Options', '<hr />' ) ;
}
|
|
#2
|
||||
|
||||
|
Error is in the IF statement.
Try something along these lines. PHP Code:
PHP Code:
|
|
#3
|
|||
|
|||
|
How would I do it if I wanted to do more then two users?
|
|
#4
|
||||
|
||||
|
Oh, you only have to add
PHP Code:
Like: PHP Code:
|
|
#5
|
|||
|
|||
|
No they arent experts with it, and they dont have FTP access so they wont ever know the script is there thanks for your help!
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|