PDA

View Full Version : New "memberaction_dropdown" option


Duckface
07-27-2015, 05:45 PM
Hiya,

I've added a new option to the memberaction_dropdown template with the following code:

<vb:if condition="$show['modcplink'] ">
<li class="right">
<a href="search.php?{vb:raw session.sessionurl}do=finduser&amp;userid={vb:raw memberinfo.userid}&amp;contenttype=vBForum_Post&amp;showpo sts=1" class="siteicon_banUser" rel="nofollow">
Ban User
</a>
</li>
</vb:if>

I wish for the option to move the user to a certain group id in which case the Muted group (16). I don't know which admincp link I could use?

Elite_360_
07-27-2015, 10:41 PM
Only admin will see link



<vb:if condition="$show['admincplink'] ">
<li class="right">
<a href="{vb:raw vboptions.bburl}/admincp/user.php?{vb:raw session.sessionurl}do=edit&amp;u={vb:raw memberinfo.userid} class="siteicon_edit_user " rel="nofollow">
Edit User
</a>
</li>
</vb:if>


Added this to additional.css Template


.memberaction_body.popupbody li .siteicon_edit_user {
background:url({vb:stylevar imgdir_button}/edit_40b.png) {vb:stylevar left} 2px no-repeat;
}