vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Mini Mods - Set forum-language automatic to browser-language for first-visitors (https://vborg.vbsupport.ru/showthread.php?t=129081)

JoergZ 06-29-2009 05:25 PM

Have you double-checked the lines, where you define your installed languages ?


PHP Code:

case 'en'
     
$_REQUEST['langid'] = 1
     break; 
case 
'de'
     
$_REQUEST['langid'] = 2
     break; 
    case 
'fr'
     
$_REQUEST['langid'] = 3
     break; 



Check if the id is equal to your language-id in the forum.



snoopy5 06-29-2009 05:40 PM

That was the solution.

The ID for the other language was in this "problem installation" 3 and not 2 as in all the other installations. Do not ask me why it is here different (I only have 2 languages installed anyway).

So it was the ID numbers 1 and 3 and not 1 and 2 like with the other vb forums.

Now it works

Thanks

JoergZ 06-29-2009 05:44 PM

That can happen, when you install a language, remove it, and install it again. Every new language-installation gets a new id.

I am glad, that it is working now.

Br

Joerg

Zillo 03-13-2010 02:59 PM

Is this working with vBulletin 4? Otherwise do you know a similar addon for vb4? Thanks

JoergZ 03-15-2010 08:45 AM

Hi Zillo,

I absolutely doubt it, that it is working for vB 4.

If I have time to check it and maybe modify it for vB4 I will let you know.


Best regards

Joerg

Datenpapst 05-23-2010 10:34 AM

Any chance to get this for vb4?
This version does not work on the newest version.

Quote:

Warning: Invalid argument supplied for foreach() in [path]/includes/init.php(331) : eval()'d code on line 122

Warning: Invalid argument supplied for foreach() in [path]/includes/init.php(331) : eval()'d code on line 127

Warning: Invalid argument supplied for foreach() in [path]/includes/init.php(331) : eval()'d code on line 132


Unable to add cookies, header already sent.
File: /var/www/vhosts/c-arena.com/httpdocs/includes/class_core.php
Line: 4495

JoergZ 05-23-2010 01:38 PM

Yes, it's already done. :) I only did not found the time yet to upload it here.

But I will do so today or tomorrow evening.

So check back.


Br

Joerg

JoergZ 05-24-2010 01:14 PM

The version for vB4 is now available here: https://vborg.vbsupport.ru/showthread.php?t=243201


Joerg


All times are GMT. The time now is 02:02 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
  • Page Generation 0.01123 seconds
  • Memory Usage 1,730KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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