![]() |
There was another version around on the board but it had problems with moderators who had access to moderate a forum through inheritance, ie they were moderator of a category. This code is in no way based on the other version, but no doubt will be similar as there isn't really much of a difference you can make.
This is just really an alternative to letting mods ban people from the whole forum, they can simply ban from a single forum. Once you have done what it says in the instructions when you add a moderator you will have permission to say if they can edit forum access masks for that particular forum. Remember if they are mod of a category and the edit acccess masks option is enabled then all the forums in this category moderated by the user through inheritance have the ability. Supermods and Admins can edit all access masks via the mod control panel. This has been tested on vb 2.0.1, 2.0.2 and 2.0.3 they all work also tested on vb 2.2.0 and 2.2.1 these also work. I had a small error in the permissions checking for the updateaccess which i just noticed and corrected, so if you have installed this before November 21st it may be advisable to update the /mod/user.php part which involves the updateaccess part. Not that your mods would want to change access masks for forums they don't mod :) |
hey ... this hack is great!
i think it works with 2.2.0 as well :) i just installed it. |
Just installed it on 2.2.0 and it works great
There is a slight change in mod/index.php Quote:
Change PHP Code:
PHP Code:
|
Whoops i updated the top message and forgot to update the file.
Your right thats the only change from 2.0.x to 2.2.x |
OMG!!! Thank you thank you thank you!! I love you!! :D
|
i love me to :cool:
i'm glad its working for everyone on vb 2.0.x and 2.2.x. |
My stupidity! Sorry! :P
|
I am getting this error
[QUOTE] Database error in vBulletin Control Panel 2.2.0: Invalid SQL: SELECT username FROM user WHERE userid= mysql error: You have an error in your SQL syntax near '' at line 1 mysql error number: 1064 Date: Wednesday 07th of November 2001 06:26:21 AM Script: http://www.christian-forum.com/admin...moderatorid=13 Referer: http://www.christian-forum.com/admin...?action=modify |
the edit moderator part of /admin/forum.php should look like this
PHP Code:
|
Sorry for stupid question, I installed it, had no problem, but where is the access mask control panel for mod? I logged in as mod, but couldn't find where, and I did turn access list ON in the control panel option.
|
All times are GMT. The time now is 08:10 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:
|