Genders

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Locked
FaN_MU
Registered User
Posts: 11
Joined: Mon Apr 25, 2005 3:07 pm

Re: Genders

Post by FaN_MU » Tue Aug 12, 2008 3:42 pm

nvm c

daniel.w
Registered User
Posts: 27
Joined: Tue Aug 12, 2008 11:43 am
Location: Germany

Re: Genders

Post by daniel.w » Wed Aug 13, 2008 10:07 am

EpsilonX5 wrote:1) How can we force the user to choose their gender on registration.
[...]
2) How can I remove the Gender "Not Specified"
That would also be my question.
Is there any solution?

yoo
Registered User
Posts: 18
Joined: Wed Jul 23, 2008 2:27 pm

Re: Genders

Post by yoo » Thu Aug 14, 2008 2:10 am

I feel this is a nice mod but it is for phpBB verson 3.0.1, but I've upgraded my forum to verson 3.0.2. Is it ok for me to install the mod?

User avatar
spaceace
Registered User
Posts: 1857
Joined: Wed Jan 30, 2008 8:50 pm
Contact:

Re: Genders

Post by spaceace » Fri Aug 15, 2008 1:34 am

yoo wrote:I feel this is a nice mod but it is for phpBB verson 3.0.1, but I've upgraded my forum to verson 3.0.2. Is it ok for me to install the mod?
i had this mod before i upgraded to 3.0.2 and after the upgrade, i had no issues at all :D

ANgelArvil
Registered User
Posts: 99
Joined: Tue May 27, 2008 7:04 am

Re: Genders

Post by ANgelArvil » Sat Aug 16, 2008 6:55 am

will this group members according to their gender? And cannot be change anymore? And how can I just choose them the Male and Female. Will this MOD make the Gender viewable in Viewtopic?

Thx in advance and more power.

tangch
Registered User
Posts: 2
Joined: Fri Aug 15, 2008 10:22 pm

Re: Genders

Post by tangch » Sun Aug 17, 2008 10:35 am

I installed it on phpBB 3.0.2 and am using prosilver. Everything was alright. The gender seems to be working fine but it just doesn't show up below the Avatar in the post. I refreshed and purged everything. Can anyone tell me why?

User avatar
uniquezone
Registered User
Posts: 9
Joined: Sun Nov 18, 2007 2:39 pm
Contact:

Re: Genders

Post by uniquezone » Thu Aug 21, 2008 11:50 pm

can u tell me how to make it a must to choose boy or girl ? and if boy i want automatically added to boys group and if girls than to girls group. to allow girls sections and boys sections :D
Visit My Site And Help Me Run It.
http://www.uniquezone.net

User avatar
iyeru42
Registered User
Posts: 1120
Joined: Wed Feb 01, 2006 7:22 pm
Location: Madison, WI
Contact:

Re: Genders

Post by iyeru42 » Fri Aug 22, 2008 9:34 pm

eviL<3 wrote:Please report bugs here: http://phpbbmodders.net/tracker.php?p=2
Page not found btw.
My Website | My MOD Requests | Foreign Key Docs (some topics are not requests)
"It's easy to rebel, but it's hard to be recognized."

net83it
Registered User
Posts: 500
Joined: Sun Jan 15, 2006 2:42 pm
Location: Sicily
Contact:

Re: Genders

Post by net83it » Fri Aug 22, 2008 9:49 pm

is it possible to have the gender field mandatory on registration?

Nathan00
Registered User
Posts: 3
Joined: Mon Jul 30, 2007 3:39 pm

Re: Genders

Post by Nathan00 » Sun Aug 24, 2008 9:12 pm

I just installed this mod and it is working ALMOST perfectly on the style I have installed. My only problem is that EVERY person on the forums is listed as Male right now unless they go into their User CP and change their Gender. How do I make it so that the Gender field does not show up unless one of the 3 options are selected by the user in their User CP?

Example: http://dollhouseforums.com/forum/viewtopic.php?f=3&t=86

User avatar
upsD
Registered User
Posts: 133
Joined: Thu Feb 07, 2008 1:26 am
Location: Freiburg (Black-Forest - Germany)

Re: Genders

Post by upsD » Mon Aug 25, 2008 3:47 pm

net83it wrote:is it possible to have the gender field mandatory on registration?
it is this the solution?

Code: Select all

--[ Open ]--

includes/ucp/ucp_register.php

--[ Find ]--


Code: Tout sélectionner
               'tz'            => request_var('tz', (float) $config['board_timezone']),

--[ Add After ]--


Code: Tout sélectionner
//-- mod : Genders ------------------------------------------------------------
//-- add
               'gender'      => request_var('gender', $user->data['user_gender']),
//-- fin mod : Genders --------------------------------------------------------

--[ Find ]--


Code: Tout sélectionner
         'tz'            => request_var('tz', (float) $timezone),

--[ Add After ]--


Code: Tout sélectionner
//-- mod : Genders ------------------------------------------------------------
//-- add
         'gender'      => request_var('gender', $user->data['user_gender']),
//-- fin mod : Genders --------------------------------------------------------

--[ Find ]--


Code: Tout sélectionner
            'lang'            => array('match', false, '#^[a-z_\-]{2,}$#i'),

--[ Add After ]--


Code: Tout sélectionner
//-- mod : Genders ------------------------------------------------------------
//-- add
            'gender'      => array('num', true, 0, 2),
//-- fin mod : Genders --------------------------------------------------------

--[ Find ]--


Code: Tout sélectionner
               'user_inactive_time'   => $user_inactive_time,

