Quote:
Originally Posted by Alfa1
In your screenshot you have the edit user function for admins. Please add this code.
Please make this into a product or plugin.
|
Code:
<if condition="($bbuserinfo[usergroupid]==9 || $bbuserinfo[usergroupid]==6 || $bbuserinfo[usergroupid]==5)">
<tr><td class="vbmenu_option"><span onmouseover="this.style.cursor='hand';" onClick="window.open('modcp/banning.php?do=banuser&userid=$post[userid]','ban','width=500,height=375,scrollbars=yes')"><a>Ban/Moderate $post[username]</a></span></td></tr>
<tr><td class="vbmenu_option"><a href="moderator.php?do=useroptions&u=$post[userid]">Edit $post[username]</a></td></tr>
</if>
Change usergroups as needed
Works fine on 3.7 RC1 using the above code stuck in both postbit_legacy and postbit :^)