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)

Khashyar 01-11-2004 07:21 PM

Thank you, Joerg...

Will that vB2 hack allow users to register in the language that they choose? Or.. will they still need to register in English (or the default forum language?)

Thanks again,

Khashyar

JoergZ 01-11-2004 07:33 PM

I suppose you have solved the multi-language with different styles. With this hack, you can select styles. And I think, if the user have selected a style, the registration will come up in the selected style.

You should try this. Another solution I don't know for vB2.

Jörg

Khashyar 01-11-2004 07:49 PM

Thanks, Joerg...

gmarik 01-17-2004 07:33 AM

Ir could have an autodetect language JavaScript as well ...

Khashyar 01-17-2004 03:46 PM

I didn't need to install the 2.x hack... actually, an admin. at vb.org just gave me a line of text to add to any link code (i.e., "register in German" html link , for example) that allowed people to register in their own language....

Khashyar

tpr 01-18-2004 06:56 AM

Quote:

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

vB3 RC1

Of cource more than one installed language, otherwise this modification make no sense :D

Installationtime

about 5 minutes


The use of this modification is as always at your own risk !


J?rg


Update 05. January 2004 (added version 2)

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.


Note: A german version of the installation-instructions you will find here at vbulletin-germany.com


i am not worthy :)

Didi_gt 01-18-2004 06:56 PM

thanks Joerg .....awesome :) http://www.granturismo.de/forums/images/smilies/top.gif

works also in RC2

Bernd Glasstett 02-12-2004 07:46 AM

I have a small suggestion: If you add

Code:

<if condition="$show['registerbutton']">
</if>

around the entry on navbar, noone sees the guestselection, when they are registered and logged in :)

JoergZ 02-12-2004 10:12 AM

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.

Why ? In my isntruction is written, that you have to look for
PHP Code:

<td class="vbmenu_control"><a href="register.php?$session[sessionurl]">$vbphrase[register]</a></td

and directly after that my code should be added.

So my code is within the condition to show the register-button. --> Language selection is only shown when register-button is shown. And register-button is only shown, when you are not logged in.

So I think, everything is fine... :)


J?rg


P.S. I have not checked RC4 yet. Maybe there were some changes in the navbar template ?


[edit]I have checked this part in RC4 and it still works :) [/edit]

gmarik 02-12-2004 07:51 PM

Could I choose it by the flag .gif icon? Like German, English and Estonian flags on the forumhome top?


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.01168 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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