<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Header avatar problems</title>
		<link>https://www.cotonti.com</link>
		<description>Son konu mesajları</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Fri, 03 Apr 2026 17:53:59 -0000</pubDate>

		<item>
			<title>jacken</title>
			<description><![CDATA[yeah i had it right were u put it. <br />
<br />
but i used ur image code instead and it worked great.<br />
<br />
thx!]]></description>
			<pubDate>Per, 13 Ağu 2009 02:02:25 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=3167&d=0#post15852]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[Where exactly do you put that in common.php?<br />
The most correct place is about line 233:<br />
<div class="highlight"><pre class="php">$usr&#091;'newpm'&#093; = $row&#091;'user_newpm'&#093;;
$usr&#091;'auth'&#093; = unserialize($row&#091;'user_auth'&#093;);
$usr&#091;'profile'&#093; = $row;
$usr&#091;'avatar'&#093; = $row&#091;'user_avatar'&#093;;</pre></div>
Alternatively, you could try using this tag to get the image source in any TPL instead without any modifications in PHP files:<br />
<div class="highlight"><pre class="html">&lt;img src=https://www.cotonti.com/&quot;{PHP.usr.profile.user_avatar}&quot; /&gt;</pre></div>]]></description>
			<pubDate>Per, 13 Ağu 2009 01:50:37 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=3167&d=0#post15850]]></link>
		</item>
		<item>
			<title>jacken</title>
			<description><![CDATA[hi dudes<br />
<br />
im trying to get the user avatar in the header under the control panel. <br />
<br />
i found this thread - <a href="http://www.cotonti.com/forums.php?m=posts&amp;p=13554">http://www.cotonti.com/forums.php?m=posts&amp;p=13554</a><br />
and ive done like medj did.<br />
<br />
in common.php i added <br />
<div class="highlight"><pre class="php">$usr&#091;'avatar'&#093; = $row&#091;'user_avatar'&#093;;</pre></div>
<br />
in header.php i added<br />
<div class="highlight"><pre class="php">&quot;HEADER_USER_AVATAR&quot; =&gt; sed_build_userimage($usr&#091;'user_avatar'&#093;, 'avatar'),</pre></div>
<br />
and in the header tpl file i added {HEADER_USER_AVATAR} where i wanted it.<br />
<br />
the problem is that it only gives me a pic of the default avatar instead of the one that the user is using<br />
<br />
all help is appreciated]]></description>
			<pubDate>Per, 13 Ağu 2009 00:29:16 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=3167&d=0#post15845]]></link>
		</item>
	</channel>
</rss>