<?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: list forum name in the sidebar</title>
		<link>http://bbpress.org/forums/topic/list-forum-name-in-the-sidebar</link>
		<description>bbPress Support Forums &#187; Topic: list forum name in the sidebar</description>
		<language>en-US</language>
		<pubDate>Fri, 10 Feb 2012 08:15:29 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
				<atom:link href="http://bbpress.org/forums/rss/topic/list-forum-name-in-the-sidebar" rel="self" type="application/rss+xml" />

		<item>
			<title>Marcomail on "list forum name in the sidebar"</title>
			<link>http://bbpress.org/forums/topic/list-forum-name-in-the-sidebar#post-38111</link>
			<pubDate>Sun, 05 Jul 2009 16:58:14 +0000</pubDate>
			<dc:creator>Marcomail</dc:creator>
			<guid isPermaLink="false">38111@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Ok, thanks. But if i have only 7/8 forum it's more simple write the list manually and stop, the page will load more quickly and with less work for the db server.
</p>]]></description>
					</item>
		<item>
			<title>Michael3185 on "list forum name in the sidebar"</title>
			<link>http://bbpress.org/forums/topic/list-forum-name-in-the-sidebar#post-38107</link>
			<pubDate>Sun, 05 Jul 2009 14:51:34 +0000</pubDate>
			<dc:creator>Michael3185</dc:creator>
			<guid isPermaLink="false">38107@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>@Marcomail; Thanks for raising this point about a sidebar forum list. I was curious and tested out the code I posted above, and it works very well (without the table definition). I just put the forum loop into the hottags div section and it looks fine. The site link is in my previous post if you want a look, and the code I used is;</p>
<pre><code>&#60;div id=&#34;hottags&#34;&#62;
&#60;h2&#62;&#60;?php _e(&#39;Forums&#39;); ?&#62;&#60;/h2&#62;
&#60;?php if ( bb_forums() ) : ?&#62;
&#60;?php while ( bb_forum() ) : ?&#62;
&#60;a href=&#34;&#60;?php forum_link(); ?&#62;&#34;&#62;&#60;?php forum_name(); ?&#62;&#60;/a&#62;&#60;br /&#62;
&#60;?php endwhile; ?&#62;
&#60;?php endif; // bb_forums() ?&#62;
&#60;br /&#62;

&#60;h2&#62;&#60;?php _e(&#39;Tags&#39;); ?&#62;&#60;/h2&#62;
&#60;p class=&#34;frontpageheatmap&#34;&#62;&#60;?php bb_tag_heat_map( 9, 13, &#39;pt&#39;, 50 ); ?&#62;&#60;/p&#62;
&#60;/div&#62;</code></pre>
<p>It tidies up the front page a lot, and there's less need to scroll down to see the recent posts. Cheers!
</p>]]></description>
					</item>
		<item>
			<title>Michael3185 on "list forum name in the sidebar"</title>
			<link>http://bbpress.org/forums/topic/list-forum-name-in-the-sidebar#post-38104</link>
			<pubDate>Sun, 05 Jul 2009 13:35:59 +0000</pubDate>
			<dc:creator>Michael3185</dc:creator>
			<guid isPermaLink="false">38104@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>@ashfame; In the example I gave, I'd just pulled some stuff out of my front-page.php, which is a modified version of Kakumei. It has tables because it came that way - here's the fist code section;</p>
