AJAX-Chat icon indicating copy to clipboard operation
AJAX-Chat copied to clipboard

Possibility of adding sex tag before user name

Open Neurozone opened this issue 9 years ago • 5 comments

I wonder how to add a tag like 'F' for female or 'M' for male before the user name ?

Is it possible ?

Neurozone avatar May 28 '15 23:05 Neurozone

Yes provided it is entered in their user profile

Patmacessex avatar Aug 26 '15 10:08 Patmacessex

This request would be better as a more general request for custom profile fields.

Frug avatar May 28 '16 17:05 Frug

Frug no disrespect, but I'm just reacting to a question, I haven't used AJAX chat nor will I in the near future, I'm just trying to give feedback and help when an email pops in, from the experiences I've had. That does not mean that AJAX Chat is bad, I actually think it's a great project I personally just don't have any use for it. So i would appreciate it that my feedback is valued rather then getting email like you're in the wrong forum, otherwise I will just not bother anymore

Patmacessex avatar May 28 '16 19:05 Patmacessex

It's not that hard, just pull it from a field and then add it to the chat.js. I did the same thing to get my forum's avatars.

                + '<div id="user'
                + userID
                + '" class="avatarwrapper"><a target="_blank" href="http://forum/member.php?u='
                + userID
                + '"><img src="'
                + 'http://forum/image.php?u='
                + userID
                + '" title="'
                + userName
                + '"/></a></div>'

http://i.imgur.com/iCgxiWO.jpg

aedgington avatar Jun 13 '16 04:06 aedgington

@aedgington -- Thanks for the Avatar code! I've been trying to sort out something just like this. hahah :D

BanjoFox avatar Sep 14 '16 16:09 BanjoFox