vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Language-selection for guest (https://vborg.vbsupport.ru/showthread.php?t=59564)

JoergZ 02-12-2004 08:03 PM

Yes you can, for this use better the version 1. The link you must use is described in the installation-description.

Jörg

Bernd Glasstett 02-13-2004 09:53 AM

Quote:

Originally Posted by JoergZ
If you follow exactly my instructions, it IS like you describe, that the selection-menue-entry is only shown when you are not logged in.

Ah I know, why I haven't done this - In the first place, I tried to change the hack a bit, so that everyone would have been able to change the language by that menu. But then some users didn't like it - i changed it back and overlooked that part. Soooo, shame on me ;)

bjornstrom 02-22-2004 12:36 PM

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)

JoergZ 02-22-2004 01:11 PM

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:

Originally Posted by bjornstrom
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)


mtha 02-22-2004 06:34 PM

Quote:

Originally Posted by JoergZ
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

It'd be nice if there's also an option for force some forum/board to display in some language, even for registered users.

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)

JoergZ 02-22-2004 07:09 PM

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. :)

mtha 02-27-2004 08:09 PM

Quote:

Originally Posted by JoergZ
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. :)

:p I'm playing with the parameters, trying to force languageid to be something different than default one, for registered member, but havent got any success.

Do you have any suggestion?

JoergZ 02-29-2004 06:53 PM

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

JoergZ 03-09-2004 08:06 PM

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

Lurk 03-27-2004 04:04 AM

Quote:

Originally Posted by JoergZ
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

is there a way to add this thing for registered users?
so there will be fast language selection on the navbar...


All times are GMT. The time now is 01:46 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
  • Page Generation 0.01069 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete