<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[PunBB Forums - View Forum on Index except Topics]]></title>
		<link>http://punbb.informer.com/forums/topic/13937/view-forum-on-index-except-topics/</link>
		<description><![CDATA[The most recent posts in View Forum on Index except Topics.]]></description>
		<lastBuildDate>Mon, 01 Dec 2008 17:03:23 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: View Forum on Index except Topics]]></title>
			<link>http://punbb.informer.com/forums/post/120287/#p120287</link>
			<description><![CDATA[<p>I found a solution to show all forums in index and not see topics if user group don&#039;t have permission (similar to phpbb view forum option), i dont know how secure is it</p><p>open index.php and search<br /></p><div class="codebox"><pre><code>$result = $db-&gt;query(&#039;SELECT c.id AS cid, c.cat_name, f.id AS fid, f.forum_name, f.forum_desc, f.redirect_url, f.moderators, f.num_topics, f.num_posts, f.last_post, f.last_post_id, f.last_poster FROM &#039;.$db-&gt;prefix.&#039;categories AS c INNER JOIN &#039;.$db-&gt;prefix.&#039;forums AS f ON c.id=f.cat_id LEFT JOIN &#039;.$db-&gt;prefix.&#039;forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=&#039;.$pun_user[&#039;g_id&#039;].&#039;) WHERE fp.read_forum IS NULL OR fp.read_forum=1 ORDER BY c.disp_position, c.id, f.disp_position&#039;, true) or error(&#039;Unable to fetch category/forum list&#039;, __FILE__, __LINE__, $db-&gt;error());</code></pre></div><p>change to<br /></p><div class="codebox"><pre><code>$result = $db-&gt;query(&#039;SELECT c.id AS cid, c.cat_name, f.id AS fid, f.forum_name, f.forum_desc, f.redirect_url, f.moderators, f.num_topics, f.num_posts, f.last_post, f.last_post_id, f.last_poster FROM &#039;.$db-&gt;prefix.&#039;categories AS c INNER JOIN &#039;.$db-&gt;prefix.&#039;forums AS f ON c.id=f.cat_id LEFT JOIN &#039;.$db-&gt;prefix.&#039;forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=&#039;.$pun_user[&#039;g_id&#039;].&#039;) WHERE fp.read_forum IS NULL OR fp.read_forum=1 OR fp.read_forum=0 ORDER BY c.disp_position, c.id, f.disp_position&#039;, true) or error(&#039;Unable to fetch category/forum list&#039;, __FILE__, __LINE__, $db-&gt;error());</code></pre></div><p>Now it say &#039;Bad request&#039; when user group don&#039;t have permission to see private forum, I need to change message to &#039;No permission&#039; in this case...</p>]]></description>
			<author><![CDATA[dummy@example.com (selce)]]></author>
			<pubDate>Mon, 01 Dec 2008 17:03:23 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/120287/#p120287</guid>
		</item>
		<item>
			<title><![CDATA[Re: View Forum on Index except Topics]]></title>
			<link>http://punbb.informer.com/forums/post/120283/#p120283</link>
			<description><![CDATA[<p>fhdQa dou you have any new idea about this? I want it too.</p>]]></description>
			<author><![CDATA[dummy@example.com (selce)]]></author>
			<pubDate>Mon, 01 Dec 2008 15:33:40 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/120283/#p120283</guid>
		</item>
		<item>
			<title><![CDATA[Re: View Forum on Index except Topics]]></title>
			<link>http://punbb.informer.com/forums/post/116087/#p116087</link>
			<description><![CDATA[<p>up, i want it too --&gt; <a href="http://punbb.informer.com/forums/viewtopic.php?id=17917">http://punbb.informer.com/forums/viewtopic.php?id=17917</a></p><p>please so long time waiting for this!</p>]]></description>
			<author><![CDATA[dummy@example.com (selce)]]></author>
			<pubDate>Wed, 25 Jun 2008 11:02:27 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/116087/#p116087</guid>
		</item>
		<item>
			<title><![CDATA[Re: View Forum on Index except Topics]]></title>
			<link>http://punbb.informer.com/forums/post/82308/#p82308</link>
			<description><![CDATA[<p>Well while waiting for a reply, I thought a bout another important question:<br />How can I let a forum visible and its vieforum is also visible but nobody can view a single topic?</p>]]></description>
			<author><![CDATA[dummy@example.com (FhdQa)]]></author>
			<pubDate>Thu, 30 Nov 2006 22:06:38 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/82308/#p82308</guid>
		</item>
		<item>
			<title><![CDATA[Re: View Forum on Index except Topics]]></title>
			<link>http://punbb.informer.com/forums/post/82284/#p82284</link>
			<description><![CDATA[<p>Moved to Modifications <img src="http://punbb.informer.com/forums/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Smartys)]]></author>
			<pubDate>Thu, 30 Nov 2006 14:11:11 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/82284/#p82284</guid>
		</item>
		<item>
			<title><![CDATA[Re: View Forum on Index except Topics]]></title>
			<link>http://punbb.informer.com/forums/post/82281/#p82281</link>
			<description><![CDATA[<p>ZZZzzz...</p>]]></description>
			<author><![CDATA[dummy@example.com (FhdQa)]]></author>
			<pubDate>Thu, 30 Nov 2006 13:33:59 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/82281/#p82281</guid>
		</item>
		<item>
			<title><![CDATA[Re: View Forum on Index except Topics]]></title>
			<link>http://punbb.informer.com/forums/post/82223/#p82223</link>
			<description><![CDATA[<p>I think this topic is in the wrong forum. Can anybody move it to Feature Request or Mod forum, please?</p>]]></description>
			<author><![CDATA[dummy@example.com (FhdQa)]]></author>
			<pubDate>Wed, 29 Nov 2006 16:31:28 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/82223/#p82223</guid>
		</item>
		<item>
			<title><![CDATA[View Forum on Index except Topics]]></title>
			<link>http://punbb.informer.com/forums/post/82204/#p82204</link>
			<description><![CDATA[<p>Hi all,</p><p>I wonder if there is a way to make a forum visible on the index page of a forum but no topics is shown in that forum when entering the viewforum.php for a specific usergroug?</p><p>I know that there is an option in the administration that can be modified for each forum (Read, Add posts and Add Threads), but disabling the &#039;Read&#039; options for a specific usergrup makes the forum invisible on the index page too.</p>]]></description>
			<author><![CDATA[dummy@example.com (FhdQa)]]></author>
			<pubDate>Wed, 29 Nov 2006 09:02:38 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/82204/#p82204</guid>
		</item>
	</channel>
</rss>
