<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Moar questions ;)</title>
		<link>https://www.cotonti.com</link>
		<description>Останні повідомлення в темі</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Tue, 07 Apr 2026 18:05:55 -0000</pubDate>

		<item>
			<title>lukgoh</title>
			<description><![CDATA[<blockquote>
	<a href="https://www.cotonti.com/forums?m=posts&amp;p=32798%2332798">#32798</a> <strong>Kingsley: </strong>
	<p>
		if you change the type of field, base html should change accordingly, right? mine doesn't. They  save no content either. ;( but only with the pages, user xtrafields seem to function correctly.</p>
</blockquote>
I was wondering about this also...
]]></description>
			<pubDate>Thu, 19 Січ 2012 22:57:47 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=30#post32799]]></link>
		</item>
		<item>
			<title>Kingsley</title>
			<description><![CDATA[<p>
	More questions.. about extrafields (pages)..</p>
<p>
	if you change the type of field, base html should change accordingly, right? mine doesn't. They  save no content either. ;( but only with the pages, user xtrafields seem to function correctly.</p>
<p>
	And in my forums with some sections the line <em>Discussions: 0 Messages: 0 </em>isnt displayed. No idea howcome :(</p>
<p>
	 And last but not least; how does the group.tpl work under siena?</p>
]]></description>
			<pubDate>Thu, 19 Січ 2012 21:03:17 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=30#post32798]]></link>
		</item>
		<item>
			<title>lukgoh</title>
			<description><![CDATA[<p>
	Ah resources, interesting. Thank you Dyllon.</p>
<p><strong>Added 35 minutes later:</strong></p><p>
	Just incase anyone else is interested in this <a href="http://www.cotonti.com/page/resource_strings">http://www.cotonti.com/page/resource_strings</a></p>
]]></description>
			<pubDate>Ср, 18 Січ 2012 23:37:30 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=30#post32779]]></link>
		</item>
		<item>
			<title>Dyllon</title>
			<description><![CDATA[<p>
	The html output from the avatar tag comes from the plugin's resource file. If you open <strong>plugins/userimages/inc/userimages.resources.php</strong> on line 9 you find this:</p>
<pre class="brush:php;">
$R['userimg_img'] = '&lt;img src="https://www.cotonti.com/{$src}" alt="{$alt}" class="userimg {$class}" /&gt;';
</pre>
<p>
	That is where it comes from. In your case of modifying the size of the avatar you would use this css</p>
<pre class="brush:css;">
#useravatar img.avatar {
	width:45px;
	height:45px;
}</pre>
]]></description>
			<pubDate>Ср, 18 Січ 2012 23:24:03 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=30#post32778]]></link>
		</item>
		<item>
			<title>pieter</title>
			<description><![CDATA[<blockquote>
	<a href="https://www.cotonti.com/forums?m=posts&amp;p=32773%2332773">#32773</a> <strong>lukgoh: </strong><br /><p>
		I think it was looking in the core files, I saw how Cot builds its tags. </p>
	<pre class="brush:php;">
$t-&gt;assign(cot_generate_usertags($urr, 'USERS_DETAILS_', '', true));</pre>
	<p>
		Without looking at it again I thought $urr carried stuff over to other parts. Anyways if in the database a users avatar is stored as a link to the image, so "datas/avatars/imagename.jpg" then the tag should only put out "datas/avatars/imagename.jpg" so I don't understand where it is getting the "&lt;img src="" /&gt; part from, to be able to just use the tag in your tpl file to display the image? It's a little confusing... </p>
</blockquote>
]]></description>
			<pubDate>Ср, 18 Січ 2012 18:13:08 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=30#post32777]]></link>
		</item>
		<item>
			<title>Dyllon</title>
			<description><![CDATA[What exactly is your question again? Maybe I can be of assistance :P]]></description>
			<pubDate>Ср, 18 Січ 2012 18:02:49 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=30#post32776]]></link>
		</item>
		<item>
			<title>lukgoh</title>
			<description><![CDATA[<p>
	Maybe one of the Cot developers can awnser this question, might help with my extension developments...</p>
]]></description>
			<pubDate>Ср, 18 Січ 2012 16:50:39 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=30#post32775]]></link>
		</item>
		<item>
			<title>Kingsley</title>
			<description><![CDATA[<p>
	Maybe they've set the img scr part as default for that particular tag? As long as I can remember the output is given that way (eversince seditio, cant remember if LDU had the same)</p>
]]></description>
			<pubDate>Ср, 18 Січ 2012 16:44:05 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=0#post32774]]></link>
		</item>
		<item>
			<title>lukgoh</title>
			<description><![CDATA[<p>
	I think it was looking in the core files, I saw how Cot builds its tags. </p>
<pre class="brush:php;">
$t-&gt;assign(cot_generate_usertags($urr, 'USERS_DETAILS_', '', true));</pre>
<p>
	Without looking at it again I thought $urr carried stuff over to other parts. Anyways if in the database a users avatar is stored as a link to the image, so "datas/avatars/imagename.jpg" then the tag should only put out "datas/avatars/imagename.jpg" so I don't understand where it is getting the "&lt;img src="" /&gt; part from, to be able to just use the tag in your tpl file to display the image? It's a little confusing... </p>
]]></description>
			<pubDate>Ср, 18 Січ 2012 16:42:01 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=0#post32773]]></link>
		</item>
		<item>
			<title>Kingsley</title>
			<description><![CDATA[<div class="translatable">
	<p>
		again, it is Siena. The mistake I made was class instead of id.</p>
</div>
<p>
	 </p>
]]></description>
			<pubDate>Ср, 18 Січ 2012 16:37:42 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=0#post32772]]></link>
		</item>
		<item>
			<title>lukgoh</title>
			<description><![CDATA[<p>
	Yeah, as I said for this to work:</p>
<pre class="brush:xml;">
&lt;div id="useravatar"&gt;{USERS_DETAILS_AVATAR}&lt;/div&gt;</pre>
<p>
	The tag would have to output the image tags as well. I am guessing you are not using Siena because as far as I know tags do not output any html. </p>
<p>
	Also I noticed you used this tag: {PHP.urr.user_name} I thought that would only load the username for who ever is logged in for some reason, but I checked and it doesn't on your site, which is also interesting. I guess I do not understand Cotonti as well as I thought. </p>
<p>
	Well everyday is a school day, thanks for taking the time to paste this dude. </p>
<p><strong>Added 5 minutes later:</strong></p><p>
	Also I noticed in your profile pages, example: user/demo if you have not selected a country or sex, etc it displays: <a href="http://www.killbox1alpha.nl/index.php?e=users&amp;f=country_00" rel="nofollow" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;font-size:11px;vertical-align:baseline;background-color:rgb(233,233,233);color:rgb(17,17,17);text-decoration:none;font-family:Georgia, serif;line-height:17px;" title="---"><img alt="00" class="flag" src="http://www.killbox1alpha.nl/images/flags/00.png" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;vertical-align:baseline;background-color:transparent;" /></a><span style="font-family:Georgia, serif;font-size:11px;line-height:17px;background-color:rgb(233,233,233);"> </span><a href="http://www.killbox1alpha.nl/index.php?e=users&amp;f=country_00" rel="nofollow" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;font-size:11px;vertical-align:baseline;background-color:rgb(233,233,233);color:rgb(17,17,17);text-decoration:none;font-family:Georgia, serif;line-height:17px;" title="---">---</a><span style="font-family:Georgia, serif;font-size:11px;line-height:17px;background-color:rgb(233,233,233);">  | </span> you can tidy this up with the IF statments ;)</p>
]]></description>
			<pubDate>Ср, 18 Січ 2012 16:30:01 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=0#post32770]]></link>
		</item>
		<item>
			<title>Kingsley</title>
			<description><![CDATA[<p>
	Lé HTML</p>
<pre class="brush:xml;">
&lt;div id="userid"&gt;

&lt;div id="useravabox"&gt;
    &lt;div id="useravatar"&gt;{USERS_DETAILS_AVATAR}&lt;/div&gt;
&lt;/div&gt;
&lt;div id="usernamebox"&gt;
    &lt;p style="font-size: 20px; margin-bottom:-18px; font-weight:bold;"&gt;{PHP.urr.user_name}&lt;/p&gt;&lt;br /&gt;
    &lt;p class="small" style="vertical-align:middle;"&gt;{USERS_DETAILS_COUNTRYFLAG} {USERS_DETAILS_COUNTRY} &amp;nbsp;|&amp;nbsp; {USERS_DETAILS_GENDER}&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
    &lt;hr class="userhr" /&gt;
    &lt;p class="small" style="vertical-align:middle; text-indent: 5px;"&gt;&lt;strong&gt;Last seen:&lt;/strong&gt; {PHP.urr.user_lastlog|cot_date('l, F d, Y', $this)} &lt;strong&gt;time:&lt;/strong&gt; {PHP.urr.user_lastlog|cot_date('H:i', $this)}&lt;/p&gt;
&lt;/div&gt;

&lt;/div&gt;

</pre>
<p>
	Lé CSS</p>
<pre class="brush:css;">
#userid
    {
    line-height: 15px;
    padding: 15px;
    }
    
.userhr
    {
    border-top: 1px solid #d2d2d2; border-bottom: 1px solid #efefef; border-left:0px; border-right:0px; height: 1px; border-collapse: collapse;
    }
    
#useravabox
    {
    width: 45px; 
    float: left; 
    padding: 3px; 
    border: 1px solid #d2d2d2; 
    margin-bottom: 4px;
    }
    
#useravatar img
    {
    width: 45px;
    height: 45px;    
    }
    
#usernamebox
    {
    width: 655px; 
    float: right; 
    line-height: 23px; 
    border: 0px solid #000;
    }</pre>
<p>
	<strong>Added 27 seconds later:</strong></p>
<p>
	Replaced the code just now, cleaned it up a bit for you.</p>
]]></description>
			<pubDate>Ср, 18 Січ 2012 16:00:16 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=0#post32769]]></link>
		</item>
		<item>
			<title>lukgoh</title>
			<description><![CDATA[<p>
	Thats what I mean though, if you dont have to put &lt;img src="https://www.cotonti.com/..." /&gt; in your tpl file and you are only using a tag to display the avatar then the tag must output the html for it to work. would you mind just pasting the line of code for the avatar please?</p>
]]></description>
			<pubDate>Ср, 18 Січ 2012 14:20:31 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=0#post32756]]></link>
		</item>
		<item>
			<title>Kingsley</title>
			<description><![CDATA[<p>
	think the output isn't html at all, seeing you don't need to add &lt;img scr"..."/&gt;. and that's were I went wrong.<br /><br />
	You telling me it should be an id, in stead of a class made me thinking and adjusting it, with a working result.</p>
]]></description>
			<pubDate>Ср, 18 Січ 2012 14:17:17 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=0#post32755]]></link>
		</item>
		<item>
			<title>lukgoh</title>
			<description><![CDATA[<p>
	So just so I understand you properly, the tag you are using is putting out html otherwise it wouldn't work? </p>
]]></description>
			<pubDate>Ср, 18 Січ 2012 14:09:09 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=0#post32753]]></link>
		</item>
		<item>
			<title>Kingsley</title>
			<description><![CDATA[<p>
	You were very close Mr. Skywalker.. but the winner is:</p>
<p>
	the avatar img css with only the tag, so not the img scr part..</p>
<p>
	As you can see, now it works!</p>
<p>
	Thx for thinking along :) it's appriciated!!<br />
	 </p>
<p><strong>Added 3 minutes later:</strong></p><p>
	It's always nice when annoying little things that take way to much time are getting solved.. dunno, but it makes me smile and feel satisfied..<br />
	Now continuing work on teh theme!!<br />
	 </p>
]]></description>
			<pubDate>Ср, 18 Січ 2012 13:46:58 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=0#post32751]]></link>
		</item>
		<item>
			<title>lukgoh</title>
			<description><![CDATA[<p>
	Yeah I can't remember which of your css files I found it in. I think it was default.css or styles.css, something like that...</p>
<p>
	If you are giving it it's own div then you should try the method I gave you before, so if its like this: &lt;div id="divname"&gt;&lt;img src="https://www.cotonti.com/imge"&gt;&lt;/div&gt; then in your css you would need to put it like this: #divname img {width: xxpx; height: xxpx;} at the very least you can see if any other styles in your css are conflicting, causing it to ignor your new style...</p>
<p><strong>Added 1 minute later:</strong></p><p>
	But also check the core files to make sure that what ever tag you are using is not putting out html, just to make sure, it doesn't look like it is... </p>
]]></description>
			<pubDate>Ср, 18 Січ 2012 13:39:48 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=0#post32750]]></link>
		</item>
		<item>
			<title>Kingsley</title>
			<description><![CDATA[<pre class="brush:css;">
#avatar{
  width:35px;
  height:35px;
}

You found this in my css files? Cute, coz i cant find it..
</pre>
<p class="brush:css;">
	<br />
	Have changed it so that the avatar now has a div of it's own, but it's still not taking the dimensions I give it.<br />
	have to admit that I have nver succeeded with adapting the ava on user details on previous skins.<br /><br />
	Will just remove it from there, and give it an place where it can has it's set dimensions.</p>
]]></description>
			<pubDate>Ср, 18 Січ 2012 13:19:13 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=0#post32748]]></link>
		</item>
		<item>
			<title>lukgoh</title>
			<description><![CDATA[<p>
	Yeah that makes sense. The only problem he is having is he cant resize the avatar but that is because as I said before the width and hight values are being set in the html...</p>
<p><strong>Added 18 hours later:</strong></p><p>
	I have to apologise Kingsley, I was looking at the wrong part like an idiot... </p>
<p>
	Ok having a look at your css and html I can see you are setting the dimensions for the box the avatar image is inside but I can't see where you are setting the dimensions for the avatar image itself. As I set an avatar of 100 x 100px I can see that it pushes itself well out of the box set to 45 x 45px. </p>
<pre class="brush:css;">
#userava
    {
    float: left; 
    padding: 3px; 
    border: 1px solid #d2d2d2; 
    margin-bottom: 4px;
    }
    
.useravabox
    {
    width: 45px;
    height: 45px;
    }</pre>
<p>
	So where can I find the css for the classes userimg and avatar? As one of these should have the dimensions you wish to set the image for...</p>
<p><strong>Added 5 minutes later:</strong></p><p>
	Okay, I found this:</p>
<pre class="brush:css;">
#avatar{
  width:35px;
  height:35px;
}</pre>
<p>
	This needs to be a class so swap # with .</p>
<p><strong>Added 11 minutes later:</strong></p><p>
	Or perhaps that is for something else altogether, I cannot tell... </p>
]]></description>
			<pubDate>Вт, 17 Січ 2012 18:26:34 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=0#post32733]]></link>
		</item>
		<item>
			<title>uznik73</title>
			<description><![CDATA[<p>
	On my test site with siena work like this:</p>
<pre class="brush:xml;">
&lt;img id="avatar" src="https://www.cotonti.com/{PHP.usr.profile.user_avatar}" /&gt;</pre>
<p>
	and in css file use "#avatar {width:75px}" it works....</p>
<p><strong>Добавлено 19 минут спустя:</strong></p><p>
	No i dont see it after logout but if it need</p>
<pre class="brush:xml;">
&lt;img id="avatar" src="
				&lt;!-- IF {PHP.usr.profile.user_avatar} --&gt;
				{PHP.usr.profile.user_avatar}
				&lt;!-- ELSE --&gt;
				themes/{PHP.theme}/img/blank.png
				&lt;!-- ENDIF --&gt;
				" alt="{PHP.L.Avatar}"  /&gt;</pre>
<p>
	If user have avatar he see it, if not hel see img blank. And guests see blank avatar.. </p>
<p>
	sorry for my English</p>
]]></description>
			<pubDate>Вт, 17 Січ 2012 17:59:31 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=0#post32731]]></link>
		</item>
		<item>
			<title>lukgoh</title>
			<description><![CDATA[<p>
	oh, are you not using Siena? As {USERS_DETAILS_AVATAR} should put out: "datas/avatars/file.jpg" so yeah &lt;img src="https://www.cotonti.com/{USERS_DETAILS_AVATAR}" width="xx" height="xx" /&gt; that would work. </p>
<p>
	Anyway after logging in and looking at your html code it is setting the width and hight in your html. You need to remove the width and height from the image tag.</p>
<p><strong>Added 1 minute later:</strong></p><pre class="brush:xml;">
&lt;img src="https://www.cotonti.com/datas/defaultav/blank.png" alt="Avatar" width="75px" height="75px"&gt;</pre>
<p><strong>Added 1 minute later:</strong></p><p>
	If the tag is producing HTML (Which it shouldn't) then you will need to edit the tag in it's php file (very minor core hack). </p>
]]></description>
			<pubDate>Вт, 17 Січ 2012 17:55:48 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=0#post32730]]></link>
		</item>
		<item>
			<title>Kingsley</title>
			<description><![CDATA[<p>
	Oops, was demo1.. corrected it, pass now is demo :)</p>
<p>
	&lt;img src="https://www.cotonti.com/{USERS_DETAILS_AVATAR}" width="xx" height="xx" /&gt; this would not work to begin with coz output in html would have been</p>
<p>
	&lt;img src=" &lt;&lt;AVATARIMAGE&gt;&gt; width="xx" height="xx" /&gt;</p>
<p>
	so no, never use this combo</p>
<p>
	It was, however, when I used that other tag I mentioned {PHP.urr.user_avatar} but that was before you told me that that one only works for the durrent logged in user..</p>
]]></description>
			<pubDate>Вт, 17 Січ 2012 17:36:10 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=0#post32729]]></link>
		</item>
		<item>
			<title>lukgoh</title>
			<description><![CDATA[<p>
	Sorry Kingsley, I couldn't log in with those details but I noticed for the default avatar the size is being set in its HTML, perhaps this is also happening with all avatars? </p>
<p>
	<strong>Added 3 minutes later:</strong></p>
<p>
	Is the avatar image like this in the tpl file: &lt;img src="https://www.cotonti.com/{USERS_DETAILS_AVATAR}" width="xx" height="xx" /&gt; because you would need to remove the width and hight values </p>
<p>
	The only other thing I can think of is moving the id from your opening table tag  to the td tag just before the image tag...</p>
]]></description>
			<pubDate>Вт, 17 Січ 2012 17:19:54 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=0#post32728]]></link>
		</item>
		<item>
			<title>uznik73</title>
			<description><![CDATA[<p>
	<strong>Kingsley, try:</strong></p>
<p>
	<strong><em>index.css</em></strong></p>
<pre class="brush:css;">
#user2 img {
height: 100px;
width: 100px;
}</pre>
]]></description>
			<pubDate>Вт, 17 Січ 2012 17:19:38 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=0#post32727]]></link>
		</item>
		<item>
			<title>Kingsley</title>
			<description><![CDATA[<p>
	Did it exactly like you said..</p>
<p>
	see for yourself..</p>
<p>
	www.killbox1alpha.nl</p>
<p>
	<strong>user:</strong> demo <strong>pass:</strong> demo</p>
]]></description>
			<pubDate>Вт, 17 Січ 2012 16:02:22 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=0#post32722]]></link>
		</item>
		<item>
			<title>lukgoh</title>
			<description><![CDATA[<p>
	Can you pastebin your code?</p>
<p><strong>Added 3 hours later:</strong></p><p>
	Should be something like:</p>
<p>
	&lt;div id="divname"&gt;{USERS_DETAILS_AVATAR}&lt;/div&gt; then in your css: #divname img {width: xxpx; height xxpx;} </p>
<p>
	or you could try:</p>
<p>
	&lt;div id="divname" class="classname"&gt;{USER_DETAILS_AVATAR}&lt;/div&gt; then in your css: .classname img {width: xxpx; height: xxpx;}</p>
<p>
	I am not sure why this wouldn't change the height and width of the avatar...</p>
]]></description>
			<pubDate>Вт, 17 Січ 2012 09:58:56 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=0#post32712]]></link>
		</item>
		<item>
			<title>Kingsley</title>
			<description><![CDATA[<p>
	:( nope... avatar stays original size..</p>
]]></description>
			<pubDate>Вт, 17 Січ 2012 00:44:53 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=0#post32705]]></link>
		</item>
		<item>
			<title>lukgoh</title>
			<description><![CDATA[<p>
	Your welcome.</p>
]]></description>
			<pubDate>Пн, 16 Січ 2012 19:48:52 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=0#post32698]]></link>
		</item>
		<item>
			<title>Kingsley</title>
			<description><![CDATA[<p>
	thx luke..</p>
]]></description>
			<pubDate>Пн, 16 Січ 2012 19:40:12 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=0#post32696]]></link>
		</item>
		<item>
			<title>lukgoh</title>
			<description><![CDATA[<p>
	Yeah I think you need to use {USERS_DETAILS_AVATAR} as I think {PHP.usr.profile.user_avatar} shows the avatar of the user that is logged in. If you want to adjust the height and width of the avatar you can place the tag inside a div and then using css to do something like: #divname img {height: XXpx; width: xxpx;} - I think that might be the best way to do it...</p>
<p>
	Luke.</p>
]]></description>
			<pubDate>Пн, 16 Січ 2012 17:19:35 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=0#post32688]]></link>
		</item>
		<item>
			<title>Kingsley</title>
			<description><![CDATA[<p>
	well, the problem is that the avatar doesn't show when a guest is visiting the profile page. Then the word avatar is displayed. Moment of logging in, it shows again.<br /><br />
	Am using the tag: {PHP.usr.profile.user_avatar} because of the fact that I now can adjust the height and with of the avatar on the details page..</p>
]]></description>
			<pubDate>Пн, 16 Січ 2012 15:22:35 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=0#post32682]]></link>
		</item>
		<item>
			<title>lukgoh</title>
			<description><![CDATA[<p>
	You coul try something like: &lt;-- IF {USERS_DETAILS_ID} == {PHP.user_id} (not sure if that's right.) --&gt; custom block &lt;-- ENDIF --&gt; as for your avatar problem are you using the correct tag? Luke.</p>
<p>
	<strong>Added 2 minutes later:</strong></p>
<p>
	Infact look at the Symisun03 theme. I am pretty sure it uses the if statements to show content if the logged in user is looking at their own profile...</p>
]]></description>
			<pubDate>Пн, 16 Січ 2012 14:50:48 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=0#post32680]]></link>
		</item>
		<item>
			<title>Kingsley</title>
			<description><![CDATA[<p>
	@ Pieter<br />
	 </p>
<p>
	will do that after ze theme is finished.</p>
<p><strong>Added 1 hour later:</strong></p><p>
	another question:</p>
<p>
	When logged out, the (user) avatar doesn't show on their profile page. Logged in, everything is fine. Any idea howcome?</p>
<p><strong>Added 21 minutes later:</strong></p><p>
	Oh, and I want a specific block only to appear when a user visits it's own profile page (for new p.m. amount and new profile message/new friend request<br />
	 </p>
<p>
	I guess I can achieve that with if/endif.. but dunno what kind of if/endif, clou plz.. ;)</p>
]]></description>
			<pubDate>Пн, 16 Січ 2012 09:29:45 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=0#post32673]]></link>
		</item>
		<item>
			<title>pieter</title>
			<description><![CDATA[<p>
	Maybe you can write a tutorial how you did it. Like I did for a gallery with PAGEAVATAR.</p>
<p>
	Put it here: <a href="http://www.cotonti.com/docs/plugin/">http://www.cotonti.com/docs/plugin/</a></p>
]]></description>
			<pubDate>Пн, 16 Січ 2012 07:46:31 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=0#post32672]]></link>
		</item>
		<item>
			<title>Kingsley</title>
			<description><![CDATA[<p>
	well, actually, I've managed to fix this with html, css, a tag and the pageavatar plugin. Result will be shown shortly :)</p>
<p>
	It's a pretty nifty solution, if I say so myself. You will probably go: "Could've told ya that, dumbass!" but nevertheless.. xD</p>
]]></description>
			<pubDate>Пн, 16 Січ 2012 02:28:32 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=0#post32667]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[<p>
	So you want something like "image roulette" for categories in the news. Each new page "shoots" next image from its category.</p>
<p>
	Kinda tricky. If you have as many images as pages in the cat, then using PageAvatar for each page is a better idea. But if you really want a roulette which turns another round if there are more pages than icons, then you need a plugin that would:</p>
<ul><li>
		store comma separated URLs to images in configs for each category (like page module stores configs for each category with BEGIN_COT_EXT_CONFIG_STRUCTURE <a href="https://github.com/Cotonti/Cotonti/blob/master/modules/page/page.setup.php" rel="nofollow">here</a>);</li>
	<li>
		hook into news (or pagetags), and for each page fetch an image from config and increase the roulette counter for its category;</li>
	<li>
		whenever counter passes the number of images in its category, it starts again with 0.</li>
</ul>]]></description>
			<pubDate>Сб, 14 Січ 2012 18:40:37 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=0#post32625]]></link>
		</item>
		<item>
			<title>Kingsley</title>
			<description><![CDATA[<p>
	I want to use an x amount of images for one (page) category. I want it to select the next image in line when a new page is added to a given category.<br /><br />
	So when on my index and having 3 of the same category news items, they'll all show a different cat icon..<br /><br />
	No clue on how I can achieve this, and how it's called ( &lt;-this usally is my biggest problem).. so does anyone feel up to learning this dude some new stuff??</p>
<p>
	 </p>
<p>
	thx..</p>
]]></description>
			<pubDate>Сб, 14 Січ 2012 17:21:38 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6727&d=0#post32616]]></link>
		</item>
	</channel>
</rss>