some prob facing with gender mod

Mod that adds a extra field to the users profile, the gender is displayed beside the posts

Moderator: Moderators

Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

some prob facing with gender mod

Postby kunalmittal on Tue 05. Oct, 2004 11:50

hi
i just installed the latest version available on this site

using 2.0.10 version oh phpBB

dont have easymod installed

in board configuration
If i change the FORCE USER TO ENTER GENDER option to yes......and when i return again to configuration page...it turns again to no and i m able to register without filling out the gender coloum
help........


In registration page
i want to remove the none specified option
i want it to show only two options
i followed some steps from this section and was able to remove a radio button already checked for it

but cant remove that none specified text and its button
please help

third:
problem with already registered users

if i add {GENDER_REQUIRED} in profile_add_body.tpl
and if i have not already filled my gender, and if i edit the profile and click submit again without filling gender, it accepts which it shud not coz i put that {GENDER_REQUIRED} in the
<td class="row1"><span class="gen">{L_GENDER}:{GENDER_REQUIRED}</span></td>

please help me ..how to solve this

i want gender field locked after ppl who r already registered, select their gender once
but if i put the lock thing as stated in a topic here, it locks the field and in profile i cant select the gender, i have to go to ACP for that
so please help according to that

thanks
kunalmittal
Poster
Poster
 
Posts: 6
Joined: Mon 04. Oct, 2004 14:59

Postby kunalmittal on Tue 05. Oct, 2004 12:22

lol shit
i cant edit my own post !!!!!!!!


the line it shows on right side in big font above

that shud be read with the last line of that post
thanks
kunalmittal
Poster
Poster
 
Posts: 6
Joined: Mon 04. Oct, 2004 14:59

Postby kooky on Wed 06. Oct, 2004 02:11

kunalmittal wrote:lol shit
i cant edit my own post !!!!!!!!


the line it shows on right side in big font above

that shud be read with the last line of that post
thanks
HTML is enabled, so if you use HTML tags in your post, you will have... what you had :wink:

i edited your post and disabled html


About gender require, be sure you ran SQL queries
No no query -> no data store -> no require field enabled :)
kooky
brilliant supporter
 
Posts: 1329
Joined: Tue 31. Dec, 2002 17:52
Location: Au pays des rêves

Postby kunalmittal on Wed 06. Oct, 2004 06:07

lol
u edited my post dear
but didnt provide help
please help on my problem please
thanks
kunalmittal
Poster
Poster
 
Posts: 6
Joined: Mon 04. Oct, 2004 14:59

Postby kooky on Wed 06. Oct, 2004 20:27

Run this SQL query to your database, i assume you are using MySQL
Code: Select all
INSERT INTO phpbb_config (config_name, config_value) VALUES ('gender_required', '0');
kooky
brilliant supporter
 
Posts: 1329
Joined: Tue 31. Dec, 2002 17:52
Location: Au pays des rêves

Postby kunalmittal on Thu 07. Oct, 2004 13:21

okk thanks :)
that worked for changing option in board config. and making it required in registration
but still there r three options in registration and i want only male and female
how to remove that "none specified" completely from there ?

also still it doesn't show in a topic .

hm and
if i make it so that it cant be changed then it creates problems for users already registered
and they cant select a option then
any help for that?
kunalmittal
Poster
Poster
 
Posts: 6
Joined: Mon 04. Oct, 2004 14:59

Postby kooky on Thu 07. Oct, 2004 20:35

About "none specified", if require gender is enabled this field won't be blank even if it is there
otherwise take a look in this Addon's Sticky
it might be an answer about what you need

About viewtopic, check your code something is wrong
and same thing with usercp_register.php
Maybe errors in your SQL lines
kooky
brilliant supporter
 
Posts: 1329
Joined: Tue 31. Dec, 2002 17:52
Location: Au pays des rêves

Postby Sippy on Fri 08. Oct, 2004 03:30

I installed the gender mod successfully but I do not see where they change their gender? No options in the profile and nothing under admin config tools to change it.
Sippy
Poster
Poster
 
Posts: 30
Joined: Mon 04. Oct, 2004 04:02

Next

Return to Gender [2.0.10/EM]

Who is online

Users browsing this forum: No registered users and 2 guests

cron