<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : [REQ] Color Changer</title>
		<link>https://www.cotonti.com</link>
		<description>Last topic posts</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Sat, 11 Apr 2026 08:25:48 -0000</pubDate>

		<item>
			<title>RaisenBran</title>
			<description><![CDATA[You can make mutliple css's for one skin, I am currently doing that  <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/grin.gif" alt=":D" /> But what your doing can overwrite it.]]></description>
			<pubDate>Wed, 23 Feb 2011 11:05:04 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6180&d=0#post28514]]></link>
		</item>
		<item>
			<title>barkerb23</title>
			<description><![CDATA[1,) what tpl do i put it in?<br />
<br />
<strong>Added 50 seconds later:</strong><br />
<br />
Best is to check if the user has actually set an alternative value, like this:<br />
<br />
<br />
<pre class="code">&lt;body&lt;!-- IF {PHP.usr.profile.user_bgcolor} --&gt; style=&quot;background-color:{PHP.usr.profile.user_bgcolor}&quot;&lt;!-- ENDIF --&gt;&gt;</pre>
<br />
<br />
<br />
what?]]></description>
			<pubDate>Wed, 23 Feb 2011 09:28:02 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6180&d=0#post28513]]></link>
		</item>
		<item>
			<title>GHengeveld</title>
			<description><![CDATA[admin.php?m=users&amp;s=extrafields<br />
<br />
Name: bgcolor<br />
Type: input<br />
<br />
The rest can stay empty.]]></description>
			<pubDate>Wed, 23 Feb 2011 01:15:04 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6180&d=0#post28500]]></link>
		</item>
		<item>
			<title>barkerb23</title>
			<description><![CDATA[<blockquote><a href="https://www.cotonti.com/forums.php?m=posts&amp;p=28469#28469">#</a> <strong>Koradhil :</strong>
Best is to check if the user has actually set an alternative value, like this:<br />
<br />
<pre class="code">&lt;body&lt;!-- IF {PHP.usr.profile.user_bgcolor} --&gt; style=&quot;background-color:{PHP.usr.profile.user_bgcolor}&quot;&lt;!-- ENDIF --&gt;&gt;</pre>
</blockquote>
sorry man im a n00b. how can a user set an alternative feild? because when i do &quot;show in user profile&quot; i click yes and nothing]]></description>
			<pubDate>Wed, 23 Feb 2011 00:27:32 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6180&d=0#post28499]]></link>
		</item>
		<item>
			<title>GHengeveld</title>
			<description><![CDATA[Color codes for example. Say you have an extrafield for page background color named 'bgcolor', and you put a color code such as #FF0000 in it. Then in your TPL files you can use something like:<br />
<pre class="code">&lt;body style=&quot;background-color:{PHP.usr.profile.user_bgcolor}&quot;&gt;</pre>
This will make the background color for page body red (#FF0000).<br />
<br />
Best is to check if the user has actually set an alternative value, like this:<br />
<br />
<br />
<pre class="code">&lt;body&lt;!-- IF {PHP.usr.profile.user_bgcolor} --&gt; style=&quot;background-color:{PHP.usr.profile.user_bgcolor}&quot;&lt;!-- ENDIF --&gt;&gt;</pre>]]></description>
			<pubDate>Tue, 22 Feb 2011 06:39:57 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6180&d=0#post28469]]></link>
		</item>
		<item>
			<title>barkerb23</title>
			<description><![CDATA[what will i be putting in the extra feilds?]]></description>
			<pubDate>Tue, 22 Feb 2011 05:32:27 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6180&d=0#post28468]]></link>
		</item>
		<item>
			<title>Kingsley</title>
			<description><![CDATA[<blockquote><a href="https://www.cotonti.com/forums.php?m=posts&amp;p=28453#28453">#</a> <strong>Kort :</strong>
Codename PSP<br />
</blockquote>
<br />
lol]]></description>
			<pubDate>Mon, 21 Feb 2011 20:05:23 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6180&d=0#post28454]]></link>
		</item>
		<item>
			<title>Kort</title>
			<description><![CDATA[Codename PSP]]></description>
			<pubDate>Mon, 21 Feb 2011 18:41:47 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6180&d=0#post28453]]></link>
		</item>
		<item>
			<title>GHengeveld</title>
			<description><![CDATA[This can be done ofcourse, but you should be very aware of security issues. I suggest you don't allow direct access to CSS (and defenitely not TPL files). The easiest solution would be to use extrafields for the user profile, in which only very specific preferences (such as background color or text color) can be changed. These fields can be used in TPL files to override default values. So it doesn't require a plugin.]]></description>
			<pubDate>Mon, 21 Feb 2011 18:29:58 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6180&d=0#post28452]]></link>
		</item>
		<item>
			<title>barkerb23</title>
			<description><![CDATA[can someone make a plugin of admin tool, user tool or something so users can change the colors of the themes by their self or make a theme and use it on their profile and only their profile. so they chan change the normal like the text, link, background (etc.) color? technically making their own custom css and using it on their profile? for a certian ranked users?]]></description>
			<pubDate>Mon, 21 Feb 2011 14:38:55 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6180&d=0#post28448]]></link>
		</item>
	</channel>
</rss>