The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Allow Limited Usergroup Changes Through ModCP Details »» | |||||||||||||||||||||||||||
Allow Limited Usergroup Changes Through ModCP
Developer Last Online: May 2012
09 July 2005 UPDATE: Changegroup.php reworked for security
Thanks to boy genius KirbyDE 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. Supporters / CoAuthors Show Your Support
|
Comments |
#52
|
||||
|
||||
Christine are you sure that you have added the updated Changegroup.php to the zip? Any user with access to the ModCP is still able to change usergroup levels like so:
modcp/changegroup.php?do=changeuser&u=*usernumberhere* |
#53
|
||||
|
||||
Hmmm, all Files in the ZIP are dated 2004, and cahngegroup.php doesn't seem to be the current Version, at least it differs from the File I have.
|
#54
|
||||
|
||||
Dark_Konoko,
It didn't overwrite the zip. Likely a problem between the seat and the keyboard. It is there now -- please verify that this is working for you. Thanks! |
#55
|
||||
|
||||
Confirmed. Works great now Thank you to both you and KirbyDE.
|
#56
|
||||
|
||||
All credit to KirbyDE for figuring this out.
I am just responsible for PEBSAK (problem exists between seat and keyboard) upload errors. Thank you muchly for catching this so quickly. |
#57
|
||||
|
||||
Apologies for missing earlier questions -- I have updated my subscription on this thread for email notification. :redface:
@Watson You give mod access by editing the mods rights -- Smods and Admins have by default @mustang_lex That is up to you. The hack allows you to choose via usergroup permissions which groups can be changed and which can't. |
#58
|
|||
|
|||
Christine
your say to search for; PHP Code:
PHP Code:
also, where do i find the screen you posted that shows the users permissions? https://vborg.vbsupport.ru/attachmen...chmentid=17010 Found it, but the words are blank, must have something to do with the code above being a bit different Code:
Can Restore Banned Users Yes No Yes No Can Edit User Signatures Yes No [UPDATE] FIXED- only problem I have is that it moves them from one group to another- any way to make it add them to groups instead of removing them from group- Hench the name group moderator I need my group moderators to be able to add people / take people away from groups, just not shuffle from one group to another- Other then that- nice mod. |
#59
|
||||
|
||||
Hi Acedeal,
The difference was in the addition of a span class for a font declaration. Do you have this working as you need it to for your team? |
#60
|
|||
|
|||
Thanks Christine.
It's working as intended. (looking at code to see how to make it Add users, instead of moving them to a new group) Nice mod |
#61
|
|||
|
|||
My super mods can't edit user groups but they can do everything else i've selected them to be able to....like sigs, avatars etc....
They get the no permission message even though they should be allowed given they are super mods.... Error is: "You can't change user groups for users who are not considered normal, registered users" No SQL errors at all...I have no idea what if anything I might have done to make it ALMOST work 100%....help please |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|