Back to vBulletin 3.8 Template Modifications

[AG] Style Chooser in Navbar
Mod Version: 1.00, by syrus.xl

vB Version: 3.8.1 Rating: (1 vote - 5.00 average) Installs: 18
Released: 19 Mar 2009 Last Update: 19 Mar 2009 Downloads: 75
Not Supported Template Edits Re-usable Code Translations  

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 />
Before Add:
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 -->
End of template edit.

Save template and you're finished!

Download

File Type: %1$s Style Selector in Navbar.txt (1.3 KB, 77 downloads)

Screenshots

Click image for larger version
Name:	stylechooser.jpg
Views:	1090
Size:	31.1 KB
ID:	96713  

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

vblts.ru supports vBulletin®, 2022-2024