<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[PunBB Forums — if posted user is not admin or not moderator then return not url]]></title>
		<link>https://punbb.informer.com/forums/topic/30613/if-posted-user-is-not-admin-or-not-moderator-then-return-not-url/</link>
		<atom:link href="https://punbb.informer.com/forums/feed/rss/topic/30613/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in if posted user is not admin or not moderator then return not url.]]></description>
		<lastBuildDate>Tue, 18 Sep 2018 17:37:26 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: if posted user is not admin or not moderator then return not url]]></title>
			<link>https://punbb.informer.com/forums/post/158025/#p158025</link>
			<description><![CDATA[<p>Thanks, I will give try</p>]]></description>
			<author><![CDATA[null@example.com (j.gopi4)]]></author>
			<pubDate>Tue, 18 Sep 2018 17:37:26 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/158025/#p158025</guid>
		</item>
		<item>
			<title><![CDATA[Re: if posted user is not admin or not moderator then return not url]]></title>
			<link>https://punbb.informer.com/forums/post/158018/#p158018</link>
			<description><![CDATA[<div class="codebox"><pre><code>if ($forum_user[&#039;g_id&#039;] != FORUM_ADMIN){
            return &#039;&lt;a href=&quot;&#039;.$full_url.&#039;&quot; rel=&quot;nofollow&quot;&gt;&#039;.$link.&#039;&lt;/a&gt;&#039;;
            }
        else    
            //return &#039;[url]&#039;.$full_url.&#039;[/url]&#039;;
            return &#039;[url=&#039;.$full_url.&#039;]&#039;.$link.&#039;[/url]&#039;;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (PanBB.Ru)]]></author>
			<pubDate>Sun, 16 Sep 2018 18:40:08 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/158018/#p158018</guid>
		</item>
		<item>
			<title><![CDATA[if posted user is not admin or not moderator then return not url]]></title>
			<link>https://punbb.informer.com/forums/post/158015/#p158015</link>
			<description><![CDATA[<p>hi i want to change like if only admin or moderator post the url then display the url or return text.</p><p>How to achieve it. please help thanks</p><p>i have tried this below code<br /></p><div class="codebox"><pre><code>if ($username != &#039;admin&#039;){
            return &#039;&lt;a href=&quot;&#039;.$full_url.&#039;&quot; rel=&quot;nofollow&quot;&gt;&#039;.$link.&#039;&lt;/a&gt;&#039;;
            }
        else    
            //return &#039;[url]&#039;.$full_url.&#039;[/url]&#039;;
            return &#039;[url=&#039;.$full_url.&#039;]&#039;.$link.&#039;[/url]&#039;;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (j.gopi4)]]></author>
			<pubDate>Sun, 16 Sep 2018 14:12:53 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/158015/#p158015</guid>
		</item>
	</channel>
</rss>
