View Full Version : Remove Drop-Down Men? in Postbit?
twista46
11-13-2013, 06:05 PM
Hello
How can I remove the drop down menu in the Postbit, the user name should be only as a link
tbworld
11-14-2013, 05:13 PM
Hello
How can I remove the drop down menu in the Postbit, the user name should be only as a link
This will disable the memberaction dropdown in postbit_legacy
but retain the link to user profile, and the online status for
the user. Create the plugin and alter the template "postbit_legacy"
Create the following plugin.
//Product: vBulletin
//Hook: Postbit_display_complete
//Title: Disable_member_dropdown_on_legacy_postbit
//ExOrder: 5
if(THIS_SCRIPT == 'showthread')
{
$memberinfo = &$post;
vB_Template::preRegister('postbit_legacy',array('m emberinfo' => $memberinfo));
}Template: postbit_legacy
Search:
{vb:raw memberaction_dropdown}Replace:
<vb:comment>{vb:raw memberaction_dropdown}</vb:comment>
<a class="username {vb:raw memberinfo.online}"
href="{vb:link member, {vb:raw memberinfo}}"
title="{vb:rawphrase {vb:raw memberinfo['onlinestatusphrase']}, {vb:raw memberinfo.username}}">
<strong><vb:if condition="$memberinfo['musername']">{vb:raw memberinfo.musername}<vb:else />{vb:raw memberinfo.username}</vb:if></strong></a>
I hope this helps :)
twista46
11-14-2013, 07:04 PM
Thanks work great :D:D
tbworld
11-15-2013, 01:47 AM
Thanks work great :D:D
Your welcome. :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.