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 |
#122
|
|||
|
|||
Hi Khashyar,
I just went here for sending you a PM to ask for some more details, and I see, you were lucky to find the problem. I am sorry, that I did not contacted you earlier, but I have quite a lot of work at the moment, so I have not much time left. Thanks for the hint, that there is a problem with Version 3.0.8. I only tested it up to 3.0.7. But I will add a hint at the main-posting. Sorry again, that I was not a big help in this case BR J?rg |
#123
|
|||
|
|||
That's o.k., Jörg.
I'm glad that I could get the hack working for VB 3.0.8, and that we could offer help to those who might have had the same issue as I did. Khashyar |
#124
|
|||
|
|||
Does this work on 3.5? :nervous:
|
#125
|
|||
|
|||
It is not necessary for 3.5, because in 3.5 standard the language can be choosen the same way as styles for member and guests.
The only thing, that is available as hack for 3.5 is the automatic language-detection for first visitors. (See my signature) BR Jörg |
#126
|
|||
|
|||
I didn't know that. How do you change the language on 3.5 then?
|
#127
|
|||
|
|||
Note if you can't get the Selection Menu to display:
When I first installed this hack, I couldn't get the Menu to display, I scratched my head for a while, tried installing the hack multiple times but still no joy. When I returned to the developement of my board recently after allocating some time to it, all of a sudden it worked... strange I thought. So I did more work on the board last night, messed about a bit, all of a sudden... its gone again... Whats going on here I thought! The culprit: If you set your board so that its accepting no new registrations (which is what I had in place just in case while the board is in developement) the selection bar dissapeares. Thought I'd note this incase someone else sits there for ages scratching their heads! - Paul |
#128
|
|||
|
|||
Thanks for this hint. The menu-option not appears in this case, because it is inside the condition for the register-option.
If you don't allow new registrations, but you want to have the language-option shown in the navbar, do this: Look in the template navbar for Code:
<td class="vbmenu_control"><a href="register.php?$session[sessionurl]">$vbphrase[register]</a></td> Code:
<if condition="$show['popups'] AND $bbuserinfo['userid'] == 0"> <td id="guestlanguage" class="vbmenu_control"><a href="#guestlanguage">$vbphrase[guestlanguage]</a> <script type="text/javascript"> vbmenu_register("guestlanguage"); </script></td> </if> J?rg |
#129
|
||||
|
||||
hey I know this is old but can anyone make this work on vBulletin 3.5.4 I want it to automatically detect the user language. it was indicated by Andreas that it was very possible. https://vborg.vbsupport.ru/showpost....15&postcount=5 if this was already done I would love to get my hands on it. If it was not it looks like you already have a good start.
|
#130
|
|||
|
|||
Hm... Look at my signature...
Hacks for vB 3.5 Set forum-language automatic to browser-language for first-visitors |
#131
|
|||
|
|||
My current forum consists mainly of 2 trees, one for german forums, one for french ones.
I would like to force the navigation to be in german for the german part.. and french for the french part, by default, overriding the vB automatic language chooser. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|