<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : User Avatar in User Menu</title>
		<link>https://www.cotonti.com</link>
		<description>Останні повідомлення в темі</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Wed, 15 Apr 2026 20:16:25 -0000</pubDate>

		<item>
			<title>pieter</title>
			<description><![CDATA[<p>Here you can see how you can find them.</p>

<p><a href="http://www.cotonti.com/docs/ext/themes/cotemplate_debug_mode">http://www.cotonti.com/docs/ext/themes/cotemplate_debug_mode</a></p>

<p> </p>
]]></description>
			<pubDate>Сб, 21 Лют 2015 12:18:00 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=5282&d=0#post40595]]></link>
		</item>
		<item>
			<title>marksjoni</title>
			<description><![CDATA[<p><span style="color:rgb(68,68,68);font-family:sans-serif;line-height:16.0030002593994px;background-color:rgb(238,238,238);">Only question is. Where can we find all the tags like {PHP.usr.profile.user_avatar}?</span><br style="color:rgb(68,68,68);font-family:sans-serif;line-height:16.0030002593994px;background-color:rgb(238,238,238);" />
ghfhgj ghjk</p>
]]></description>
			<pubDate>Сб, 21 Лют 2015 06:12:41 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=5282&d=0#post40593]]></link>
		</item>
		<item>
			<title>Kort</title>
			<description><![CDATA[Just find the variable you need in the module it belongs to <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/smile.gif" alt=":)" /> Listing all of them is one hell of a job!]]></description>
			<pubDate>Thu, 11 Лют 2010 04:19:19 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=5282&d=0#post22828]]></link>
		</item>
		<item>
			<title>pieter</title>
			<description><![CDATA[Xtemplate is very powerfull.<br />
<br />
Only question is. Where can we find all the tags like {PHP.usr.profile.user_avatar}?<br />
Is there a complete list?]]></description>
			<pubDate>Thu, 11 Лют 2010 04:13:47 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=5282&d=0#post22827]]></link>
		</item>
		<item>
			<title>scriptor</title>
			<description><![CDATA[ah cool thats simpler and update ressistance <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/smile.gif" alt=":)" /> Merci]]></description>
			<pubDate>Thu, 11 Лют 2010 03:32:00 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=5282&d=0#post22824]]></link>
		</item>
		<item>
			<title>Kort</title>
			<description><![CDATA[No need for a hack:<br />
<pre class="code">&lt;!-- IF {PHP.usr.profile.user_avatar} --&gt;
	&lt;img src=https://www.cotonti.com/&quot;{PHP.usr.profile.user_avatar}&quot; alt=&quot;{PHP.L.Avatar}&quot; /&gt;
&lt;!-- ELSE --&gt;
	&lt;img src=https://www.cotonti.com/&quot;datas/defaultav/blank.png&quot; alt=&quot;{PHP.L.Avatar}&quot; /&gt;
&lt;!-- ENDIF --&gt;</pre>]]></description>
			<pubDate>Thu, 11 Лют 2010 03:10:35 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=5282&d=0#post22823]]></link>
		</item>
		<item>
			<title>3axap</title>
			<description><![CDATA[Tnx...but how make this whithout core hack?]]></description>
			<pubDate>Thu, 11 Лют 2010 03:03:18 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=5282&d=0#post22822]]></link>
		</item>
		<item>
			<title>scriptor</title>
			<description><![CDATA[To Display the User Avatar in the User menu you must only change the header.php in the core folder.<br />
Find:<br />
<pre class="code">$t-&gt;assign(array (
			&quot;HEADER_USER_NAME&quot; =&gt; $usr&#091;'name'&#093;,
			&quot;HEADER_USER_ADMINPANEL&quot; =&gt; $out&#091;'adminpanel'&#093;,
			&quot;HEADER_USER_LOGINOUT&quot; =&gt; $out&#091;'loginout'&#093;,
			&quot;HEADER_USER_PROFILE&quot; =&gt; $out&#091;'profile'&#093;,
			&quot;HEADER_USER_PMS&quot; =&gt; $out&#091;'pms'&#093;,
			&quot;HEADER_USER_PFS&quot; =&gt; $out&#091;'pfs'&#093;,
			&quot;HEADER_USER_PMREMINDER&quot; =&gt; $out&#091;'pmreminder'&#093;,
			&quot;HEADER_USER_MESSAGES&quot; =&gt; $usr&#091;'messages'&#093;
		));</pre>
<br />
And Change it with:<br />
<pre class="code">$sql = sed_sql_query(&quot;SELECT * from sed_users WHERE user_id='&quot;.$usr&#091;'id'&#093;.&quot;' LIMIT 1&quot;);
		$row = sed_sql_fetcharray($sql);
		
		$t-&gt;assign(array (
			&quot;HEADER_USER_NAME&quot; =&gt; $usr&#091;'name'&#093;,
			&quot;HEADER_USER_ADMINPANEL&quot; =&gt; $out&#091;'adminpanel'&#093;,
			&quot;HEADER_USER_LOGINOUT&quot; =&gt; $out&#091;'loginout'&#093;,
			&quot;HEADER_USER_PROFILE&quot; =&gt; $out&#091;'profile'&#093;,
			&quot;HEADER_USER_PMS&quot; =&gt; $out&#091;'pms'&#093;,
			&quot;HEADER_USER_PFS&quot; =&gt; $out&#091;'pfs'&#093;,
			&quot;HEADER_USER_PMREMINDER&quot; =&gt; $out&#091;'pmreminder'&#093;,
			&quot;HEADER_USER_MESSAGES&quot; =&gt; $usr&#091;'messages'&#093;,
			&quot;HEADER_USER_AVATAR&quot; =&gt; $row&#091;'user_avatar'&#093;
		));</pre>
<br />
Then You can use {HEADER_USER_AVATAR} in your header.tpl <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/smile.gif" alt=":)" />]]></description>
			<pubDate>Thu, 11 Лют 2010 02:37:00 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=5282&d=0#post22821]]></link>
		</item>
	</channel>
</rss>