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 |
#22
|
|||
|
|||
Yes you can, for this use better the version 1. The link you must use is described in the installation-description.
Jörg |
#23
|
||||
|
||||
Quote:
|
#24
|
|||
|
|||
Would it be possible to use a URL such as:
http://www.99mac.se/forum/?styleid=1&language=2 (this way I could use the 99mac.se domain for swedish and .com for english) |
#25
|
|||
|
|||
You must use http://www.99mac.se/forum/index.php?...stlanguageid=2
Then the forum will be shown in the language-id 2 for guests. J?rg Quote:
|
#26
|
||||
|
||||
Quote:
Say if you user http://www.mydomain.com/forum/index....X&languageid=X then, everyone use that link will see the forum (or some board) in that language. It's helpful when you have a forum with multiple languages boards, one board in English, one board in German, for example. If someone goes to German board, they are force to use German :P (regardless they are guests or members) |
#27
|
|||
|
|||
Well, the laguage-selection for registred users is not touched by my modification, because there you can select your language in the user-settings.
Maybe the language-selection (regardless if logged in or not) will work one day in standard-vB via parameter in the url, then you have a solution for that. |
#28
|
||||
|
||||
Quote:
Do you have any suggestion? |
#29
|
|||
|
|||
It will not work for registred members, because the parameter is not read out neither by vB nor by my modification.
The only way to manage this for registred members, is to call an own php, where you modify the database-record. A german user requested this, so I made an "quick-and-dirty", not official solution for him. You can find it in the german-vb board. J?rg |
#30
|
|||
|
|||
I have added a version 3 of my hack. It is based on version 1, but was extended by WildChild and detects the user's browser language automatic, so the user will see the board in his language without selecting it manually.
You find the version 3 in the first post of this thread. Thanks to WildChild. Jörg |
#31
|
|||
|
|||
Quote:
so there will be fast language selection on the navbar... |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|