![]() |
Allow Limited Usergroup Changes Through ModCP
09 July 2005 UPDATE: Changegroup.php reworked for security
Thanks to boy genius KirbyDE :D this file has been reworked to secure that users who aren't already in your selected groups cannot be changed by your mods (with a check on attempted overrides). To update, simply upload the new changegroup.php file in the zip to your /modcp/ directory. No other changes/modifications need to be made. Please post if there are any problems! ###################################### 08 May 2004 UPDATE: Modified file for error reported in post #16 Please download the new file and replace the old one with it. Post if there are any problems! ###################################### Hi all! Here is the deal with this hack. We have usergroups set up with various permissions, mostly based on limiting their functions if they abuse their rights as a member (limiting them from certain forums, putting them under moderation, etc...). Our mods need to be able to move our members into (and out of) these restricted groups rather than banning them, but at the same time, they should not be able to move members into (or out of) the mod, admin, waiting for confirmation groups, etc... NOTE: Banned Groups are NOT touched in this hack -- this is for all groups OTHER than those addressed by the banning function as I wanted to keep that seperate! What this hack does:
Phrases to add: 5 PHP file edits:
Enjoy, and as always, if anyone has any constructive feedback, or needs any help, post away. :) |
And here are the ModCP screen shots -- this is what the Mod will see when they go to edit the users' usergroups:
|
Nice idea for a hack! :)
Satan |
Thanks! :)
Our team LOVES this. I wrote it back for 2.0.6 but never released it through the upgrades because it was really messy -- I was lazy and hardcoded the usergroupids directly into the php file. Heh. :confused: |
Christine
by change from Group come an error /modcp/changing.php ???? thx L. |
Hi Limitter,
I put the test php file in the zip by mistake. Thank you for finding that!! I have reuploaded it -- please let me know if you have any problems! |
Nice idea Christine :), thanks you :)
|
Yes Christine,
thx for your Support and Thx for the Hack my team is Happy :) *install* Limitter |
From 'mods change usergroups.txt'
Quote:
PHP Code:
Great hack BTW! |
Thanks for the wonderful hack!
|
All times are GMT. The time now is 09:05 PM. |
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:
|