Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Set forum-language automatic to browser-language for first-visitors Details »»
Set forum-language automatic to browser-language for first-visitors
Version: 2.00, by JoergZ JoergZ is offline
Developer Last Online: Dec 2012 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.6.2 Rating:
Released: 10-13-2006 Last Update: Never Installs: 75
Uses Plugins
 
No support by the author.

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
  • vB 3.6 (Tested with 3.6.2)
  • Of course more than one installed and selectable language, otherwise this modification makes no sense
Installation-time

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 06-24-2008, 05:35 PM
bongwater's Avatar
bongwater bongwater is offline
 
Join Date: Nov 2005
Location: south Florida
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

seems to work fine for our forum, and we are on 3.7.2
Reply With Quote
  #33  
Old 06-24-2008, 05:41 PM
JoergZ JoergZ is offline
 
Join Date: Jun 2002
Location: Germany
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice to hear.

Then Pander23 maybe did something wrong..


Joerg
Reply With Quote
  #34  
Old 02-18-2009, 07:24 AM
Datenpapst Datenpapst is offline
 
Join Date: Mar 2004
Location: Vienna
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fatal error: Cannot redeclare rk_getenvvar() (previously declared in /var/www/vhosts/c-arena.com/subdomains/forum/httpdocs/includes/init.php(298) : eval()'d code:63) in /var/www/vhosts/c-arena.com/subdomains/forum/httpdocs/includes/init.php(298) : eval()'d code on line 266

is coming when I install this on 3.8.1
Reply With Quote
  #35  
Old 03-02-2009, 08:11 AM
JoergZ JoergZ is offline
 
Join Date: Jun 2002
Location: Germany
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, as you can see in the top, it is only tested and approved up to 3.6.2

Due to lack of time, I have currently no plans to bring it to 3.8.x. Sorry

Best regards

Joerg
Reply With Quote
  #36  
Old 06-20-2009, 05:59 AM
snoopy5 snoopy5 is offline
 
Join Date: May 2007
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

could anybody adjust this great mod for vb 3.8x?

Or does anybody knows a similar hack. I absolutely need this automatic browser language detection!
Reply With Quote
  #37  
Old 06-29-2009, 12:00 PM
snoopy5 snoopy5 is offline
 
Join Date: May 2007
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

FYI

I tested this now on a vb installation version 3.80 and 3.83. It works in both of them. I have not seen yet any errors or incompatibilities.

Great mod!
Reply With Quote
  #38  
Old 06-29-2009, 12:51 PM
JoergZ JoergZ is offline
 
Join Date: Jun 2002
Location: Germany
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi snoopy5,

thank you very much for your feedback. I am lucky to hear it is working with 3.8


Joerg
Reply With Quote
  #39  
Old 06-29-2009, 03:28 PM
snoopy5 snoopy5 is offline
 
Join Date: May 2007
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

I tried it now on a third installation, but it seems that I tried accidentally to upload it twice. Now I get an error.

I disabled all plugins in config.php, so that I have access again the ACP.

But how do I delete this plugin now properly, so that I can try to install it again?
Reply With Quote
  #40  
Old 06-29-2009, 03:51 PM
snoopy5 snoopy5 is offline
 
Join Date: May 2007
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

update:

I found it. It was under a different section of the plugin options within ACP.

So I deleted it and installed it again. This time no error. BUT it does not recognize the browser language and I do not know why. The settings are the exact same as with the other 2 installations.

What could be the reason for this? I deleted already in FF cookies etc.
Reply With Quote
  #41  
Old 06-29-2009, 04:28 PM
snoopy5 snoopy5 is offline
 
Join Date: May 2007
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

update:

I found it. It was under a different section of the plugin options within ACP.

So I deleted it and installed it again. This time no error. BUT it does not recognize the browser language and I do not know why. The settings are the exact same as with the other 2 installations.

What could be the reason for this? I deleted already in FF cookies etc.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:34 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.04335 seconds
  • Memory Usage 2,300KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete