Description - Allows administrator to set permissions for selected moderators to add and optionally remove users from selected groups. Adds links to new pages for admin and mods in admin menu.
Example - None.
Pre-requisites - none
Author - Aglavalin, aka Steve Stout
Files Altered - admin/menu.php
Database Altered - Only a new table is created, thus, very removable.
New Files - admin/pickuser.php, admin/editusergroup.php, admin/doeditusergroup.php, admin/editgroupmod.php and admin/doeditgroupmod.php
Credits: I have seen this asked for several times on the ubbdev.com boards.
Notes: This is a simple hack. Group Moderators need to be in the UBBT moderator group to access the pages via admin menu, but they do not need to be a board moderator. The ability to remove a user from each group a moderator can add users to is optional. i.e A moderator can add a user to a group, but not remove anyone from that group if the admin desires. Works fine on 6.1
This seems to be working fine so far, so I'm gonna release it. It is beta, and will probably evolve some before being finished. I have added in as many security checks as I can think of, but if anyone can find any loopholes please let me know!
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.