<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[PunBB Forums — Hidden content for guest]]></title>
		<link>https://punbb.informer.com/forums/topic/10967/hidden-content-for-guest/</link>
		<atom:link href="https://punbb.informer.com/forums/feed/rss/topic/10967/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Hidden content for guest.]]></description>
		<lastBuildDate>Mon, 19 Jul 2010 08:17:06 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Hidden content for guest]]></title>
			<link>https://punbb.informer.com/forums/post/136269/#p136269</link>
			<description><![CDATA[<p><strong>@sakthi</strong></p><p>for 1.3.4 find line 631 in ./include/parser.php and replace</p><p>this</p><div class="codebox"><pre><code>    else
        return &#039;&lt;a href=&quot;&#039;.$full_url.&#039;&quot;&gt;&#039;.$link.&#039;&lt;/a&gt;&#039;;</code></pre></div><p>with</p><div class="codebox"><pre><code>    else {
        global $forum_user;
        if($forum_user[&#039;username&#039;] == &#039;Anonymous&#039;) {
            return &#039;&lt;span class=&quot;warntext&quot;&gt;[guest will see what you write here]&lt;/span&gt;&#039;;
        } else {
            return &#039;&lt;a href=&quot;&#039;.$full_url.&#039;&quot;&gt;&#039;.$link.&#039;&lt;/a&gt;&#039;;
        }
    }</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Grez)]]></author>
			<pubDate>Mon, 19 Jul 2010 08:17:06 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/136269/#p136269</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hidden content for guest]]></title>
			<link>https://punbb.informer.com/forums/post/136261/#p136261</link>
			<description><![CDATA[<p>I tried this code but it won&#039;t works with my current version 1.3.4</p><p>Can any one help?</p>]]></description>
			<author><![CDATA[null@example.com (sakthi)]]></author>
			<pubDate>Mon, 19 Jul 2010 06:50:02 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/136261/#p136261</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hidden content for guest]]></title>
			<link>https://punbb.informer.com/forums/post/83447/#p83447</link>
			<description><![CDATA[<p>yup!, Thanks a lot! : )</p>]]></description>
			<author><![CDATA[null@example.com (Vanslyde)]]></author>
			<pubDate>Fri, 22 Dec 2006 17:19:50 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/83447/#p83447</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hidden content for guest]]></title>
			<link>https://punbb.informer.com/forums/post/83444/#p83444</link>
			<description><![CDATA[<div class="quotebox"><cite>Vanslyde wrote:</cite><blockquote><p>I know it&#039;s paradoxical and I doubt it can be done but I got to ask; how about having a small image instead of a warning text? Do you think its possible?</p></blockquote></div><p>Just replace the text with an &lt;img&gt; tag.</p>]]></description>
			<author><![CDATA[null@example.com (elbekko)]]></author>
			<pubDate>Fri, 22 Dec 2006 17:12:06 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/83444/#p83444</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hidden content for guest]]></title>
			<link>https://punbb.informer.com/forums/post/83443/#p83443</link>
			<description><![CDATA[<p>I know it&#039;s paradoxical and I doubt it can be done but I got to ask; how about having a small image instead of a warning text? Do you think its possible?</p>]]></description>
			<author><![CDATA[null@example.com (Vanslyde)]]></author>
			<pubDate>Fri, 22 Dec 2006 17:09:43 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/83443/#p83443</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hidden content for guest]]></title>
			<link>https://punbb.informer.com/forums/post/82893/#p82893</link>
			<description><![CDATA[<div class="quotebox"><cite>prit wrote:</cite><blockquote><div class="codebox"><pre><code>if ($pun_user[&#039;is_guest&#039;] )
return &#039;&lt;span class=&quot;warntext&quot;&gt;[guest will see what you write here]&lt;/span&gt;&#039;;
else
return &#039;&lt;a href= &quot;&#039;.$full_url.&#039;&quot;&gt;&#039;.$link.&#039;&lt;/a&gt;&#039;;</code></pre></div></blockquote></div><p>This is great! Could you modify this so that it would filter a particular forum id for the links? Rather than all forums.</p><p>Edit:<br />Now that I think of it, could you filter for a specific user group? that would be even better. I&#039;m trying to restrict forum content by user group or by guest.</p>]]></description>
			<author><![CDATA[null@example.com (rawrhythms)]]></author>
			<pubDate>Tue, 12 Dec 2006 07:31:27 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/82893/#p82893</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hidden content for guest]]></title>
			<link>https://punbb.informer.com/forums/post/82764/#p82764</link>
			<description><![CDATA[<p>yes it is possible.</p><p>Open ./include/parser.php</p><p>Find, line 278:</p><div class="codebox"><pre><code>return &#039;&lt;a href=&quot;&#039;.$full_url.&#039;&quot;&gt;&#039;.$link.&#039;&lt;/a&gt;&#039;;</code></pre></div><p>Replace with:</p><div class="codebox"><pre><code>if ($pun_user[&#039;is_guest&#039;] )
return &#039;&lt;span class=&quot;warntext&quot;&gt;[guest will see what you write here]&lt;/span&gt;&#039;;
else
return &#039;&lt;a href= &quot;&#039;.$full_url.&#039;&quot;&gt;&#039;.$link.&#039;&lt;/a&gt;&#039;;</code></pre></div><p>original thread from punbb turkish forums</p><p><a href="http://www.langturk.com/forum/viewtopic.php?pid=154#p154">http://www.langturk.com/forum/viewtopic … d=154#p154</a></p>]]></description>
			<author><![CDATA[null@example.com (prit)]]></author>
			<pubDate>Sat, 09 Dec 2006 19:49:10 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/82764/#p82764</guid>
		</item>
		<item>
			<title><![CDATA[Hidden content for guest]]></title>
			<link>https://punbb.informer.com/forums/post/65074/#p65074</link>
			<description><![CDATA[<p>Hellow again, is it possible hide links in post (for seperate forums) from geust (only members are able to see links in these forums)?</p>]]></description>
			<author><![CDATA[null@example.com (minis)]]></author>
			<pubDate>Sun, 19 Mar 2006 19:11:42 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/65074/#p65074</guid>
		</item>
	</channel>
</rss>
