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 |
#62
|
|||
|
|||
Well... it should work.
Guest select English, register, and during registration the english is written in his profile as default-language. Check if you made the modifications in register.php correct. Best regards Jörg |
#63
|
||||
|
||||
Thanks, I just wanted to ask a question like that.
Does the forum goes to the standard browser language? And can the guest select an other language if they want? |
#64
|
|||
|
|||
Yes and yes
In the description of the hack, you will find how to add an menue-point for selecting the language. When the user selects manually a language, this one has priority over the automatic detected language. J?rg |
#65
|
|||
|
|||
Found it, installed & works great. Thank You!:nervous:
|
#66
|
||||
|
||||
Quote:
Thank you |
#67
|
|||
|
|||
Could anyone tell, how to make returning to the page guest was previously viewing after guest switched to another language (for example by link http://example-domain.com/forumdispl...stlanguageid=3)?
I am asking because guest always goes to the main page after switching languages.. |
#68
|
|||
|
|||
Sorry, but without re-writing the complete hack, it is not possible. The procedure for changing the language (interpreting the parameter &guestlanguage=x) is only in the index.php
(Maybe there is a way, to recognise from where the link was called, so you can redirect back to that page, but I don't know how.) Jörg |
#69
|
||||
|
||||
:ermm: :ermm: And please don't tell but I need glasses butt tell me how to solve ? So I want to have: 1. text to it 2. the text in the dropdown menu bigger |
#70
|
|||
|
|||
Eagle,
check all changes you did in the template navbar. There must be the error somewhere.. |
#71
|
||||
|
||||
Quote:
Uuhm.. I guess I have to revert the template and try again? |
#72
|
||||
|
||||
Quote:
It stays a triangle without text next to it and when I click it's still extreme small |
#73
|
|||
|
|||
O.k.
Which version of the hack have you installed ? |
#74
|
||||
|
||||
Quote:
************************************************** ************** **** **** **** Language-Selection for not logged-in users **** **** **** **** Version 3.0 **** **** **** **** (c)Copyright by JoergZ and WildChild **** **** **** **** Modification of this hack is only allowed for private **** **** use. Publishing and distribution of the modified hack **** **** is not allowed. **** **** **** ************************************************** ************** **** **** **** If you have installed more than one language, in **** **** Version vB 3.0.0 RC4 there is for guests no **** **** chance to select another language than the default. **** **** **** **** This hack in Version 3.0 detects automatic the **** **** browser-language. **** **** **** |
#75
|
|||
|
|||
For all others information:
We have solved the problem via PN. Eagle made a mistake with the phrases. So no problem with the hack at all. Jörg |
#76
|
|||
|
|||
It works brilliant with vb 3.05 :squareeyed:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|