The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Change Place of Quick Language Chooser in vbulletin
Hello
I Add This Codes From Footer File To Navbar file for show Quick Language Chooser in vbulletin navbar: <form action="{vb:raw vboptions.forumhome}.php" method="get" id="footer_select" class="footer_select"> <vb:if condition="$show['languagechooser']"> <select name="langid" onchange="switch_id(this, 'lang')"> <optgroup label="{vb:rawphrase quick_language_chooser}"> {vb:raw languagechooserbits} </optgroup> </select> </vb:if> </form> But Now Language Chooser is empty In Top in navbar file just it is showing in footer correctly Please see: http://pcmbrokers.com/forum/ |
#2
|
|||
|
|||
I suspect that you need to register the languagechooserbits variable for the navbar template (I presume when you say file that you mean template).
To do this create a plugin (use something like parse_templates for the hook location) and then put something like the following into the code. PHP Code:
|
#3
|
|||
|
|||
Hello
It Worked Correctly Thanks So Much |
#4
|
||||
|
||||
is there a way to make the language chooser with flags not a drop down menu?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|