The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
a hack that might be cool if you have multi-admins
I have 3 admins (not counting me) for my board wanted to know if anyone can make a hack that only userid 1 (me) has access to to set up what the admins can access in the admin cp...for ex. a new link in the admin cp that says "Set up admin access restrictions" and only I have access to it to set it up so that they can't go into some stuff, like editing Templates and/or editing users information so only I (userid 1) has access to do it and not the other admins...
hope you understand |
#2
|
|||
|
|||
i would also love to be able to do this, access masks on detailed acp access would be great
|
#3
|
||||
|
||||
This is why you have Super Moderators in your board. If you dont want your admins to access "admin only" features, simply change their group to "Super Moderator". So they will be able to do any Moderator actions in any forum while they cant modify admin only options in Admin CP.
Anyway if you dont like the idea, this is the code you should insert to any relevant part in your vbulletin code that you dont want their access: -- cut -- if ($bbuserinfo['userid']!=1) {show_nopermission(); exit} -- cut -- Insert this code before the part that you dont want their access to any script. Enjoy.. Logician |
#4
|
||||
|
||||
I tryed using that code and it just give me parse errors
can anyone make that hack I said in the first post?? |
#5
|
|||
|
|||
how can i use that on a non vb page?
|
#6
|
||||
|
||||
Quote:
Try again: -- cut -- if ($bbuserinfo['userid']!=1) {show_nopermission(); exit; } -- cut -- |
#7
|
||||
|
||||
Quote:
However if what you need is to apply vbulletin permissions to non-vb pages, you can use my WebTemplates hack. That's exactly what it does (and more): https://vborg.vbsupport.ru/showthrea...threadid=36419 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|