Hey... I've been trying to make an addon so my admincp is a little more secure (I want to let my supermods use it), so I've been trying to locate where the Usergroup Options thing is when you go to edit a user. I want to disable the Primary Usergroup dropdown so they can't change themselves / anybody else's usergroup.
Anyway, if you could help me out that would be great thanks. I tried commenting out the entire
PHP Code:
// USERGROUP SECTION
area, but this line:
PHP Code:
print_chooser_row($vbphrase['primary_usergroup'], 'user[usergroupid]', 'usergroup', $user['usergroupid']);
causes a php error. That's why I need to set the primary usergroup dropdown as disabled