MobileHacks
New Member
Style Chooser in Navbar
I seen some members asking about a mod to do this simple task, so here's how. It should work on most styles that use the default vBulletin navbar coding, and requires only one template edit.
Navigate to the following template:
AdminCP -> Styles & Templates -> Default Style -> Edit Templates -> Navigation / Breadcrumb Templates > navbar
Find:
Before Add:
End of template edit.
Save template and you're finished!
I seen some members asking about a mod to do this simple task, so here's how. It should work on most styles that use the default vBulletin navbar coding, and requires only one template edit.
Navigate to the following template:
AdminCP -> Styles & Templates -> Default Style -> Edit Templates -> Navigation / Breadcrumb Templates > navbar
Find:
PHP:
<if condition="$show['member']">
<td class="alt2" nowrap="nowrap">
<div class="smallfont">
<strong><phrase 1="$bbuserinfo[username]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong><br />
PHP:
<!-- Style Chooser -->
<td class="alt2">
<div align="right">
<if condition="$show['quickchooser']">
<select name="styleid" onChange="switch_id(this, 'style')">
<optgroup label="$vbphrase[quick_style_chooser]">
$quickchooserbits
</optgroup>
</select>
</if>
</div>
</td>
<!-- End Style Chooser -->
Save template and you're finished!