<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Own Plugin Tag in BEGIN: USER</title>
		<link>https://www.cotonti.com</link>
		<description>Последние сообщения в теме</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Fri, 17 Apr 2026 14:26:13 -0000</pubDate>

		<item>
			<title>GHengeveld</title>
			<description><![CDATA[It's easy. In your plugin, just do this:<br />
<br />
<div class="highlight"><pre class="php">if($usr&#091;'id'&#093; &gt; 0)
{
$t-&gt;assign(array(-- YOUR TAGS --));
$t-&gt;parse('MAIN.USER');
}</pre></div>
<br />
Anything inside the USER block will be ignored if the user isn't logged. If the block will be nested inside another block, don't forget to update the parse to something like MAIN.PARENT.USER]]></description>
			<pubDate>пн, 13 сен 2010 18:09:40 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&q=5758&d=0#post26074]]></link>
		</item>
		<item>
			<title>urlkiller</title>
			<description><![CDATA[i encountered some Problems nesting the Comment-Tags in another...<br />
<br />
Maybe you make the check if the user is logged in also in your Plugin...<br />
<br />
if($userid!=0) {my tags}<br />
<br />
&lt;!-- BEGIN: USER --&gt;<br />
{REGULAR_TAGS}<br />
&lt;!-- END: USER--&gt;<br />
&lt;!-- BEGIN: YOUR_TAGS--&gt;<br />
{YOUR_TAGS}<br />
&lt;!-- END: YOUR_TAGS--&gt;]]></description>
			<pubDate>ср, 28 июл 2010 01:42:24 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&q=5758&d=0#post25377]]></link>
		</item>
		<item>
			<title>scriptor</title>
			<description><![CDATA[I want to set a TAG in the Template in the Part:<br />
   &lt;!-- BEGIN: USER --&gt;<br />
      {MY_PLUGIN_TAG}<br />
   &lt;!-- END: USER--&gt;<br />
<br />
The Tag is in my Plugin.header.php<br />
<br />
[BEGIN_SED_EXTPLUGIN]<br />
Code=sociallike<br />
Part=main<br />
File=sociallike.header<br />
Hooks=header.tags<br />
Tags=header.tpl:{SLHEADER_SOCIALLIKESTART}<br />
Minlevel=0<br />
Order=11<br />
[END_SED_EXTPLUGIN]<br />
<br />
...<br />
<br />
$t-&gt;assign(&quot;SLHEADER_SOCIALLIKENEWS&quot;,$itsactive);<br />
$t-&gt;assign(&quot;SLHEADER_SOCIALLIKESTART&quot;,$START);<br />
<br />
Can anyone help me?]]></description>
			<pubDate>ср, 28 июл 2010 01:04:00 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&q=5758&d=0#post25376]]></link>
		</item>
	</channel>
</rss>