<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : PHP.out?</title>
		<link>https://www.cotonti.com</link>
		<description>Останні повідомлення в темі</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Sun, 12 Apr 2026 17:42:36 -0000</pubDate>

		<item>
			<title>Trustmaster</title>
			<description><![CDATA[Try assigning it a tag:<br />
<div class="highlight"><pre class="php">$t-&gt;assign('PLUGIN_ROSTER_STATUS', $status);</pre></div>]]></description>
			<pubDate>Сб, 25 Лип 2009 05:34:10 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=2770&d=0#post14879]]></link>
		</item>
		<item>
			<title>Dave</title>
			<description><![CDATA[i wont give up, ill keep trying ... thx for help, i hope i can count on u :P<br /><br /><b>Added 6 minutes later:</b><br /><br />i tryed:  {PHP.status} {PHP.out.q3roster} .. no result ...<br />
<br />
ill try to make it like minichat, plugin.index.php (with tags inside)]]></description>
			<pubDate>Сб, 25 Лип 2009 04:05:56 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=2770&d=0#post14875]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[It doesn't need Hooks=global. But that's really strange {PHP.status} doesn't work for you]]></description>
			<pubDate>Сб, 25 Лип 2009 03:42:09 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=2770&d=0#post14874]]></link>
		</item>
		<item>
			<title>Dave</title>
			<description><![CDATA[<blockquote><a href="https://www.cotonti.com/forums.php?m=posts&amp;p=14145#14145">#</a> <strong>Trustmaster :</strong>
Wait 2 days for 0.0.6 release and {PHP.status} will work for you there.<br />
</blockquote>
<br />
so will it be correct? atm i updated to: <a href="http://www.cotonti.com/downloads/releases/cotonti_genoa_6">http://www.cotonti.com/downloads/releases/cotonti_genoa_6</a> and this isnt working :s<br />
<br />
or simply should i try to make roster.index.php and include tags inside? and what about that global thing if its not Hooks=global? :s]]></description>
			<pubDate>Сб, 25 Лип 2009 01:43:23 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=2770&d=0#post14864]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[Wait 2 days for 0.0.6 release and {PHP.status} will work for you there.]]></description>
			<pubDate>Пн, 13 Лип 2009 23:16:49 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=2770&d=0#post14145]]></link>
		</item>
		<item>
			<title>Dave</title>
			<description><![CDATA[mine english and php knowlage lack here  <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/confused.gif" alt=":-/" /> so any tips how to do it?<br />
<br />
*bump*]]></description>
			<pubDate>Пн, 13 Лип 2009 13:30:49 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=2770&d=0#post14123]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[No, he meant it has to be in global scope.]]></description>
			<pubDate>Пн, 13 Лип 2009 13:24:34 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=2770&d=0#post14122]]></link>
		</item>
		<item>
			<title>Dave</title>
			<description><![CDATA[i tryed Hooks=global, is that what u mean?]]></description>
			<pubDate>Пн, 13 Лип 2009 12:33:24 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=2770&d=0#post14120]]></link>
		</item>
		<item>
			<title>Lombi</title>
			<description><![CDATA[It also needs to exist globally or at least in that location. So if it's not in the location you want to place it in (whatever.tags) try to make that part global.<br />
<br />
Then it'll work :)]]></description>
			<pubDate>Пн, 13 Лип 2009 07:02:52 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=2770&d=0#post14115]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[It depends on when you link to that variable. In Cotonti &lt;= 0.0.5 it has to be assigned before XTemplate object is constructed. In 0.0.6 there will be no such limitation.]]></description>
			<pubDate>Пн, 13 Лип 2009 06:40:21 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=2770&d=0#post14111]]></link>
		</item>
		<item>
			<title>Dave</title>
			<description><![CDATA[i have standalone plugin (clan roster based on team plugin)<br />
<br />
<div style="margin:4px 0px 4px 0px"><input type="button" value="q3roster.php" onclick="if(this.parentNode.getElementsByTagName('div')[0].style.display != '') { this.parentNode.getElementsByTagName('div')[0].style.display = ''; } else { this.parentNode.getElementsByTagName('div')[0].style.display = 'none'; }" /><div style="display:none" class="spoiler">&lt;?PHP<br />
/* ====================<br />
Seditio - Website engine<br />
Copyright Neocrome<br />
<a href="http://www.neocrome.net" rel="nofollow">http://www.neocrome.net</a><br />
<br />
[BEGIN_SED]<br />
File=plugins/q3roster/q3roster.php<br />
Version=2.0<br />
Updated=2009-jan-10<br />
Type=Plugin<br />
Author=Dave aka xHx<br />
Description=Quake 3 arena Clan roster<br />
[END_SED]<br />
<br />
[BEGIN_SED_EXTPLUGIN]<br />
Code=q3roster<br />
Part=main<br />
File=q3roster<br />
Hooks=standalone<br />
Tags=<br />
Order=10<br />
[END_SED_EXTPLUGIN]<br />
<br />
==================== */<br />
<br />
if (!defined('SED_CODE') || !defined('SED_PLUG')) { sed_diefatal('Wrong URL.'); }<br />
<br />
include('plugins/q3roster/inc/q3roster.main.inc.php');<br />
<br />
/* ########### status ########### */<br />
<br />
$status = $cfg['plugin']['q3roster']['q3roster'];<br />
<br />
$open = &quot;&lt;b&gt;&lt;font color=\&quot;#3B774C\&quot;&gt;&quot;.$L[open].&quot;&lt;/font&gt;&lt;/b&gt;&quot;;<br />
$closed = &quot;&lt;b&gt;&lt;font color=\&quot;#8F4545\&quot;&gt;&quot;.$L[closed].&quot;&lt;/font&gt;&lt;/b&gt;&quot;;<br />
$invite = &quot;&lt;b&gt;&lt;font color=\&quot;#CCCC33\&quot;&gt;&quot;.$L[invite].&quot;&lt;/font&gt;&lt;/b&gt;&quot;;<br />
$spot = &quot;&lt;b&gt;&lt;font color=\&quot;#CCCC33\&quot;&gt;&quot;.$L[spot].&quot;&lt;/font&gt;&lt;/b&gt;&quot;;<br />
<br />
switch ($status){<br />
	case &quot;open&quot;:<br />
		$t-&gt; assign(array(<br />
			&quot;PLUGIN_ROSTER_OC&quot; =&gt; $open,<br />
		));<br />
		break;<br />
	case &quot;closed&quot;:<br />
		$t-&gt; assign(array(<br />
			&quot;PLUGIN_ROSTER_OC&quot; =&gt; $closed,<br />
		));<br />
		break;<br />
	case &quot;inviteonly&quot;:<br />
		$t-&gt; assign(array(<br />
			&quot;PLUGIN_ROSTER_OC&quot; =&gt; $invite,<br />
		));<br />
		break;	<br />
	case &quot;spot&quot;:<br />
		$t-&gt; assign(array(<br />
			&quot;PLUGIN_ROSTER_OC&quot; =&gt; $spot,<br />
		));<br />
		break;	<br />
}<br />
<br />
$t-&gt; assign(array(<br />
	&quot;PLUGIN_ROSTER_LOGO&quot; =&gt; $cfg['plugin']['q3roster']['q3rosterlogo']<br />
));<br />
<br />
?&gt;</div></div>
<br />
nothing special :p but i was trying to get <em>$status</em> @ index,<br />
<br />
i fould @ neocrome.net:<br />
<br />
<pre class="code">Set the hook as global, for tags, you just use the {PHP.*} tag
Example, if your var is called $myvar in your plugin, you'll use {PHP.myvar} in your TPL files, or if your var is $out&#091;'myvar'&#093; you'd use {PHP.out.myvar}</pre>
<br />
but {PHP.status} or {PHP.out.status} doesnt work... help ?<br />
<br />
*bump*]]></description>
			<pubDate>Вт, 19 Травень 2009 21:48:34 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=2770&d=0#post12651]]></link>
		</item>
	</channel>
</rss>