Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 10-06-2002, 10:44 AM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This screenshot is of a German User...

Satan
Attached Images
File Type: jpg change to english.jpg (40.1 KB, 0 views)
Reply With Quote
  #12  
Old 10-07-2002, 02:13 AM
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Logician
This was what I meant. Say you have 2 boards
a) Help (In English)
b) Hilfe (In German)
..

I have been doing just that for a while, I have a board with about 4 languages and I use different styles making each lang. style the default for the right section with its own buttons and stuff


has english, german, french and arabic

at first I did one set of animated buttons that flip from language to another , then I changed to using sperate folders for each style

theres still little things that ya have to share but no biggie
Reply With Quote
  #13  
Old 10-07-2002, 06:44 AM
izz izz is offline
 
Join Date: Dec 2001
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

but for this to work fine, the normal users must belong to one of the two groups, no?
If the user belong to a group like mods for example, he should not see the language switching link.
Reply With Quote
  #14  
Old 10-07-2002, 07:03 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by izz
but for this to work fine, the normal users must belong to one of the two groups, no?
Yes the users must belong to one of the 2 groups. If you have problems about putting the users manually to the specific usergroups well another hack in register.php can handle this too. You can create 2 different register templates (in English and in German) and put a hidden form variable inside, then in register.php control this variable and put the user into the relevant usergroup. So users following the "English" registration page will be put into usergroup 20, while others 21 etc.

Quote:
If the user belong to a group like mods for example, he should not see the language switching link.
Yes he will not see it if you applied my code. The link will be visible to only 2 usergroups. Mods, Admins etc. will see all the boards in the forum if you didnt restrict their permissions.
Reply With Quote
  #15  
Old 10-07-2002, 07:12 AM
izz izz is offline
 
Join Date: Dec 2001
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what about renaming the "registered" group to English (E in your example) from VB control pannel? Will this default all new regisrtants to the English group?
Reply With Quote
  #16  
Old 10-07-2002, 07:26 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sure it will
Reply With Quote
  #17  
Old 10-07-2002, 07:38 AM
izz izz is offline
 
Join Date: Dec 2001
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you please justify step 4? We did not define a variable "change_lan", so what are you referring to? What is the exact code to put?

(sorry if the question sounds dummy, since I'm not a PHP guy)
Reply With Quote
  #18  
Old 10-07-2002, 08:03 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by izz
can you please justify step 4? We did not define a variable "change_lan", so what are you referring to? What is the exact code to put?
Yes we did.. (In step 1). The variable will stand for the language switch link in the header. It will bear the value "English" if the user is from german usergroup, and German if the user is from the English usergroup. You'll see what it does better if you put it in your header and login as a user from usergroup E or D.
Reply With Quote
  #19  
Old 10-07-2002, 10:59 AM
izz izz is offline
 
Join Date: Dec 2001
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default


It sems a headache to me, it is not working.
I also need to worry about having two completely different style sets since the other language is a right-to-left.
It seems that having the two installations which use the same membership table is easier for perfect separation in styles and forums.
Did anybody try this out before?
Reply With Quote
  #20  
Old 10-07-2002, 12:14 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by izz

It sems a headache to me, it is not working.
I also need to worry about having two completely different style sets since the other language is a right-to-left.
It seems that having the two installations which use the same membership table is easier for perfect separation in styles and forums.
Did anybody try this out before?
If you gave up just because you couldnt make it run, well you dont need to. Give me the problems you had with exact details and I can help you run the hack.

If you didnt like the solution and this is why you dont apply it, it's your call anyway..

But if this is the case I want to remind you that your project will require much more hacking than my solution and there a lot of tackles to handle in your 2 forums/1 database method.

Just a few points you should be considering about your project:
1- You banned a user in one board, he is not banned in the other. You have to ban it there too. Same applies if you changed any info (usergroup, username, email, settings etc.) of the user in your Admin CP

2- If user forgets his email and uses lost password recovery form, only his password in one board will change.

3- If user changes his email, only one email in one board will change.

4- If user changes any of the settings after registration, the setting will apply to one board.

There are many other issues you need to handle with way a lot of hacking on your project.. In other words be ready to have much more headaches.. :knockedout:
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 05:55 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.04309 seconds
  • Memory Usage 2,278KB
  • Queries Executed 12 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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