<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Usergroup specific block</title>
		<link>https://www.cotonti.com</link>
		<description>Son konu mesajları</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Wed, 15 Apr 2026 10:00:45 -0000</pubDate>

		<item>
			<title>Eugene</title>
			<description><![CDATA[<p>
	Hello!</p>
<p>
	This global variable - $usr - is not containing info about user groups - just <strong>main group</strong>. That's because just maingroup is stored in users table of DB. All other groups stored in other table.</p>
<p>
	As I understand, all needed calculations for auth goes on the fly for specific user in specific part of Site.</p>
<p>
	I would suggest using LEVEL {PHP.usr.level} - at least i helped me, as I was filtering anyone LOWER that "elite" ))</p>
<p>
	Also, if just this group has ADMIN rights for this category - you just may filter them by</p>
<pre class="brush:xml;">
&lt;!-- IF {PHP.usr.isadmin} --&gt;</pre>
<p>
	try.</p>
]]></description>
			<pubDate>Pzt, 28 Oca 2013 11:45:19 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=7315&d=0#post36897]]></link>
		</item>
		<item>
			<title>Kingsley</title>
			<description><![CDATA[<p>
	I want a block on the mainpage which is only visible to a certain group. This group will not be the users main group, but a subgroup which allows them to post newsitems. To make this easier, I created a block that contains quick links to all categories.</p>
<p>
	 </p>
<p>
	I used &lt;!-- IF {PHP.usr.group} == 15 --&gt;</p>
<p>
	But it doesnt show. I know I am probably the one that's faulty, but I dont know what exactly. little help plz :)</p>
<p>
	 </p>
]]></description>
			<pubDate>Çrş, 23 Oca 2013 16:58:07 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=7315&d=0#post36869]]></link>
		</item>
	</channel>
</rss>