The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Automatic Change Language
My forum is mainly targeted for arabic speakers which is a RTL language therefore the default language and interface is Arabic but recently we are thinking of creating subforums in different languages the current one will be in English.
The problem is threads in that forum would not have a good presentation for visitors unless the language is changed to English and the oriantation of writing to be changed from Arabic to English. I want to place something similar in the template to check which forum this thread or the visitor in and check the language if it saticfies that certain condation the language will be automatically changed. How can I do that? Code:
<vb:if condition="$langid=='1'" AND forumid='32'> $langid=1 </vb:if> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|