--[ Add After ]--


Code: Tout sélectionner
//-- mod : Genders ------------------------------------------------------------
//-- add
               'user_gender'   => $data['gender'],
//-- fin mod : Genders --------------------------------------------------------

--[ Find ]--


Code: Tout sélectionner
         'S_TZ_OPTIONS'      => tz_select($data['tz']),

--[ Add After ]--


Code: Tout sélectionner
//-- mod : Genders ------------------------------------------------------------
//-- add
         'GENDER_X'      => GENDER_X,
         'GENDER_M'      => GENDER_M,
         'GENDER_F'      => GENDER_F,

         'S_GENDER_X'   => ($data['gender'] == GENDER_X) ? true : false,
         'S_GENDER_M'   => ($data['gender'] == GENDER_M) ? true : false,
         'S_GENDER_F'   => ($data['gender'] == GENDER_F) ? true : false,
//-- fin mod : Genders --------------------------------------------------------

--[ Open ]--

styles/subsilver2/template/ucp_register.html

--[ Find ]--


Code: Tout sélectionner
<tr>
   <td class="row1"><b class="genmed">{L_TIMEZONE}: </b></td>
   <td class="row2"><select name="tz">{S_TZ_OPTIONS}</select></td>
</tr>

--[ Add After ]--


Code: Tout sélectionner
<tr>
   <td class="row1" width="35%"><b class="genmed"><label for="gender_x">{L_GENDER}:</label> </b><br /><span class="gensmall">{L_GENDER_EXPLAIN}</span></td>
   <td class="row2">
      <label for="gender_m"><input type="radio" name="gender" id="gender_m" value="{GENDER_M}"<!-- IF S_GENDER_M --> checked="checked"<!-- ENDIF --> /> {L_GENDER_M}</label>
      <label for="gender_f"><input type="radio" name="gender" id="gender_f" value="{GENDER_F}"<!-- IF S_GENDER_F --> checked="checked"<!-- ENDIF --> /> {L_GENDER_F}</label>
      <label for="gender_x"><input type="radio" name="gender" id="gender_x" value="{GENDER_X}"<!-- IF S_GENDER_X --> checked="checked"<!-- ENDIF --> /> {L_GENDER_X}</label>
   </td>
</tr>

--[ Save and test it ]--


mara7 a écrit:
--[ Open ]--

styles/prosilver/template/ucp_register.html

--[ Find ]--


Code: Tout sélectionner
   <dl>
      <dt><label for="tz">{L_TIMEZONE}:</label></dt>
      <dd><select name="tz" id="tz" class="autowidth">{S_TZ_OPTIONS}</select></dd>
   </dl>

--[ Add After ]--


Code: Tout sélectionner
   <dl>
      <dt><label for="gender_x">{L_GENDER}:</label><br /><span>{L_GENDER_EXPLAIN}</span></dt>
      <dd>
         <label for="gender_m"><input type="radio" name="gender" id="gender_m" value="{GENDER_M}"<!-- IF S_GENDER_M --> checked="checked"<!-- ENDIF --> /> {L_GENDER_M}</label>
         <label for="gender_f"><input type="radio" name="gender" id="gender_f" value="{GENDER_F}"<!-- IF S_GENDER_F --> checked="checked"<!-- ENDIF --> /> {L_GENDER_F}</label>
         <label for="gender_x"><input type="radio" name="gender" id="gender_x" value="{GENDER_X}"<!-- IF S_GENDER_X --> checked="checked"<!-- ENDIF --> /> {L_GENDER_X}</label>
      </dd>
   </dl>
please kontrol it, i want to make mandatori my forum

upsD

------------
bitte versucht das snippet zu kontrolieren oder einzubauen, wäre nett wenn es funktionieren würde, auch das man andere geschlechter hinzufügen kann als nur die zwei angegebenen.
sorry me englisch, i am german, need traduktor ;-)
hallo, ich versteh nur die hälfte auf englisch, bitte langsam schreiben ;-) danke
http://translate.google.de/

Anyasha
Registered User
Posts: 704
Joined: Mon Aug 07, 2006 4:02 am
Name: Anyasha

Re: Genders

Post by Anyasha » Mon Aug 25, 2008 6:34 pm

I tweaked this to add some extra features, like getting rid of the "none specified" option, putting it on the registration page, and allowing the memberlist to sort by gender. It works nicely on 3.0.2.
Kiss me, I'm Polish!

briandjohn
Registered User
Posts: 121
Joined: Sun Aug 03, 2008 1:23 pm

Re: Genders

Post by briandjohn » Tue Aug 26, 2008 5:58 am

Anyasha wrote:I tweaked this to add some extra features, like getting rid of the "none specified" option, putting it on the registration page, and allowing the memberlist to sort by gender. It works nicely on 3.0.2.

Are you going to let us all in on the code you used to modify the original??? You seem to have answered several queries of other users with your tweek.

zmay44
Registered User
Posts: 37
Joined: Sun Dec 18, 2005 11:53 pm

Re: Genders

Post by zmay44 » Tue Aug 26, 2008 7:25 am

There are 2 instructions in this mod. First is in the map and another is in the Templates folder. I'm using phpbb3 prosilver. Do I have to use both of instructions???

User avatar
Origin30
Registered User
Posts: 122
Joined: Wed Sep 19, 2007 1:41 pm

Re: Genders

Post by Origin30 » Tue Aug 26, 2008 7:53 pm

Instructions in English to add Genders to registry page is in a tutorial HERE

Locked

Return to “[3.0.x] MOD Database Releases”