Hello, newbie here.
Can anyone tell me how to add another sex to chatroom?
I know in actions.php I can change..
this...
$aUser['sex'] = $aUser['sex'] == "female" ? "F" : "M";
to this..
if($aUser['sex'] == 'MF.Couple'){$aUser['sex'] = "F";}
if($aUser['sex'] == 'FF.Couple'){$aUser['sex'] = "F";}
if($aUser['sex'] == 'MM.Couple'){$aUser['sex'] = "F";}
if($aUser['sex'] == 'Straight.Female'){$aUser['sex'] = "F";}
if($aUser['sex'] == 'Bi.Female'){$aUser['sex'] = "M";}
if($aUser['sex'] == 'Gay.Female'){$aUser['sex'] = "M";}
if($aUser['sex'] == 'Straight.Male'){$aUser['sex'] = "M";}
if($aUser['sex'] == 'Bi.Male'){$aUser['sex'] = "M";}
if($aUser['sex'] == 'Gay.Male'){$aUser['sex'] = "M";}
And it will work and change the entry to M or F
But if I change this
if($aUser['sex'] == 'MF.Couple'){$aUser['sex'] = "F";}
to this
if($aUser['sex'] == 'MF.Couple'){$aUser['sex'] = "C";}
I don't get the C in the room, Just the M
Can anyone help please?
Tony :-)