Page Index Toggle Pages: 1
Topic Tools
Normal Topic Gender in registration (Read 1,687 times)
alqutob
YaBB Newcomer
*
Offline



Posts: 38
Location: Jordan

YaBB 2.6.0
Gender in registration
May 27th, 2010 at 8:58pm
Post Tools
How to set Gender option in registration process as a required field ?

thank you
  

YaBB Arabic Support Forum - www.yabbarabic.com
Back to top
IP Logged
 
Captain John
Ex Member


Re: Gender in registration
Reply #1 - May 28th, 2010 at 1:06am
Post Tools
as far as I know ... can't be done as of now.


Edited:
Here is a MOD to allow Gender being added as a option to require in Registration  See attachment in this post > http://www.yabbforum.com/community/YaBB.pl?num=1275008606/0#1
« Last Edit: May 28th, 2010 at 4:12pm by »  
Back to top
 
IP Logged
 
alqutob
YaBB Newcomer
*
Offline



Posts: 38
Location: Jordan

YaBB 2.6.0
Re: Gender in registration
Reply #2 - Jun 21st, 2010 at 10:06pm
Post Tools
No attachment found in the post !!
  

YaBB Arabic Support Forum - www.yabbarabic.com
Back to top
IP Logged
 
Jet Li
Legacy Dev Team
Development Team
****
Offline



Posts: 6,588
Location: Hong Kong
Re: Gender in registration
Reply #3 - Jun 21st, 2010 at 10:22pm
Post Tools
  

PM me for YaBB Installation Service
Back to top
WWWGTalkFacebook  
IP Logged
 
alqutob
YaBB Newcomer
*
Offline



Posts: 38
Location: Jordan

YaBB 2.6.0
Re: Gender in registration
Reply #4 - Jun 22nd, 2010 at 5:57pm
Post Tools
How should I apply changes to a file which was deleted after installing the forum

I mean the (Setup.pl) file

Quote:
<edit file>
Setup.pl
</edit file>

<search for>
           $lang = $FORM{'defaultlanguage'} || 'English';
</search for>

<add before>
           $gender_on_reg = 0;
</add before>

<search for>
\$lang = "$lang";                                   # Default Forum Language
</search for>

<add before>
\$gender_on_reg = $gender_on_reg;                   # 0: don't ask for gender on registration
                                                    # 1: ask for gender, no input required
                                                    # 2: ask for gender, input required
</add before>


I think this change is usful for before installing a new forum

Thank you
  

YaBB Arabic Support Forum - www.yabbarabic.com
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools