Discuss anything regarding coding in here (PHP, mySQL, HTML, CSS, etc)
User avatar
Posts: 4
Joined: 10 Oct 2014, 05:43


by Idodesigns 14 Nov 2014, 04:18


I want to change the name of the user in chat window. Now the full name is showing perfectly. I want to add a suffix to the name according to his membership.

For eg: If one is a student member, then 'Jhon George , Student' must be shown. Now Jhon George is showing. How to add, this 'Student' ?

Thanks in advance.
User avatar
Posts: 3
Joined: 29 Sep 2014, 10:30


by intherooms 19 Feb 2015, 16:45

I'm not a good coder, but the pseudocode would involve adding him to a group called 'Student' and then on the user name display line in the code appending [Group]. I'm sure someone can point to the right code for you