<pre><code>&#60;div id=&#34;discussions&#34;&#62;
&#60;?php if ( bb_forums() ) : ?&#62;
&#60;h2&#62;&#60;?php _e(&#39;Forums&#39;); ?&#62;&#60;/h2&#62;
&#60;table id=&#34;forumlist&#34;&#62;
&#60;?php while ( bb_forum() ) : ?&#62;
&#60;tr&#60;?php bb_forum_class(); ?&#62;&#62;
&#60;td&#62;&#60;?php bb_forum_pad( &#39;&#60;div class=&#34;nest&#34;&#62;&#39; ); ?&#62;&#60;a href=&#34;&#60;?php forum_link(); ?&#62;&#34;&#62;&#60;?php forum_name(); ?&#62;&#60;/a&#62;&#60;br /&#62;&#60;div class=&#34;hints&#34;&#62;&#60;?php forum_description(); ?&#62;&#38;nbsp;&#38;nbsp;(&#60;?php bb_forum_pad( &#39;&#60;/div&#62;&#39; ); ?&#62;&#60;?php forum_topics(); ?&#62; topics, &#60;?php forum_posts(); ?&#62; posts)&#60;/div&#62;&#60;/td&#62;
&#60;/tr&#62;
&#60;?php endwhile; ?&#62;
&#60;/table&#62;
&#60;?php endif; // bb_forums() ?&#62;</code></pre>
<p>I read somewhere that using lists is not good (can't remember why). I removed all the alternative line colourings to give a very simple layout, which you can see at <a href="http://mbforum.letsdoo.org" rel="nofollow">http://mbforum.letsdoo.org</a>.</p>
<p>How would I use a list to get the same layout? I once removed the remaining table stuff, but the page turned into a mess. A list will add bullets or numbering, won't it?
</p>]]></description>
					</item>
		<item>
			<title>Ashfame on "list forum name in the sidebar"</title>
			<link>http://bbpress.org/forums/topic/list-forum-name-in-the-sidebar#post-38101</link>
			<pubDate>Sun, 05 Jul 2009 12:33:43 +0000</pubDate>
			<dc:creator>Ashfame</dc:creator>
			<guid isPermaLink="false">38101@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>It may be simple using hard-coded html tags but <code>php</code> code will serve the needs of all those who are looking for that functionality.<br />
Michael's code seems fine (I just don't get the point of using table, should have been a list).
</p>]]></description>
					</item>
		<item>
			<title>Marcomail on "list forum name in the sidebar"</title>
			<link>http://bbpress.org/forums/topic/list-forum-name-in-the-sidebar#post-38096</link>
			<pubDate>Sun, 05 Jul 2009 10:31:50 +0000</pubDate>
			<dc:creator>Marcomail</dc:creator>
			<guid isPermaLink="false">38096@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>it's more simple using static html :)
</p>]]></description>
					</item>
		<item>
			<title>Michael3185 on "list forum name in the sidebar"</title>
			<link>http://bbpress.org/forums/topic/list-forum-name-in-the-sidebar#post-38033</link>
			<pubDate>Sat, 04 Jul 2009 12:00:36 +0000</pubDate>
			<dc:creator>Michael3185</dc:creator>
			<guid isPermaLink="false">38033@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Hi Marco. I'm no expert at this (one or two will be along shortly...) but I've found that in playing around with PHP and CSS I've been able to do a lot more than I thought I would.</p>
<p>The code you've posted would display not just the forum names, but most of your front-page info. I'm wondering if putting the forum names in a &#60; div &#62; with a class name you've defined in the stylesheet to format the fornt, placing, width, etc., would do it. This is a rough ide from my front-page;</p>
<pre><code>&#60;div id=&#34;my_side_bar&#34;&#62;
&#60;?php if ( bb_forums() ) : ?&#62;
&#60;table id=&#34;forumlist&#34;&#62;
&#60;?php while ( bb_forum() ) : ?&#62;
&#60;tr&#60;?php bb_forum_class(); ?&#62;&#62;
&#60;td&#62;&#60;a href=&#34;&#60;?php forum_link(); ?&#62;&#34;&#62;&#60;?php forum_name(); ?&#62;&#60;/a&#62;&#60;br /&#62;
&#60;/td&#62;&#60;/tr&#62;
&#60;?php endwhile; ?&#62;
&#60;/table&#62;
&#60;?php endif; // bb_forums() ?&#62;</code></pre>
<p>The table definition could probably be removed too, and it should(?) give a list of links with just forum names. Blind leading the blind here, but it might give you some ideas.
</p>]]></description>
					</item>
		<item>
			<title>Marcomail on "list forum name in the sidebar"</title>
			<link>http://bbpress.org/forums/topic/list-forum-name-in-the-sidebar#post-38032</link>
			<pubDate>Sat, 04 Jul 2009 11:32:37 +0000</pubDate>
			<dc:creator>Marcomail</dc:creator>
			<guid isPermaLink="false">38032@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>How can i show the forums in the sidebar ?</p>
<p>I'm trying this code but doesn't work</p>
<pre><code>&#60;ul&#62;
                    &#60;?php while ( bb_forum() ) : ?&#62;

&#60;li&#62;
    &#60;a href=&#34;&#60;?php forum_link(); ?&#62;&#34;&#62;&#60;?php forum_name(); ?&#62;&#60;/a&#62;
(&#60;?php forum_topics(); ?&#62;) (&#60;?php forum_posts(); ?&#62;)
&#60;?php endwhile; ?&#62;
&#60;/ul&#62;</code></pre>]]></description>
					</item>

	</channel>
</rss>

