The Arcive of vBulletin Modifications Site. |
|
[AG] Style Chooser in Navbar Details »»
|
|||||||||||||||||||||||||||||
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 Now
Screenshots
Show Your Support
|
|||||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
*reserved*
|
|
#3
|
||||
|
||||
|
I like it and works great. How can I put an image above it like you have in your screen shot? Like the way that is layed out..
|
|
#4
|
||||
|
||||
|
I actually added that image specifically for screenshot purposes only. But it would be simple to add to the modification with a little bit of CSS.
I'll add the extra CSS code and change the DIV layout slightly, so it will show the additional text. I'm just finishing off coding another modification, so once that is done, I'll code the extra bit for this modification.
|
|
#5
|
||||
|
||||
|
Cool thanks will look for it..
|
|
#6
|
||||
|
||||
|
Good work, thank you!......
|
|
#7
|
||||
|
||||
|
|
|
#8
|
||||
|
||||
|
Quote:
|
|
#9
|
|||
|
|||
|
cool..installed!!!
|
|
#10
|
|||
|
|||
|
Quote:
Where is the code?? |
![]() |
|
|