Helpful Information
 
 
Category: vBulletin 3.8 Template Modifications
Mini Mods - [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:
<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:
<!-- 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! ;)

*reserved*

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..

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. :)

Cool thanks will look for it..

Good work, thank you!......

Thanks a lot, i'll test it later... :D

Good work, thank you!......

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. :)

Nothing yet??

cool..installed!!!

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. :)



Where is the code??

CMS VBA not work

CMS VBA not work

Same here sadly.

Would have been a great addition.

D.

Sweet, installed and working perfectly thanks.










privacy (GDPR)