News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Registration - Show Gender mod

Started by LPCA, December 16, 2007, 10:14:32 PM

Previous topic - Next topic

LPCA

Link to Mod

This mod adds a box on the Registration form for users to input their Gender/Sex.

To enable this mod you must go to "Admin Control Panel" > "Features and Options" and check "Show gender on registration form?".

English and Portuguese (ISO and UTF8) languages included.

Made by LPCA.

Version 1.0
! Initial Release
! Tested on SMF 1.1.4
! Fixed some issues
! Redesigned registration layout
! Added administration feature
! Added Portuguese translation
! Release based on original modification by JayBachatero

*** updated & replaced the archive ***
-LP

Basie

Does this stop users registering if they do not enter a gender?

karlbenson

It doesnt look like it to me.

It appears to copy the male/female/unsure for the profile area. (where setting a gender isnt mandatory)

falguni1

does this make it compulsory to give gender on registration otherwise the user cant register.

karlbenson

Thats why I answered above, it does not appear to make giving a gender compulsory.

Fallen Angel

Danish translation:

Put this into Modifications.danish-utf8.php:

// Registration - Show Gender mod
$txt['registration_gender_admin_field'] = 'Vis køn ved registrerings formel?';
$txt['registration_gender_template_field'] = 'Køn';
$txt['registration_gender_all_label'] = 'Køn';
// Registration - Show Gender mod


MoreBloodWine

#6
So how is this any different from this ?

@LPCA ... All be it that ones no longer updated it has a few comments / suggestions you might want to implement into yours that makes a person HAVE to choose a gender etc... but ya other than a few small minor differences how is yours different from his ?
Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


TrueSatan

See initial posting in this topic...this mod is based on the one you mention.

Nutronic

This shows no text on the registration page it just shows : also no text in the layout options again its just : I am using 1.4 so how can I get people to see what they are choosing?

The options are there just not the text asking for the gender.

au8ust

Hi, I've made Thai and Lao translation for this MOD


<file name="$languagedir/Modifications.thai-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Registration - Show Gender mod
$txt['registration_gender_admin_field'] = 'แสดงตัวเลือกสำหรับเพศในหน้าสมัครสมาชิก?';
$txt['registration_gender_template_field'] = 'เพศ';
$txt['registration_gender_all_label'] = 'เพศ';
// Registration - Show Gender mod
]]></add>
</operation>
</file>

<file name="$languagedir/Modifications.lao-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Registration - Show Gender mod
$txt['registration_gender_admin_field'] = 'ສະແດງຕົວເລືອກສຳຫລັບເພດໃນຫນ້າສະມັກສະມາຊິກ?';
$txt['registration_gender_template_field'] = 'ເພດ';
$txt['registration_gender_all_label'] = 'ເພດ';
// Registration - Show Gender mod
]]></add>
</operation>
</file>

falguni1

please can u tell me the code to make it compulsory to select the gender.

it is not compulsory to select gender by default in this mod.

***Teh GodFather***

Just find options in Register.php or where are they put (I modded my forum manually, but it seems to be same) and remove unsure option... That way male will be selected and chosen unless user changes it...

davonwf

#12
Is anyone else having trouble opening the file?

update: nevermind.  I got it.

tpruessner

I can't seem to get this to work for me under the parser so I can manually edit it into the my forum.  Is anyone else having that problem?

Basie

Nice mod. Helps to keep the male-female ratio in the board statistics more accurate.

Will this be updated for SMF 2.0?

RoarinRow

Thanks!  I always wanted this mod   8)

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

MissyNL

Hello,

I have made a dutch translation for the MOD.. 

// Registration - Show Gender mod
$txt['registration_gender_admin_field'] = 'Laat geslacht zien op het registratie formulier?';
$txt['registration_gender_template_field'] = 'Geslacht';
$txt['registration_gender_all_label'] = 'Geslacht';
// Registration - Show Gender mod

Bey Bey  :D
Sorry for my poor English, but i think it's probably better then your Dutch :)

Basie


N3RVE

Quote from: seek2501 on June 13, 2008, 03:54:51 AM
update for 1.1.5 ?

Plugins compatible with SMF 1.1.4  are compatible with SMF 1.1.5.

-[n3rve]
Ralph "[n3rve]" Otowo
Former Marketing Co-ordinator, Simple Machines.
ralph [at] simplemachines [dot] org                       
Quote"Somewhere, something incredible is waiting to be known." - Carl Sagan

Mystiquo

why you don't modify this i want modify my registration form i want 2 new voice example:
you want enter in clan check this or you want enter in normal user check this you understand?

Advertisement: