Helpful Information
 
 
Category: vBulletin 4 Articles
Missing Style Chooser In vB4 Styles

I have seen quite a few styles that is missing the Style Chooser in the footer. This is due to the fact that the developer did not upgrade the style properly.

So if you are getting a footer that looks something like this:

https://www.vbulletin.org/forum/external/2013/09/69.png (http://s96.photobucket.com/user/ozzy47/media/footer1.png.html)

You will need to edit the footer template of the style.

ACP --> Styles & Templates --> choose your style and select Edit Templates

Then scroll down in the list till you find the template named, footer. Double click on that then search for this bit of code:

<vb:if condition="$show['quickchooser']">
<select name="styleid" onchange="switch_id(this, 'style')">
<optgroup label="{vb:rawphrase quick_style_chooser}">
{vb:raw quickchooserbits}
</optgroup>
</select>
</vb:if>It may be a bit different but you should get the idea.

Replace that with the following code:

<vb:if condition="$show['quickchooser']">
<select name="styleid" onchange="switch_id(this, 'style')">
<optgroup label="{vb:rawphrase quick_style_chooser}"><option class="hidden"></option></optgroup>
<vb:if condition="$quickchooserbits1">
<vb:if condition="$quickchooserbits2">
<optgroup label="&nbsp;{vb:rawphrase standard_styles}">
</vb:if>
{vb:raw quickchooserbits1}
<vb:if condition="$quickchooserbits2">
</optgroup>
</vb:if>
</vb:if>
<vb:if condition="$quickchooserbits2">
<vb:if condition="$quickchooserbits1">
<optgroup label="&nbsp;{vb:rawphrase mobile_styles}">
</vb:if>
{vb:raw quickchooserbits2}
<vb:if condition="$quickchooserbits1">
</optgroup>
</vb:if>
</vb:if>
</select>
</vb:if>Which will now show your Style Chooser correctly.

https://www.vbulletin.org/forum/external/2013/09/70.png (http://s96.photobucket.com/user/ozzy47/media/footer2.png.html)

Hopefully this will help some of you out with your styles.

People with similar issues in the language chooser also should check the default template & make the changes.

I thought about adding that, but I have not come across any recent styles that did not have that showing properly, unless I was just not looking at it right., I'll check it out a bit later today and see.

--------------- Added 1378774867 at 1378774867 ---------------

I checked a few styles, I have and have not see any code difference in the language chooser. Do you have a link to a style on here that has that missing?

This is the best, thank you so much!!

See this - http://www.vbulletin.org/forum/showthread.php?t=301925

should this also be in the default mobile style or does that matter

I don't think so, as the link in the mobile style says something like Full Site, which brings you to the default style, or what ever you choose in usercp.

Had a feeling, but needed to ask so if others search then they can see










privacy (GDPR)