<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>bbPress support forums Topic: [resolved] Pick a Section dropdown is blank - bbPress 0.8.</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums Topic: [resolved] Pick a Section dropdown is blank - bbPress 0.8.</description>
<language>en</language>
<pubDate>Fri, 10 Oct 2008 23:17:23 +0000</pubDate>

<item>
<title>kehlers on "[resolved] Pick a Section dropdown is blank - bbPress 0.8."</title>
<link>http://bbpress.org/forums/topic/pick-a-section-dropdown-is-blank-bbpress-083-private-forums#post-14466</link>
<pubDate>Fri, 14 Mar 2008 20:11:25 +0000</pubDate>
<dc:creator>kehlers</dc:creator>
<guid isPermaLink="false">14466@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I'm just following up - I posted this &#60;a href=&#34;http://bbpress.org/forums/topic/pick-a-section-not-showing-forums-cant-add-new-topic-from-front-page&#34;&#62;bug &#60;/a&#62; a while ago, and when I didn't hear back, I researched and found the solution. (wahoo!)&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;PROBLEM:&#60;/strong&#62;&#60;br /&#62;
If private-forums plugin is installed, users below moderator capabilities will have a BLANK Pick a Section dropdown on post-form.php. If they go ahead and try to click &#34;submit&#34; on their post, they get an error: Forum topic is closed. (error is bogus, obviously, because they are trying to post a NEW topic).&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;SOLUTION&#60;/strong&#62;&#60;br /&#62;
In the /my-plugins/private-forums.php, replace line 294:&#60;br /&#62;
&#60;code&#62;$new_forums[] = $forum;&#60;/code&#62;&#60;br /&#62;
with:&#60;br /&#62;
&#60;code&#62;$new_forums[$forum-&#38;gt;forum_id] = $forum;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;WHY IT WORKS&#60;/strong&#62;&#60;br /&#62;
The $new_forums array replaces the global $forums array with just the forums that user is permitted to see. The $forums array uses the forum_id as the array index. Without this fix, the $forums array will have the default index, i.e. 0, 1, 2, 3...&#60;/p&#62;
&#60;p&#62;If your forum ids are (a) ordered numerically by their id and (b) no numbers are 'skipped' in the ids, you may not notice this issue. However, in my case, my forum ids are in the order &#34;6, 7, 1, 10, 9&#34; because we have added and deleted and reordered them over the life of the forum.&#60;/p&#62;
&#60;p&#62;Hopefully this helps someone.&#60;br /&#62;
Cheers,&#60;br /&#62;
k
&#60;/p&#62;</description>
</item>

</channel>
</rss>
