![]() |
No.
Why ? In vB 3.5 it is standard :) Look at the german vB-Site. There you can see in the footer the selection for the language. So no need for migration of this hack to 3.5 Best regards J?rg |
Quote:
Or will it be when I install more languages? |
Quote:
J?rg |
The hack says to remove the etxt from:
// get default language $phraseinfo = $DB_site->query_first(" SELECT languageid" . fetch_language_fields_sql(0) . " FROM " . TABLE_PREFIX . "language WHERE languageid = " . intval($vboptions['languageid']) . " "); But in 3.0.8 it begins as follows: // get default language $DB_site->reporterror = 0; $phraseinfo = $DB_site->query_first(" SELECT languageid" . fetch_language_fields_sql(0) . " FROM " . TABLE_PREFIX . "language WHERE languageid = " . intval($vboptions['languageid']) . " "); The line: $DB_site->reporterror = 0; is not mentioned in the hack and I wonder if it should be removed for the Hack to work |
Hi Maplewoods,
sorry, I have not tested the hack with 3.0.8. But as far as I see, you should insert the line "$DB_site->reporterror = 0;" above the line "$phraseinfo =....." Best regards Jörg |
I have this hack on my 3.0.9 and now I need this hack for vBulletin 3.5 - to detect the browser-language automatic and show the board in the language of the user. Also could you help me to change the drop-down language menu in 3.5 to the flags.
thanx |
Hi Fenriz !
Sorry, but until now I had no time to look closer at the version 3.5.0 Concerning the automatic detection of the laguage, maybe you can contact WildChild, if he can make a modification and publish it here. (He has done the modification for this hack too) Concerning the flags instead of the pull-down menue, I will have a look at this, but I can't prmise you when, because I am quite busy in these days. Best regards J?rg |
Hi JoergZ! Thank you for the answer. I've written to WildChild, as you suggested.
It would be also great if you make "the flags" instead of the pull-down menu! I have your hack on the 3.0.9 here |
Hi Fenriz !
For your flags, you only need to set this link: for your forum it would be: where x is the languageid So it is the same as it is now, just "langid" instead of "guestlanguageid". Concerning the automatic language-detection: I made it :) You find the hack here ! Please be so kind and test it and give me a feedback or write a new posting in the new hack thread. Best regards J?rg |
Hei J?rg igjen! When I use http://www.yourforum/forum/index.php?langid=x link to a language, go in to a thread and click to choose another language, it redirects me to the index forum page. How I can stay in the thread and to have an opportunity to choose language without leaving this thread?
Could you help me? |
All times are GMT. The time now is 11:35 AM. |
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:
|