"User Options" Link In Postbit

Daz

New Member
This modification allows Moderators/Administrators to see a link to the "User Options" in the postbit/postbit_legacy. This link is visible in the username drop down menu.

With this installed, you can directly edit the user options by clicking the link in the postbit. (See screenshot).

INSTALLATION

In your postbit / postbit_legacy template:

FIND:

PHP:
<if condition="$show['profile']">
		<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
	</if>


AFTER, ADD:

PHP:
<if condition="can_moderate()">
		<tr><td class="vbmenu_option"><a href="moderator.php?$session[sessionurl]do=useroptions&u=$post[userid]">User Options</a></td></tr>
	</if>

screenshot.jpg
 
Top