![]() |
Mods can add/remove users
Mods can add/remove users
(by Martin64, martin64@vbhackers.com) ABOUT: A hack that's useful if you want your mods to be able to add and remove users. Your mods will not be able to create admins or mods (we don't want them to create admins so they can take over, do we? :p). They are only able to remove users from the registered group. WHAT IT DOES: - Mods are able to create users other than admins and mods through the Mod CP. - Mods are able to delete registered users through the Mod CP. - Select which mods are allowed to add/remove users from Admin CP (Edit Moderator) Hack requested by mauce in the following thread: https://vborg.vbsupport.ru/showthrea...threadid=47541 |
can u do it so that only user id x, y & Z can create users ?
sorry my english is very bad ! THX for coding ! regards kalle |
this seems ok, but then wouldn't that just create spammed/dupe members? i might try this one, but if i get too many new members that i don't want i am gonna get rid of it
|
As requested by kalle, you are now able to select which moderators that are allowed to add/remove users. :)
|
Great work, I'll check it out.
Many thanks!!! |
No problem, I hope it'll work like you want it to. :)
|
Thank m8, the hack works fine......
.... however :) I used this in combination with Xenon's mods_can_edit_user-hack. Now I face the following problem: When a mod adds a user the usergroup will be "(COPPA) Users Awaiting Moderation", but I like to define a personal defined usergroupid (of course no admin). In this case (wich is always the case), a moderator still has to go to the admin to change the usergroup of the new user. I also tried to make the usergroupid of "(COPPA) Users Awaiting Moderation" 'moderatable' in Xenon's hack, but that didn't work (dunno why). So the solution what I'm thinking of is a definable usergroupid for users that are added by a moderator. What should I change to make this working? Thanks in advance (again!). |
Unless I am mistaken, this hack for the modifications to mod/user.php does not have a check for the usergroupid in the query you are running when you add a user:bored:
Satan |
Great hack!
I have some requests to it though: 1. In the mod/smod usergroup list, a link should be displayed to view what users the mod/smod added and removed. 2. Mod/SMods can add users in differnt usergroups, except Mod/SMod/Admin. Like a new usergroup called added by mods... Other than that, it is a very good hack! |
Quote:
Please forgive me for the mistake, I made this at 2am in the morning and as a request. :P EDIT: New instructions attached. |
All times are GMT. The time now is 10:06 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:
|