<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[PunBB Forums — [ask] Hide link]]></title>
	<link rel="self" href="http://punbb.informer.com/forums/feed/atom/topic/20309/" />
	<updated>2008-11-19T07:03:54Z</updated>
	<generator>PunBB</generator>
	<id>http://punbb.informer.com/forums/topic/20309/ask-hide-link/</id>
		<entry>
			<title type="html"><![CDATA[Re: [ask] Hide link]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/119597/#p119597" />
			<content type="html"><![CDATA[<p>Ya I forgot to define the variable </p><p>Thanks Garciat n Anatoly</p>]]></content>
			<author>
				<name><![CDATA[anggiawan]]></name>
				<uri>http://punbb.informer.com/forums/user/14303/</uri>
			</author>
			<updated>2008-11-19T07:03:54Z</updated>
			<id>http://punbb.informer.com/forums/post/119597/#p119597</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [ask] Hide link]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/119594/#p119594" />
			<content type="html"><![CDATA[<p>Try to add<br /></p><div class="codebox"><pre><code>global $forum_user;</code></pre></div><p>in the beginning of the function (about <a href="http://punbb.informer.com/trac/browser/punbb/trunk/include/parser.php#L581">line 581</a>).</p>]]></content>
			<author>
				<name><![CDATA[Anatoly]]></name>
				<uri>http://punbb.informer.com/forums/user/12152/</uri>
			</author>
			<updated>2008-11-19T06:53:18Z</updated>
			<id>http://punbb.informer.com/forums/post/119594/#p119594</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [ask] Hide link]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/119583/#p119583" />
			<content type="html"><![CDATA[<p>but there is an error when I add that code</p><div class="codebox"><pre><code>Notice: Undefined variable: forum_user in /home/xxxxxx/public_html/forum/include/parser.php on line 608

Notice: Undefined variable: forum_user in /home/xxxxxx/public_html/forum/include/parser.php on line 608</code></pre></div>]]></content>
			<author>
				<name><![CDATA[anggiawan]]></name>
				<uri>http://punbb.informer.com/forums/user/14303/</uri>
			</author>
			<updated>2008-11-19T05:23:54Z</updated>
			<id>http://punbb.informer.com/forums/post/119583/#p119583</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [ask] Hide link]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/119582/#p119582" />
			<content type="html"><![CDATA[<p>Add to a new line after <strong>Line 607</strong>:<br /></p><div class="codebox"><pre><code>    else if ($forum_user[&#039;is_guest&#039;])
        return &#039;Please register/login to view links.&#039;; //Replace by your own message</code></pre></div>]]></content>
			<author>
				<name><![CDATA[User33]]></name>
				<uri>http://punbb.informer.com/forums/user/12481/</uri>
			</author>
			<updated>2008-11-19T05:08:57Z</updated>
			<id>http://punbb.informer.com/forums/post/119582/#p119582</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[[ask] Hide link]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/119579/#p119579" />
			<content type="html"><![CDATA[<p>I am new in punbb and weak in php <img src="http://punbb.informer.com/forums/img/smilies/lol.png" width="15" height="15" alt="lol" />. I wanna know how to hide links from guest.</p><p>I know it must be somewhere in parser.php, <br />like<br /> if ($pun_user[&quot;is_guest&quot;])<br /> return &#039;blabla&#039;;<br /> else<br />return &#039;&lt;a href=&quot;&#039;.$full_url.&#039;&quot;&gt;&#039;.$link.&#039;&lt;/a&gt;&#039;;</p><p>But there are several return in parser.php</p><p>Which one or how to modify it.</p><p>thanks</p>]]></content>
			<author>
				<name><![CDATA[anggiawan]]></name>
				<uri>http://punbb.informer.com/forums/user/14303/</uri>
			</author>
			<updated>2008-11-19T04:46:51Z</updated>
			<id>http://punbb.informer.com/forums/post/119579/#p119579</id>
		</entry>
</feed>
