The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Hide Specific UserGroup from Control Panel
Isn't there some way to hide a specific UserGroupID in the CP from being selected using a mysql != statement somewhere in the admin/user.php file? I want to have UserGroupID 15 NOT available to a choice, but don't want to remove that particular group from my forum (it's used for external suspensions).
If easier, I'd be happy with if another admin were to select that usergroup to change a user to, that when they clicked "Submit" it would error out on them telling them that the UserGroup chosen is not available, to use the external script written for that usergroup. Any help greatly appreciated. |
#2
|
|||
|
|||
making this add, why having the usergroup #15 if you do not want it to be available ?!
|
#3
|
|||
|
|||
Because that usergroup #15 is actually a "Suspended" usergroup, but have a seperate script that takes care of user suspensions. I don't want the admins/mods to be able to manually choose that usergroup unless they use the proper tool to do so.
|
#4
|
||||
|
||||
So basically you want to remove the "Group Memberships" options from the view of Usergroup #15? If so, that can be done with a simple template edit
|
#5
|
|||
|
|||
Sounds about right, Basically, anything that allows an admin to change the usergroup id to 15 (other than the script), don't display usergroup 15 as an option for an admin to change the usergroup to.
|
#6
|
|||
|
|||
And BTW -- This is for vB2.3.x so it's even easier than anything I would think. I found the sql query for it to pull the usergroups, and I added usergroupid!=15 but when I do that, of course, it just loads up a blank user form if the user is in that usergroup.
|
#7
|
|||
|
|||
Ohh well - I'll live without it - Thought it'd been an easy fix, but guess not.
Thx! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|