![]() |
Set forum-language automatic to browser-language for first-visitors
Short-description
This Hack detects the browser-language automatic and shows the board in the language of the user, if the user has never been at your board before or has no cookie for your board. The part of automatic-detection of the browser-language was realised by WildChild Requirements
about 1 minutes PLEASE CLICK THE INSTALL BUTTON IF INSTALLED! :) ------------------------------------------------------------------------ If you want to test the hack after installing, do it like this: - Log out of your forum. Dont klick any of the displayed links after logging out ! - Close your browser-window - Open a new browser-window - Set your language preferences in the browser - Go to your forum homepage |
Really really great! Thanks man!
*Installed* |
Marvelous hack, thank you :)
|
Thanks nice modification. :)
**Installed** |
will this work 3.6.0 thxs m8 great hack also i couldnt find her after install to check her in adminp
thxs MArkAnthony nope nothing?? Im missing something here correct?? |
I have not tested it with 3.6.0, but it works for all 3.5.x versions and for 3.6.2, so it should work for 3.6.0 and 3.6.1 too.
After you have installed the plugin, there will be not new points in the settings. You have to go to the plugin-area and edit the plugin-code direct. So click on "Plugins & Products" in the left menue in the Admin-CP, then select "Plugin Manager". There you click on "Edit" at the plugin "Set automatic forumlanguage to browserlanguage". To have a better overview increase the size of the edit-box 3 or 4 times. Scroll to the end of the plugin-code. There you find direct above the edit-description the lines, where you can assign the language-code to your language ID. If you still have problems to find it, I can provide some screenshots. Best regards J?rg |
Quote:
|
Quote:
2.) Check Languages (with my board German is ID1 and English ID2) 3.) Go Plugins & Products 4.) Manage Plugins 5.) Click "edit" for "Set automatic forumlanguage to browserlanguage" 6.) Check code at the end. If you only run German and English, you might want to delete French or set it to German/English. Do your testing with your browser, delete cookies and stuff ... |
Quote:
To give an example: You have installed the following languages on your board: English, German, French. A visitor, that has never been bevore on your forum comes to your website with the board. Without any modification the user see the board in the language, you have defined as default. Let's say English. To change the language the user has to select it from the drop-down menu at the bottom. With this hack, a first-time visitor from France would see the board immedeately in French, without changing the language manually. That's what the hack is doing. How you set the hack correct to the languages you have installed, is described in the downloadable installation-description. How to get there, has uspange described in the post above very good. BR J?rg |
thxs mates great hack!!!!1
|
All times are GMT. The time now is 11:49 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|