Log in

View Full Version : Add a colored prefix


Virtualshiner
07-19-2008, 01:45 PM
Hi,

To a certain usergroup, I want to add a colored prefix so before their username.

How can I do this?

Thanks,

VS

Opserty
07-19-2008, 02:16 PM
AdminCP > Usergroups > Usergroup Manager > Edit Usergroup > Username HTML Markup.

Virtualshiner
07-19-2008, 02:52 PM
What do I have to put into the markup though?

Hex_legend
07-19-2008, 02:56 PM
<font color="red"> in the first box

</font> in the second.

change red to the color you want to show.

Opserty
07-19-2008, 02:58 PM
Search google for "color text HTML" and you're bound to get some results for further help.

Virtualshiner
07-19-2008, 03:24 PM
I couldn't seem to find it.

Anyone have the markup just for the prefix?

Hex_legend
07-19-2008, 03:34 PM
What is not to understand?

Go to usergroup options, edit usergroup, HTML markup:

First text box, enter <font color="red"> then </font> in the other.

Replace Red with your color text wanted.

Save.

Done.

Virtualshiner
07-19-2008, 03:36 PM
I want to add a prefix to the username also so for example:

me_Virtualshiner

Hex_legend
07-19-2008, 03:38 PM
you could create a custom usergroup and have the user HTML markup showing something like:

<font color="red">me_

in first box

</font> in second

Virtualshiner
07-19-2008, 03:39 PM
Thank you for your help. I will try it out.

--------------- Added 1216485749 at 1216485749 ---------------

How do I make just the prefix a color?

Hex_legend
07-19-2008, 03:44 PM
im not sure, but try:

(in first box only)

<font color="red">me_</font>

leave 2nd box blank

Virtualshiner
07-19-2008, 03:47 PM
Awesome Thanks