Hi,
I have bought and instaleld vBulletin, but can't post in the How Do I boards. So perhaps I can get the answer here.
My forum has boards with different languages and encodings and I would like to return the correct language code and encoding for each board.
Since there is only a global setting for languages and encodings, I was thinking that perhaps I can add this via a modification of the header template?
IF Forum=1
LANGUAGE = en, ENCODING=UTF-8
ENDIF
IF Forum=2
LANGUGAE = fr, ENCODING=UTF-8
ENDIF
IF Forum = 3
LANGUAGE= ru, ENCODING=koi8-r
ENDIF
Would that work or is there a better way to do this?
How do I write the IF statement based on the forum ID?
Thanks,
Matthias
I have bought and instaleld vBulletin, but can't post in the How Do I boards. So perhaps I can get the answer here.
My forum has boards with different languages and encodings and I would like to return the correct language code and encoding for each board.
Since there is only a global setting for languages and encodings, I was thinking that perhaps I can add this via a modification of the header template?
IF Forum=1
LANGUAGE = en, ENCODING=UTF-8
ENDIF
IF Forum=2
LANGUGAE = fr, ENCODING=UTF-8
ENDIF
IF Forum = 3
LANGUAGE= ru, ENCODING=koi8-r
ENDIF
Would that work or is there a better way to do this?
How do I write the IF statement based on the forum ID?
Thanks,
Matthias
Comment