<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Colored username?</title>
		<link>https://www.cotonti.com</link>
		<description>Last topic posts</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Mon, 06 Apr 2026 04:42:32 -0000</pubDate>

		<item>
			<title>Dyllon</title>
			<description><![CDATA[<p>
	Its on the back burner for now. Im a little too busy with school and work at the moment.</p>
]]></description>
			<pubDate>Thu, 22 Mar 2012 15:49:04 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6838&d=0#post33618]]></link>
		</item>
		<item>
			<title>Kingsley</title>
			<description><![CDATA[<p>
	{blabla_USERMAINGRP} blabla depending on what tpl it is used..</p>
<p>
	 </p>
<p>
	@ dyllon</p>
<p>
	how's the social plugin coming along?</p>
]]></description>
			<pubDate>Thu, 22 Mar 2012 15:19:48 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6838&d=0#post33617]]></link>
		</item>
		<item>
			<title>pieter</title>
			<description><![CDATA[<p>
	Or you can do it with CSS</p>
<p>
	Make a class for each color. And use the rankname in it.</p>
<p>
	rankname1_color<br />
	rankname2_color<br />
	.....</p>
<p>
	And add the class to the username with the rankname variable init. (class={rankname}_color)</p>
<p>
	I don't know the tag to display the rankname (I used above {rankname} as example)</p>
]]></description>
			<pubDate>Thu, 22 Mar 2012 07:18:07 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6838&d=0#post33614]]></link>
		</item>
		<item>
			<title>Dyllon</title>
			<description><![CDATA[<p>
	I don't know what your intentions are in terms of changing the colors, but if you are familiar with PHP this is the function you would have to alter:</p>
<p>
	<em>system/functions.php <strong>Line 1710</strong></em></p>
<pre class="brush:php;">
function cot_build_user($id, $user, $extra_attrs = '')
{
	global $cfg;

	if (!$id)
	{
		return empty($user) ? '' : $user;
	}
	else
	{
		return empty($user) ? '?' : cot_rc_link(cot_url('users', 'm=details&amp;id='.$id.'&amp;u='.$user), $user, $extra_attrs);
	}
}</pre>
]]></description>
			<pubDate>Thu, 22 Mar 2012 02:48:27 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6838&d=0#post33612]]></link>
		</item>
		<item>
			<title>young mone</title>
			<description><![CDATA[<p>
	How would i be able to have users in a rank have colored usernames? </p>
]]></description>
			<pubDate>Wed, 21 Mar 2012 22:04:40 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6838&d=0#post33610]]></link>
		</item>
	</channel>
</rss>