Quote:
Originally Posted by COBRAws
yep, when u go back and edit something at the page where u select the gender, it goes back to blank (or ------), any way to save it? Maybe implementing this as a hack, not a template edit. It would be handy. Thanks
|
In Template
modifyprofile find:
Code:
<!--- gender field by tnguy3n --->
<fieldset class="fieldset">
<legend>Gender</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
<tr>
<td colspan="2">Tell people about your gender.</td>
</tr>
<tr>
<td><select name="gender">
<option value="0" <if condition="$bbuserinfo[gender] == Unknown">selected</if>>----</option>
<option value="1" <if condition="$bbuserinfo[gender] == Female">selected</if>>Female</option>
<option value="2" <if condition="$bbuserinfo[gender] == Male">selected</if>>Male</option>
</select></td>
</tr>
</table>
</fieldset>
<!--- end gender field --->
Replace with:
Code:
<!--- gender field by tnguy3n --->
<fieldset class="fieldset">
<legend>Gender</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
<tr>
<td colspan="2">Your gender</td>
</tr>
<tr>
<td><select name="gender">
<option value="0" <if condition="$bbuserinfo[gender] == 0">selected</if>>----</option>
<option value="1" <if condition="$bbuserinfo[gender] == 1">selected</if>>Female</option>
<option value="2" <if condition="$bbuserinfo[gender] == 2">selected</if>>Male</option>
</select></td>
</tr>
</table>
</fieldset>
<!--- end gender field --->