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

Reply
 
Thread Tools Display Modes
  #1  
Old 01-11-2004, 05:01 PM
Khashyar Khashyar is offline
 
Join Date: Jan 2003
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default allowing users to register in their own language on multi-language VB 2.x board

Hello Everyone,

I appreciate this VB.org website, and of course love the VB software...

I currently have six language templates on my websites vb v2.x (www.russianmeetingplace.com/forums), and would like to find a way for users to be able to register in their own language...

As it stands now, even if a user is in one of my foreign language forums, when they would like to register, they need to register in English, which is difficult for many foreign language speakers....

Does anyone know of a hack, or some kind of workaround whereby a user can be directed to register in their own foreign language??

Is there a way to place a link that leads to a foreign language registration template, or.. is there some kind of php/html page that can be created that allows users to register in a non default language???

There must be a way to do this, and I would appreciate anyone's help very much...

Thank you,

Khashyar
__________________
Russian Meeting Place
www.russianmeetingplace.com
www.russianmeetingplace.com/forums
Reply With Quote
  #2  
Old 01-11-2004, 09:44 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is just a simple template edit. Create a link to register.php with the styleid for the language tacked on:

HTML Code:
<a href="register.php?styleid=1">English Registration</a>
The above example assumes that the English language style is ID 1.
Reply With Quote
  #3  
Old 01-11-2004, 10:22 PM
Khashyar Khashyar is offline
 
Join Date: Jan 2003
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you NTLDR....

I would be happy if something so simple would work....

I will try it...

(have you heard of others trying this and it working for them?)

How can I find out what is the style-id for a particular style?

Thanks again for your help...

Khashyar
Reply With Quote
  #4  
Old 01-11-2004, 10:32 PM
Khashyar Khashyar is offline
 
Join Date: Jan 2003
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I appreciate your help...

I added your code link, and all of the different style registration links still took me to the English language registration page....

The registration links are listed at the bottom of this page: http://www.russianmeetingplace.com/f...php?forumid=75

It was a noble effort... thanks for yoru help

Khashyar
Reply With Quote
  #5  
Old 01-11-2004, 10:37 PM
Khashyar Khashyar is offline
 
Join Date: Jan 2003
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actually... it DOES work

I had the style ID's incorrect...

Thank you VERY much for your help....

Khashyar
Reply With Quote
  #6  
Old 01-11-2004, 10:37 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are those styles selectable by users? Are you sure you have the right styleids? When you hover over the 3 options for the style (fonts/colours/etc, properties and download) you will see &styleid=X at the end of the URL, X is where the number is you want.
Reply With Quote
  #7  
Old 01-11-2004, 10:40 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad to hear it
Reply With Quote
  #8  
Old 08-27-2005, 05:23 AM
Khashyar Khashyar is offline
 
Join Date: Jan 2003
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi NTLDR...

Do you think that the method that you mentioned for choosing a registration language also work for VB 3.x?

Thanks,

Khashyar

Quote:
Originally Posted by NTLDR
This is just a simple template edit. Create a link to register.php with the styleid for the language tacked on:

HTML Code:
<a href="register.php?styleid=1">English Registration</a>
The above example assumes that the English language style is ID 1.
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 10:24 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.05989 seconds
  • Memory Usage 2,237KB
  • Queries Executed 13 (?)
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
  • (2)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete