Quote:
Originally Posted by Sidewindr
The problem is that they then start messing with each others accounts and even admin accounts as a joke. In the past I had a hack that I modified slightly so that they could edit users but not super mods or admins. I will look into what you have suggested it might also solve the problem they have at the moment where they cannot search by e-mail.
|
here ya go
http://www.vbulletintemplates.com/mo...t=user+options
the way the hack author set it up is that all moderators/supermods/admins can do this if you want only supermods and admins instead of placing this code underneath
PHP Code:
<if condition="can_moderate()"><tr><td class="vbmenu_option"><a href="moderator.php?$session[sessionurl]do=useroptions&u=$post[userid]">Edit User $post[username]</a></td></if></tr>
Place this code underneath
PHP Code:
<if condition="($bbuserinfo[usergroupid]==5 || $bbuserinfo[usergroupid]==6)"><tr><td class="vbmenu_option"><a href="moderator.php?$session[sessionurl]do=useroptions&u=$post[userid]">Edit User $post[username]</a></td></if></tr>