Sex in chatroom

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 :-)

 

 

Quote · 14 Apr 2012

P.S : I have spent 6 hour now trying to work this out and now pulling my hair out Cry

Quote · 14 Apr 2012

Nobody have any idea's ? Cry

Quote · 14 Apr 2012

Nobody at all have no idea how this works?

Quote · 14 Apr 2012

It's ok thanks I have worked it out how to ddo it now and can have images or letters or whole words next to the membername in chat now hehe

 

Tony :-)

Quote · 14 Apr 2012

please tell us how you managed this.

Thanks!

http://www.boonex.com/market/posts/paansystems - your resource for Dolphin Pro
Quote · 14 Apr 2012

I sure will.

It is real easy to do once you find what to edit and add but I will have to post it in the morning as just about to go out with the wife when she's finally ready! Laughing

 

Tony :-)

Quote · 14 Apr 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.