<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[PunBB Forums - Issue with extern.php]]></title>
	<link rel="self" href="http://punbb.informer.com/forums/feed/atom/topic/21438/"/>
	<updated>2009-04-06T06:34:59Z</updated>
	<generator>PunBB</generator>
	<id>http://punbb.informer.com/forums/topic/21438/issue-with-externphp/</id>
		<entry>
			<title type="html"><![CDATA[Re: Issue with extern.php]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/126435/#p126435"/>
			<content type="html"><![CDATA[<p>This bug was fixed in <a href="http://punbb.informer.com/trac/changeset/1001">[1001]</a>.</p>]]></content>
			<author>
				<name><![CDATA[Slavok]]></name>
				<uri>http://punbb.informer.com/forums/user/13265/</uri>
			</author>
			<updated>2009-04-06T06:34:59Z</updated>
			<id>http://punbb.informer.com/forums/post/126435/#p126435</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Issue with extern.php]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/126432/#p126432"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[yuzz]]></name>
				<uri>http://punbb.informer.com/forums/user/2342/</uri>
			</author>
			<updated>2009-04-06T04:33:54Z</updated>
			<id>http://punbb.informer.com/forums/post/126432/#p126432</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Issue with extern.php]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/126415/#p126415"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[yuzz]]></name>
				<uri>http://punbb.informer.com/forums/user/2342/</uri>
			</author>
			<updated>2009-04-05T02:58:46Z</updated>
			<id>http://punbb.informer.com/forums/post/126415/#p126415</id>
		</entry>
</feed>
