<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
		>
	<channel>
		<title>bbPress Support Forums &#187; Topic: 1.0 RC - How to force all post into 1 category?</title>
		<link>http://bbpress.org/forums/topic/10-rc-how-to-force-all-post-into-1-category</link>
		<description>bbPress Support Forums &#187; Topic: 1.0 RC - How to force all post into 1 category?</description>
		<language>en-US</language>
		<pubDate>Fri, 10 Feb 2012 10:20:46 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
				<atom:link href="http://bbpress.org/forums/rss/topic/10-rc-how-to-force-all-post-into-1-category" rel="self" type="application/rss+xml" />

		<item>
			<title>chrishajer on "1.0 RC - How to force all post into 1 category?"</title>
			<link>http://bbpress.org/forums/topic/10-rc-how-to-force-all-post-into-1-category#post-37976</link>
			<pubDate>Fri, 03 Jul 2009 19:06:04 +0000</pubDate>
			<dc:creator>chrishajer</dc:creator>
			<guid isPermaLink="false">37976@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>I think at this point I would just hide the display with CSS (I think Sam added a class for this select area too).  This is much better than it was, for sure.  It's a valid point though.
</p>]]></description>
					</item>
		<item>
			<title>frooyo on "1.0 RC - How to force all post into 1 category?"</title>
			<link>http://bbpress.org/forums/topic/10-rc-how-to-force-all-post-into-1-category#post-37927</link>
			<pubDate>Fri, 03 Jul 2009 13:14:12 +0000</pubDate>
			<dc:creator>frooyo</dc:creator>
			<guid isPermaLink="false">37927@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>@Sam</p>
<p>Thanks for the 1.0 release !!!</p>
<p>Quick question. I don't believe what you changed in the core is still the desired result.</p>
<p>I only have 1 forum, and that forum is called = "All".</p>
<p>I have the following code in my post-form.php template</p>
<p>&#60;label for="forum_id"&#62;Category:<br />
&#60;?php bb_new_topic_forum_dropdown(); ?&#62;<br />
&#60;/label&#62;</p>
<p>It's printing/echoing to the screen the forum name ("All") --&#62; see image below</p>
<p><a href="http://img22.imageshack.us/img22/4105/categoryy.png" rel="nofollow">http://img22.imageshack.us/img22/4105/categoryy.png</a></p>
<p>The generated HTML is:</p>
<p>&#60;label for="forum_id"&#62;Category:<br />
		&#60;input type="hidden" name="forum_id" id="forum-id" value="1" /&#62;&#60;span&#62;All&#60;/span&#62;	&#60;/label&#62;</p>
<p>It seems to me that if someone only has 1 forum, that you should simply have the hidden input and NOT print the forum name in any SPAN element at all.</p>
<p>Do you agree?
</p>]]></description>
					</item>
		<item>
			<title>Sam Bauers on "1.0 RC - How to force all post into 1 category?"</title>
			<link>http://bbpress.org/forums/topic/10-rc-how-to-force-all-post-into-1-category#post-37899</link>
			<pubDate>Fri, 03 Jul 2009 05:09:07 +0000</pubDate>
			<dc:creator>Sam Bauers</dc:creator>
			<guid isPermaLink="false">37899@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Trunk now deals with this case.</p>
<p><a href="http://trac.bbpress.org/changeset/2286">[2286]</a> <a href="http://trac.bbpress.org/changeset/2287">[2287]</a>
</p>]]></description>
					</item>
		<item>
			<title>chrishajer on "1.0 RC - How to force all post into 1 category?"</title>
			<link>http://bbpress.org/forums/topic/10-rc-how-to-force-all-post-into-1-category#post-37892</link>
			<pubDate>Fri, 03 Jul 2009 04:26:25 +0000</pubDate>
			<dc:creator>chrishajer</dc:creator>
			<guid isPermaLink="false">37892@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Frooyo, to answer your question, you can remove that dropdown as you did, but first you need to add the forum name as hidden value to the form.  You can look at the source of a rendered page, find the select, grab the form field name and value, and just code that into the form as a hidden value.  That way, when you submit the form, it looks the same to bbPress as if someone had actually selected one (of one) value for a forum name.</p>
