carloclaessen wrote:i did try that
it doesnt work, it keeps on telling gender is required
also when i use it that way people arent able to set gender on registration
hoping for a solutions
grtz Carlo
Tested and worked (for me)
Moderator: Moderators
carloclaessen wrote:i did try that
it doesnt work, it keeps on telling gender is required
also when i use it that way people arent able to set gender on registration
hoping for a solutions
grtz Carlo

<tr>
<td><span class="explaintitle">{L_GENDER}:{GENDER_REQUIRED}</span></td>
<td>
<input type="radio" {LOCK_GENDER} name="gender" value="0" {GENDER_NO_SPECIFY_CHECKED}/>
<span class="gen">{L_GENDER_NOT_SPECIFY}</span>
<input type="radio" name="gender" value="1" {GENDER_MALE_CHECKED}/>
<span class="gen">{L_GENDER_MALE}</span>
<input type="radio" name="gender" value="2" {GENDER_FEMALE_CHECKED}/>
<span class="gen">{L_GENDER_FEMALE}</span></td>
</tr><!-- BEGIN switch_user_logged_out -->
<tr>
<td><span class="explaintitle">{L_GENDER}:{GENDER_REQUIRED}</span></td>
<td>
<input type="radio" {LOCK_GENDER} name="gender" value="0" {GENDER_NO_SPECIFY_CHECKED}/>
<span class="gen">{L_GENDER_NOT_SPECIFY}</span>
<input type="radio" name="gender" value="1" {GENDER_MALE_CHECKED}/>
<span class="gen">{L_GENDER_MALE}</span>
<input type="radio" name="gender" value="2" {GENDER_FEMALE_CHECKED}/>
<span class="gen">{L_GENDER_FEMALE}</span></td>
</tr>
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
<tr>
<td><span class="explaintitle">{L_GENDER}:{GENDER_REQUIRED}</span></td>
<td>
<input type="hidden" name="gender" value="{GENDER}" />
<span class="gen">{L_GENDER_NOT_CHANGE}</span>
</td>
</tr>
<!-- END switch_user_logged_in --> 'L_GENDER_NOT_SPECIFY' =>$lang['No_gender_specify'], 'L_GENDER_NOT_CHANGE' =>$lang['No_gender_change'],$lang['Gender_require'] = 'Your Gender is required on this site.';$lang['No_gender_change'] = 'Changing Your Gender isnt Allowed';

carloclaessen wrote:kooky or -==et==- you may convert it to EM compatble, i dont support EM just mention my name
<!-- BEGIN switch_user_logged_out -->
<!-- Start add - Gender MOD -->
<tr>
<td class="row1"><span class="gen">{L_GENDER}:{GENDER_REQUIRED}</span></td>
<td class="row2">
<input type="radio" name="gender" value="1" {GENDER_MALE_CHECKED}/>
<span class="gen">{L_GENDER_MALE}</span>
<input type="radio" name="gender" value="2" {GENDER_FEMALE_CHECKED}/>
<span class="gen">{L_GENDER_FEMALE}</span></td>
</tr>
<!-- End add - Gender MOD -->
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
<!-- Start add - Gender MOD -->
<tr>
<td class="row1"><span class="gen">{L_GENDER}:{GENDER_REQUIRED}</span></td>
<td class="row2">
<input type="hidden" name="gender" value="{GENDER}">
<input type="radio" {LOCK_GENDER} name="gender" value="1" {GENDER_MALE_CHECKED}/>
<span class="gen">{L_GENDER_MALE}</span>
<input type="radio" {LOCK_GENDER} name="gender" value="2" {GENDER_FEMALE_CHECKED}/>
<span class="gen">{L_GENDER_FEMALE}</span></td>
</tr>
<!-- End add - Gender MOD -->
<!-- END switch_user_logged_in -->

Users browsing this forum: No registered users and 1 guest