The Arcive of vBulletin Modifications Site. |
|
Restrict Modification of Main Options to Head Administrator 1.01 Details »»
|
|||||||||||||||||||||||||||
|
Restrict Modification of Main Options to Head Administrator 1.01
Developer Last Online: Jul 2019
-------------------------------------------------------------------------
Only head admin can modify main options in the adminCP hack by N9ne, on Feb 17 2003, Copyright 2003. ------------------------------------------------------------------------- ------------------------------------------------------------------------- For: 2.2.x and 2.3.x ------------------------------------------------------------------------- I believe the hack's name is quite descriptive and self explanatory. Just a simple hack, requested by TheMayhem. Just thought i'd post it here incase anyone else is worried what other admins might do while editing the options page (can do a lot of damage there!). Open attached file in a text editor for instructions. Hack updated [March 17th 2003] - Now with cleaner coding. Should work for all. Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
works for me fine with the original hack on 2.2.8
thnx for it I needed it ... Install
|
|
#3
|
|||
|
|||
|
Nice idea N9ne; you seem to be bringing a lot of new ideas out lately.
[high]* Davey installs. [/high] Keep up with the good ideas .Dave. |
|
#4
|
||||
|
||||
|
I've made this hack already - however, my version blocks all other Admins from accessing any of the vB Options EXCEPT Ban Email Domains and Ban IP.
I want other admins to be able to do that, but nothing else. It's here: https://vborg.vbsupport.ru/showthrea...threadid=43475 P.S. I hope you don't mind me posting this in your thread. Just wanted you to know that I've made it.
|
|
#5
|
|||
|
|||
|
Oh, I didn't know it'd been made before, oh well, I guess they're slightly different anyway, you allow them access to a certain part
.
|
|
#6
|
|||
|
|||
|
Whoo N9ne You're making lots of hacks great
|
|
#7
|
||||
|
||||
|
Funny... When I add this hack, all admins are banned including me the head admin!
if (!$userinfo[userid]==1) { echo "You cannot access this page."; exit; } I am head admin user id #1 |
|
#8
|
||||
|
||||
|
frankenberrie, try replacing it with this:
Code:
if (!$bbuserinfo[userid]==1) {
echo "You cannot access this page.";
exit;
}
|
|
#9
|
|||
|
|||
|
Oh,the two are can't use by me.
When I change like N9ne say,the VBB ban all admins,include the userid=1. And I use Martin64 's changes,they havn't ban any of the admins. Please help me
|
|
#10
|
|||
|
|||
|
BTW: I am using VBB 2.3.0
And I find the problem ![]() Change like this,then OK in the 2.3.0 if ($bbuserinfo['userid']!=1) { echo "You cannot access this page."; exit; } |
![]() |
|
|