<p>Mine looks like this (your forum ID might be different):<br />
<code>&#60;input type=&#34;hidden&#34; name=&#34;forum_id&#34; value=&#34;1&#34; /&#62;</code>
</p>]]></description>
					</item>
		<item>
			<title>chrishajer on "1.0 RC - How to force all post into 1 category?"</title>
			<link>http://bbpress.org/forums/topic/10-rc-how-to-force-all-post-into-1-category#post-37889</link>
			<pubDate>Fri, 03 Jul 2009 04:22:16 +0000</pubDate>
			<dc:creator>chrishajer</dc:creator>
			<guid isPermaLink="false">37889@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Heh, Sam.  It's been like that since the 0.7 series I think.  I've only ever had one forum, but it always showed the dropdown :-)  I used to fix it but them maintaining the changes across updates became a hassle.</p>
<p>Also, the width of the dropdown was never wide enough, in FF3 (and FF2) at least.  Never really tested it.  I can't recall if it was fixable with CSS or if that width was in the template.  I think in the template with a width="xx" value.</p>
<p>Was going to take a screenshot just now, but I realized I took the select out in my installation, so people don't have to choose, and hardcoded the value into the form.  BUT, there is still a dropdown with just one value (if you have just one forum) when you're logged in as keymaster and you have the option to move the topic to another forum.    Probably shouldn't even show the option to move it to another forum if there's only one.</p>
<p>Weird that this is just coming up now.   I always just thought it was normal.
</p>]]></description>
					</item>
		<item>
			<title>Sam Bauers on "1.0 RC - How to force all post into 1 category?"</title>
			<link>http://bbpress.org/forums/topic/10-rc-how-to-force-all-post-into-1-category#post-37874</link>
			<pubDate>Thu, 02 Jul 2009 22:45:30 +0000</pubDate>
			<dc:creator>Sam Bauers</dc:creator>
			<guid isPermaLink="false">37874@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>It shouldn't show when there is only one forum. I'll fix this in core.
</p>]]></description>
					</item>
		<item>
			<title>frooyo on "1.0 RC - How to force all post into 1 category?"</title>
			<link>http://bbpress.org/forums/topic/10-rc-how-to-force-all-post-into-1-category#post-37855</link>
			<pubDate>Thu, 02 Jul 2009 06:20:32 +0000</pubDate>
			<dc:creator>frooyo</dc:creator>
			<guid isPermaLink="false">37855@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>@johnhiler</p>
<p>Is there any way of doing this beside using a CSS  "display: none".  Seems like a hack way of working around this.
</p>]]></description>
					</item>
		<item>
			<title>johnhiler on "1.0 RC - How to force all post into 1 category?"</title>
			<link>http://bbpress.org/forums/topic/10-rc-how-to-force-all-post-into-1-category#post-37853</link>
			<pubDate>Thu, 02 Jul 2009 06:16:59 +0000</pubDate>
			<dc:creator>johnhiler</dc:creator>
			<guid isPermaLink="false">37853@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>You could probably hide the pulldown using CSS?
</p>]]></description>
					</item>
		<item>
			<title>frooyo on "1.0 RC - How to force all post into 1 category?"</title>
			<link>http://bbpress.org/forums/topic/10-rc-how-to-force-all-post-into-1-category#post-37852</link>
			<pubDate>Thu, 02 Jul 2009 06:15:13 +0000</pubDate>
			<dc:creator>frooyo</dc:creator>
			<guid isPermaLink="false">37852@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>In 1.0 RC, it appears I need to have the users select the "forum" or "category" for their new post to be tied too.</p>
<p>However, I only have 1 forum - so in my post-form.php template, I removed the following code which produces the dropdown list (since only 1 value is selected).</p>
<p>	&#60;label for="forum_id"&#62;Category:<br />
		&#60;?php bb_new_topic_forum_dropdown(); ?&#62;<br />
	&#60;/label&#62;</p>
<p>But now, when I try to add a post - I receive an error message that says "This topic has been closed".</p>
<p>Any idea how I can force all new post into the only forum I have setup ... so that I don't have to display the "category" dropdown menu which only has 1 item listed.
</p>]]></description>
					</item>

	</channel>
</rss>

