[AG] Style Chooser in Navbar
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: Code:
<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 /> Code:
<!-- 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! Download
Style Selector in Navbar.txt (1.3 KB, 77 downloads) Screenshots |
Similar Mods
Nonselectable style on Quick Style Chooser for admin | vBulletin 3.0 Full Releases |
Create Style Groups for Style Chooser | vBulletin 3.0 Full Releases |