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

Reply
 
Thread Tools
Language Driven Forums Details »»
Language Driven Forums
Version: 1.5.1, by vbenhancer vbenhancer is offline
Developer Last Online: Nov 2012 Show Printable Version Email this Page

Category: End-User Options - Version: 3.8.x Rating:
Released: 12-22-2009 Last Update: 01-01-2010 Installs: 13
DB Changes Uses Plugins
Code Changes  
No support by the author.

With this engine, you have a full control over a Multi-Language forum. If you have a population of english, french, spanish and other languages, you may have a need for this if you have specific forums for each languages...

When you want to enforce the users to only see the forums they can post in, or the ones they can read in their own language, you can edit each of your forums to fit your needs

This is for the Admincp where you edit your forums.

Now you can give your users the ability to choose what kind of forum they can see. On registration or when they edit their Profile options, they have these choices:

Here is when the user is registering: (optional entry)

As an admin, you will continue to see all the forums, but you will see an indication of the language each forum is using, because the languageid for each modified forum will show in the forumlist...
A note coming from Jelsoft, regarding the possibility that a multiple licenses would be required if you use this addon...
Quote:
Originally Posted by Ashley Busby, Jun 12th '08 12:05pm
This is one forum and it can be navigated from any area to any area.

I concur, only one license is required and I am of the opinion that the license agreement is not contravened.
Source: https://www.vbulletin.com/issue.php?...hcode=b44157f3
note: on jan. 2nd, 2010, a query_read was replaced by a query_first... to avoid inconsistancy with mysqli... simply re-import the product...

Download Now

File Type: zip nex_lang_driven_forum.zip (5.6 KB, 100 views)

Screenshots

File Type: jpg nex_lang_driven_admin_view_admincp.jpg (7.1 KB, 0 views)
File Type: jpg nex_lang_driven_admin_view.jpg (20.7 KB, 0 views)
File Type: jpg nex_lang_driven_admincp.jpg (38.0 KB, 0 views)
File Type: jpg nex_lang_driven_reg.jpg (68.3 KB, 0 views)
File Type: jpg nex_lang_driven_usercp.jpg (49.7 KB, 0 views)

Show Your Support

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

Comments
  #12  
Old 01-02-2010, 12:43 PM
vbenhancer's Avatar
vbenhancer vbenhancer is offline
 
Join Date: Dec 2009
Location: Qu?bec city, Canada
Posts: 740
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for the report... query_read is making problem with mysqli when not used properly... i had a code error, thanks, it is now corrected, you simply have to re-import the product.
Reply With Quote
  #13  
Old 01-02-2010, 04:37 PM
imedic's Avatar
imedic imedic is offline
 
Join Date: Mar 2008
Location: Romania
Posts: 178
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice mod. If you click new messages it will display only messages from forums in your language (if you select to see only them) ?
Interesting mod to cope with multilanguage.

Selection of language forums should be in a more prominent position (like on each page or at least forum home) given the fact that you install this only if you have multilanguage users.
Or the en* and en should be links to control panel where you can change settings.

I see very useful this mode if you can exclude from New Messages search the forums not in your language.
Reply With Quote
  #14  
Old 01-02-2010, 05:56 PM
swsche swsche is offline
 
Join Date: Aug 2007
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's a very nice and usefull script. But i have a little problem.

When i switch the language in the usercp and i go to the forumhome, logged in as administrator, i can see all forums (english and german). Only the mods and the useres are able to see the forums fit to the choosen language.
Reply With Quote
  #15  
Old 01-02-2010, 07:14 PM
vbenhancer's Avatar
vbenhancer vbenhancer is offline
 
Join Date: Dec 2009
Location: Qu?bec city, Canada
Posts: 740
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by swsche View Post
It's a very nice and usefull script. But i have a little problem.

When i switch the language in the usercp and i go to the forumhome, logged in as administrator, i can see all forums (english and german). Only the mods and the useres are able to see the forums fit to the choosen language.
This is not a problem, this is by purpose... as admin, you also have access to all passworded forums, all closed and locked forums... being an admin is to be in charge of everything... so things do not change...

My engine is not giving more filtering on usergroups, this is a per user setting. As admin, you see the " *en " indicator, to show if your forum is set properly...
Reply With Quote
  #16  
Old 01-02-2010, 07:15 PM
vbenhancer's Avatar
vbenhancer vbenhancer is offline
 
Join Date: Dec 2009
Location: Qu?bec city, Canada
Posts: 740
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by imedic View Post
I see very useful this mode if you can exclude from New Messages search the forums not in your language.
I'm all with you on that, i need to refine the search engine filtering... i know where to add it, but did not look at this since i coded the engine first (4 years ago)... if i have time, i'll code this option.
Reply With Quote
  #17  
Old 01-23-2010, 11:03 PM
Fraxter Fraxter is offline
 
Join Date: Jul 2007
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For the future of this modification would be an update to vb4 the best. Thanks for this addon.

regards Pander23
Reply With Quote
  #18  
Old 04-13-2010, 02:41 PM
Enlightning Man Enlightning Man is offline
 
Join Date: Apr 2010
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are there any news on vb 4 support for this?

We'd be very interested!

Regards,
Christopher
Reply With Quote
  #19  
Old 04-29-2010, 03:45 PM
Enlightning Man Enlightning Man is offline
 
Join Date: Apr 2010
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For everyone who's interested: I got this extension working on vb 4.0.3

The HowTo.txt file in the zip tells you to modify functions_forumlist.php with this code:

PHP Code:
//not working:
if($forum['languagecode'] AND !($vbulletin->userinfo['permissions']['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['cancontrolpanel'])) 
{
    if(
$forum['languagecode_forced'] AND ($forum['languagecode'] != $vbulletin->userinfo['languagecode'])) continue;
    if(
$vbulletin->userinfo['languagecode_forced'] AND ($forum['languagecode'] != $vbulletin->userinfo['languagecode'])) continue;

instead of that code, simply use this snippet:
PHP Code:
//working solution:
if($forum['languagecode'] AND !($vbulletin->userinfo['permissions']['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['cancontrolpanel']))
{
    if(
$forum['languagecode_forced'] AND ($forum['languagecode'] != $vbulletin->userinfo['lang_code'])) continue;
    if(
$vbulletin->userinfo['languagecode_forced'] AND ($forum['languagecode'] != $vbulletin->userinfo['lang_code'])) continue;

So you simply have to exchange the userinfo['languagecode'] with userinfo['lang_code']...

A user who selects a different fourm interface language in the backend will afterwards see no forums which are forced to be displayed in a different language.

Up to now, this is the only problem that I have seen with this plugin.
Reply With Quote
  #20  
Old 04-29-2010, 05:20 PM
Nephalim Nephalim is offline
 
Join Date: Apr 2005
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where can you get spanish or german language?i see only french

thank you
Reply With Quote
  #21  
Old 04-29-2010, 06:21 PM
Enlightning Man Enlightning Man is offline
 
Join Date: Apr 2010
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I see only german and english.
I guess it depends on what you have installed as front end language packs in your system.
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 12:04 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.09969 seconds
  • Memory Usage 2,351KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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
  • (6)postbit_attachment
  • (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_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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete