<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[PunBB Forums — Quick question about a small ugly hack I have done...]]></title>
		<link>https://punbb.informer.com/forums/topic/19750/quick-question-about-a-small-ugly-hack-i-have-done/</link>
		<atom:link href="https://punbb.informer.com/forums/feed/rss/topic/19750/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Quick question about a small ugly hack I have done....]]></description>
		<lastBuildDate>Thu, 11 Sep 2008 07:56:40 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Quick question about a small ugly hack I have done...]]></title>
			<link>https://punbb.informer.com/forums/post/117596/#p117596</link>
			<description><![CDATA[<p>Agree with <strong>Utchin</strong>.</p><p>Try this:<br /></p><div class="codebox"><pre><code>print_r($pun_user);</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Anatoly)]]></author>
			<pubDate>Thu, 11 Sep 2008 07:56:40 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/117596/#p117596</guid>
		</item>
		<item>
			<title><![CDATA[Re: Quick question about a small ugly hack I have done...]]></title>
			<link>https://punbb.informer.com/forums/post/117589/#p117589</link>
			<description><![CDATA[<p>What is the aim of the If statment? I dont think $pun_user[&#039;1&#039;] is doing what you want.</p>]]></description>
			<author><![CDATA[null@example.com (Utchin)]]></author>
			<pubDate>Wed, 10 Sep 2008 20:15:52 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/117589/#p117589</guid>
		</item>
		<item>
			<title><![CDATA[Re: Quick question about a small ugly hack I have done...]]></title>
			<link>https://punbb.informer.com/forums/post/117588/#p117588</link>
			<description><![CDATA[<p>mkay this acc works, BUT (im sorry if you find my questions moronic but if I dont ask I will never learn...) the (script) works but now i reggs me as Online even when I have logged out, do i have to check for cookie or similar? The thing I&#039;m trying to fix is a small &quot;community&quot; function where I use the login from punbb&#039;s database and add other functions to another DB that will hold the userpage and such <img src="https://punbb.informer.com/forums/img/smilies/tongue.png" width="15" height="15" alt="tongue" />?</p><p>ohh the code:</p><p>&lt;?php if($pun_user[&#039;1&#039;])<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; echo &#039; logged out &#039;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; echo &#039; logged in&#039;;&nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ?&gt;</p>]]></description>
			<author><![CDATA[null@example.com (SpiXx)]]></author>
			<pubDate>Wed, 10 Sep 2008 19:29:10 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/117588/#p117588</guid>
		</item>
		<item>
			<title><![CDATA[Re: Quick question about a small ugly hack I have done...]]></title>
			<link>https://punbb.informer.com/forums/post/117567/#p117567</link>
			<description><![CDATA[<p>tyvm</p>]]></description>
			<author><![CDATA[null@example.com (SpiXx)]]></author>
			<pubDate>Mon, 08 Sep 2008 20:17:03 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/117567/#p117567</guid>
		</item>
		<item>
			<title><![CDATA[Re: Quick question about a small ugly hack I have done...]]></title>
			<link>https://punbb.informer.com/forums/post/117566/#p117566</link>
			<description><![CDATA[<p>It is $pun_user[&#039;userid&#039;]</p><p>And you can also do !$pun_user[&#039;guest&#039;] Something like that</p>]]></description>
			<author><![CDATA[null@example.com (Utchin)]]></author>
			<pubDate>Mon, 08 Sep 2008 20:16:06 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/117566/#p117566</guid>
		</item>
		<item>
			<title><![CDATA[Quick question about a small ugly hack I have done...]]></title>
			<link>https://punbb.informer.com/forums/post/117565/#p117565</link>
			<description><![CDATA[<p>Hello dear community I need some fast help with this:</p><div class="codebox"><pre><code>&lt;?php if( $user_id = &#039;1&#039; )
                {
                    echo &#039;
                        guest
                    &#039;;
                }
                else 
                {
                    echo &#039;
                           logged in
                     &#039;;    
                }
                ?&gt;</code></pre></div><p>This should according to my &quot;PRO&quot; reasoning give a logged in IF i&#039;ve logged in at the forums? But it won&#039;t so I&#039;m guessing that there is something wrong with PunBB, now you make this work! (kidding) anyone that can explain what I&#039;ve done wrong?</p>]]></description>
			<author><![CDATA[null@example.com (SpiXx)]]></author>
			<pubDate>Mon, 08 Sep 2008 20:02:08 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/117565/#p117565</guid>
		</item>
	</channel>
</rss>
