<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[PunBB Forums - Issue with extern.php]]></title>
		<link>http://punbb.informer.com/forums/topic/21438/issue-with-externphp/</link>
		<description><![CDATA[The most recent posts in Issue with extern.php.]]></description>
		<lastBuildDate>Mon, 06 Apr 2009 06:34:59 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Issue with extern.php]]></title>
			<link>http://punbb.informer.com/forums/post/126435/#p126435</link>
			<description><![CDATA[<p>This bug was fixed in <a href="http://punbb.informer.com/trac/changeset/1001">[1001]</a>.</p>]]></description>
			<author><![CDATA[dummy@example.com (Slavok)]]></author>
			<pubDate>Mon, 06 Apr 2009 06:34:59 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/126435/#p126435</guid>
		</item>
		<item>
			<title><![CDATA[Re: Issue with extern.php]]></title>
			<link>http://punbb.informer.com/forums/post/126432/#p126432</link>
			<description><![CDATA[<p>Just wanted to confirm that adding<br /></p><div class="codebox"><pre><code>&#039;Guests online&#039;     =&gt;    &#039;Guests online&#039;,
&#039;Users online&#039;       =&gt;    &#039;Users online&#039;</code></pre></div><p>to index.php in &lt;Forum path&gt;/lang/English resolved the issue. I hope this will be taken care of in the next version.</p><p>Cheers.</p>]]></description>
			<author><![CDATA[dummy@example.com (yuzz)]]></author>
			<pubDate>Mon, 06 Apr 2009 04:33:54 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/126432/#p126432</guid>
		</item>
		<item>
			<title><![CDATA[Issue with extern.php]]></title>
			<link>http://punbb.informer.com/forums/post/126415/#p126415</link>
			<description><![CDATA[<p>I had an issue calling extern.php?action=online and action=online_full. I get the following error:<br /></p><div class="codebox"><pre><code>Notice: Undefined index: Guests online in /home/projecto/public_html/forum/extern.php on line 499
: 6

Notice: Undefined index: Users online in /home/projecto/public_html/forum/extern.php on line 504
: 1</code></pre></div><p>(or line 502 in the second row for online_full value; usernames and the online user counts are properly displayed)</p><p>I&#039;m not good in php. When I check those lines, the code there goes like this:<br /></p><div class="codebox"><pre><code>499:
    echo $lang_index[&#039;Guests online&#039;].&#039;: &#039;.forum_number_format($num_guests).&#039;&lt;br /&gt;&#039;.&quot;\n&quot;;

502:
        echo $lang_index[&#039;Users online&#039;].&#039;: &#039;.implode(&#039;, &#039;, $users).&#039;&lt;br /&gt;&#039;.&quot;\n&quot;;

504:
        echo $lang_index[&#039;Users online&#039;].&#039;: &#039;.forum_number_format($num_users).&#039;&lt;br /&gt;&#039;.&quot;\n&quot;;</code></pre></div><p>My guess was that this is something about the entries in the language files for &#039;Guests online&#039; and &#039;Users online&#039;. However, I wasn&#039;t able to find a file in the lang folder holding those.</p><p>Then I realized I can check this on any PunBB installation and it is indeed valid here too:</p><p><a href="http://punbb.informer.com/forums/extern.php?action=online_full">http://punbb.informer.com/forums/extern &#133; nline_full</a></p><p>I would be glad if you look into this, but also if you can point me on a quick fix. Will adding those entries in common.php in the lang folder do the job?</p><p>Thanks</p>]]></description>
			<author><![CDATA[dummy@example.com (yuzz)]]></author>
			<pubDate>Sun, 05 Apr 2009 02:58:46 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/126415/#p126415</guid>
		</item>
	</channel>
</rss>
