The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hello
How can I remove the drop down menu in the Postbit, the user name should be only as a link |
|
#2
|
|||
|
|||
|
Quote:
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. Code:
//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('memberinfo' => $memberinfo));
}
Search: HTML Code:
{vb:raw memberaction_dropdown}
HTML Code:
<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>
|
| Благодарность от: | ||
| Max Taxable | ||
|
#3
|
|||
|
|||
|
Thanks work great
![]()
|
|
#4
|
|||
|
|||
|
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|