The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Language Chooser with flags
Hello there i would love a plugin or a modification that will add the flags of the selectable languages of the gorum somewhere in the navbar or the header.
Or if someone could tell me how to add them in the header so that when someone click on the flag that flags changes tot the respective language. |
#2
|
||||
|
||||
no one interested with this?
|
#3
|
||||
|
||||
You can do this yourself... If you change languages you'll see your URL change and end in something like "?langid=3" - the number is the id number of each language you have installed.
You can make a link to your forum home (or any other page) and end the URL with ?langid=X where X is the id number... so if english is id 1 you could have an american flag with the link to http://www.yourdomain.com/forums/?langid=1 and a French flag with a like like http://www.yourdomain.com/forums/?langid=2... etc... |
#4
|
||||
|
||||
yes but how do i enter the link for the curent location of the user?
|
#5
|
||||
|
||||
You want to link to the current URL so the user comes back to the same page after they click on the flag? That's a good question. The answer seems to be here: https://vborg.vbsupport.ru/showthread.php?t=241277
Basically: HTML Code:
<a href="http://yourforum.com/{vb:raw relpath}">IMAGE HERE</a> |
#6
|
||||
|
||||
and on the link how to i make to change the language id?
|
#7
|
||||
|
||||
try
Code:
<a href="http://yourforum.com/{vb:raw relpath}&langid=2">IMAGE HERE</a> |
#8
|
||||
|
||||
oooooooo!
thank you very much kind sir |
#9
|
||||
|
||||
I found a new issue.
When i am on the default forum page the selector doesent work but on all the other it works. Any idea why? http://www.stormzone.ro/forum |
#10
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|