The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Language-selection for guest Details »» | |||||||||||||||||||||||||
PLEASE CLICK THE INSTALL BUTTON IF INSTALLED!
Hallo, the vB3 offers the chance to have multi languages, but at the moment it is unfortunally only for registred / logged-in users possible to select a language. Guests / not logged-in users will see always the default language. With this modification you can offer your guests / not-logged-in users an option to select a language, so they can see the forum and the registration in the selected language. Further the selected language will be set during the registratin as default for the new user. Short-description Language-Selection for not logged-in users Requirements
about 5 minutes The use of this modification is as always at your own risk ! J?rg Update 05. January 2004 (added version 2) Update 09. March 2004 (added version 3) Update 27. March 2004: Tested in 3.0.0 Gold Version 1: In this version you have to enter for each language a menue-entry manually Version 2: This version detects the selectable languages automaticly and the menue-entries are created automaticly too. To get the menue-entries, the function "Use DHTML Popup Menus" must be activated. This version has an additional query with each page-call. If you don't like this, use version 1. Version 3: This version is based on version 1, but it detects the browser-language automatic and shows the board in the language of the user. This automatic-detection of the user-language was realised by WildChild. Thanks for this extension of my hack. Note the difference to my version 2: My Version 2 detects the installed languages automatic, version 3 detects the language which is set in the users browser ! Note: A german version of the installation-instructions you will find here at vbulletin-germany.com Show Your Support
|
Comments |
#12
|
|||
|
|||
Thank you, Joerg...
Will that vB2 hack allow users to register in the language that they choose? Or.. will they still need to register in English (or the default forum language?) Thanks again, Khashyar |
#13
|
|||
|
|||
I suppose you have solved the multi-language with different styles. With this hack, you can select styles. And I think, if the user have selected a style, the registration will come up in the selected style.
You should try this. Another solution I don't know for vB2. Jörg |
#14
|
|||
|
|||
Thanks, Joerg...
|
#15
|
||||
|
||||
Ir could have an autodetect language JavaScript as well ...
|
#16
|
|||
|
|||
I didn't need to install the 2.x hack... actually, an admin. at vb.org just gave me a line of text to add to any link code (i.e., "register in German" html link , for example) that allowed people to register in their own language....
Khashyar |
#17
|
|||
|
|||
Quote:
|
#18
|
||||
|
||||
thanks Joerg .....awesome
works also in RC2 |
#19
|
||||
|
||||
I have a small suggestion: If you add
Code:
<if condition="$show['registerbutton']"> </if> |
#20
|
|||
|
|||
If you follow exactly my instructions, it IS like you describe, that the selection-menue-entry is only shown when you are not logged in.
Why ? In my isntruction is written, that you have to look for PHP Code:
So my code is within the condition to show the register-button. --> Language selection is only shown when register-button is shown. And register-button is only shown, when you are not logged in. So I think, everything is fine... J?rg P.S. I have not checked RC4 yet. Maybe there were some changes in the navbar template ? [edit]I have checked this part in RC4 and it still works [/edit] |
#21
|
||||
|
||||
Could I choose it by the flag .gif icon? Like German, English and Estonian flags on the forumhome top?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|