remove age or gender from chat and IM solved

Way to go sammie!!!

Which version(s)?

Thanks for sharing .....

Quote · 26 Sep 2008

Thanks Sammie for this one!

-

L

Quote · 26 Sep 2008

If I take the fields out completely the IM never resolves, stuck in 'Loading..'  I tried:

 

taking out the the commas

leaving them in

trying static text which will work although the default is "M"

It seems like there is some logic in the swf file that unless "F" is passed, the default is M.

 

I actually was going to write Boonex to see if they would recompile the SFW until I happened across your post on this Sammie. You have given hope maybe this can be done pretty easy. 

 

So for sure you got it working?

 

While I am on the topic of IM, it seems to be locking up IE7 when I exit the IM window.  The only thing I have changed somewhat major since the last I remember it working without locking is I installed and applied a template to change the stock look/feel.  Any ideas on where to start tracking this problem down?  I guess I can reinstall the stock templates and test but before I do, thought I'd ask.

Quote · 28 Sep 2008

Hmmm, I must not be doing something right.  I thought maybe it was because I was taking out the entire variable name and when you said just take out the word Age or Sex that it was simply a syntax thing I was doing. I posted what I have in there now but it still shows M.  It seems like all the other variables I can tweak, just not the sex.

 

If anything other than the K below is listed, the IM box displays M unless I put a F where the K is now and then it will show F in the IM box display.  That's why I'm thinking it's passing those variables to some kind of logic in the compiled flash code?  I've tried all kinds of combinations within the $sContents line. Actually as I type this I just realized it's parsing the XML file in templates so I'll go look there once I hit submit and see what's going on.

 

A couple of weeks ago I downloaded an app to decompile a swf file but unfortunately, I don't own a flash compiler to glue it back together once modified so I never tried.  Am I just being stupid on this or could it be I have something else going on werid?  Maybe something in a database table somewhere it's pulling from?

 

This code shows H, M, Offline. in the IM box:

 

 

$aUser = getUserInfo($sSndId);
  $aUser[''] = $aUser[''] == 'female' ? "K" : "H";
   $sContents .= parseXml($aXmlTemplates['user'], $sSndId, $aUser['nick'], $aUser[''],$aUser[''], $aUser['desc'], $aUser['photo'], $aUser['profile'], USER_STATUS_ONLINE);
  }
  else $sContents = parseXml($aXmlTemplates['result'], "msgUserAuthenticationFailure", FAILED_VAL);
  break;

 /**

Quote · 28 Sep 2008

sammie any chance u could explain this one a bit better?

Im trying to get rid of the genders all together on ray chat.

Or if i could have it show couples that would be great.

Ive been trying to fix this one for weeks now with no luck.

Iam running the ad free version of ray aswell.

Thanks in advance.

Quote · 24 Mar 2009

when i do as you mention in first post.........  remove "sex" from the two lines.

The gender is still in chat room.

So for me removing the sex isnt working..............any idea's at all?

Quote · 24 Mar 2009

I too need to remove the gender or have couple added. Is there a modification for this? BTW, I am getting the default "M" when I perform Sammie's edits.

Regards,

Tom

Quote · 26 Apr 2009

After messing with this for a while, I found a solution to the rogue "M" issue I was having. (after Sammie's edits) I edited the english.xml file located in ray/modules/chat/inc:

lines 15 and 16:

<item key="txtSexM"><![CDATA[M]]></item>
<item key="txtSexF"><![CDATA[F]]></item>

I removed the M & F

<item key="txtSexM"><![CDATA[]]></item>
<item key="txtSexF"><![CDATA[]]></item>

Now, the gender does not show at all in my chatroom.

-Tom

Quote · 28 Apr 2009

Hello all,

I have the same issue as descrided in this forum, but it appears that the solution that was offered by Sammie is no longer part of the post. If anyone has this info and can repost please do..

Thank you

Mel

Quote · 12 Jun 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.