<?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 Tag: Loop</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums Tag: Loop</description>
<language>en</language>
<pubDate>Wed, 03 Dec 2008 00:06:57 +0000</pubDate>

<item>
<title>rpophessagr on "bb_forums loop twice"</title>
<link>http://bbpress.org/forums/topic/bb_forums-loop-twice#post-19584</link>
<pubDate>Wed, 01 Oct 2008 09:13:33 +0000</pubDate>
<dc:creator>rpophessagr</dc:creator>
<guid isPermaLink="false">19584@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I'm editing current Theme for the bbPress Alpha 1.0 Release... I have created a Side bar that appears on almost all the pages with forums listed. Just like WP category. (site: &#60;a href=&#34;http://howtoreachmygoals.com/ask/&#34; rel=&#34;nofollow&#34;&#62;http://howtoreachmygoals.com/ask/&#60;/a&#62;). Now, I'm facing some problem with Looping through the Forums (bb_forums()).&#60;br /&#62;
My side bar is executed before main contents. so when main contents require to loop the forums again, like Category listing page / Forum on posting (selecting dropdown box). its returning NULL / empty.&#60;/p&#62;
&#60;p&#62;I wanted to find-out is there any way that i can Reset the bb_forums( ) loop and make it available again for next time?&#60;/p&#62;
&#60;p&#62;many thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "bbpress loop"</title>
<link>http://bbpress.org/forums/topic/bbpress-loop#post-15788</link>
<pubDate>Sat, 26 Apr 2008 10:39:20 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">15788@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;What you are asking for is very easy.&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$forums = get_forums();&#60;/code&#62; gets you all the forums,&#60;br /&#62;
&#60;code&#62;$topics   = get_latest_topics( $forum_id);&#60;/code&#62; will get you the topics list for any forum id.  So if you looped through the forums like on the front page, just fetch the $topics after each forum in the loop.&#60;/p&#62;
&#60;p&#62;The formatting and page layout is the &#34;hard&#34; part.
&#60;/p&#62;</description>
</item>
<item>
<title>burkie on "bbpress loop"</title>
<link>http://bbpress.org/forums/topic/bbpress-loop#post-15780</link>
<pubDate>Fri, 25 Apr 2008 22:29:50 +0000</pubDate>
<dc:creator>burkie</dc:creator>
<guid isPermaLink="false">15780@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;While customizing bbpress I was wondering if anyone had a way to display forums/subforums and topics together, list a forum then have the topics for each displayed below it?
&#60;/p&#62;</description>
</item>
<item>
<title>jenz on "Alter Loop for Paged Forum Pages?"</title>
<link>http://bbpress.org/forums/topic/alter-loop-for-paged-forum-pages#post-15704</link>
<pubDate>Wed, 23 Apr 2008 02:41:16 +0000</pubDate>
<dc:creator>jenz</dc:creator>
<guid isPermaLink="false">15704@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I figured it out and wanted to share.  This code goes at the top of my forums.php file (template).&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
$forum_id = 1;
$limit = bb_get_option(&#38;#39;page_topics&#38;#39;);
$offset = ($page-1)*$limit;
$forum_one_topics = $bbdb-&#38;gt;get_results(&#38;quot;SELECT * FROM $bbdb-&#38;gt;topics WHERE forum_id = $forum_id AND topic_status = 0 ORDER BY topic_id DESC LIMIT $limit OFFSET $offset&#38;quot;)
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;My posts loop:&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
&#38;lt;?php&#60;br /&#62;
foreach($forum_one_topics as $topic) : $forum_one_topic_posts = get_thread( $topic-&#38;gt;topic_id); ?&#38;gt;&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Works like a charm
&#60;/p&#62;</description>
</item>
<item>
<title>jenz on "Alter Loop for Paged Forum Pages?"</title>
<link>http://bbpress.org/forums/topic/alter-loop-for-paged-forum-pages#post-15620</link>
<pubDate>Mon, 21 Apr 2008 16:35:02 +0000</pubDate>
<dc:creator>jenz</dc:creator>
<guid isPermaLink="false">15620@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Just for some more clarification - I would like my forum to show the most recent topics first - not the most active.  Is there some easy way to set this up?
&#60;/p&#62;</description>
</item>
<item>
<title>jenz on "Alter Loop for Paged Forum Pages?"</title>
<link>http://bbpress.org/forums/topic/alter-loop-for-paged-forum-pages#post-15553</link>
<pubDate>Sun, 20 Apr 2008 02:04:04 +0000</pubDate>
<dc:creator>jenz</dc:creator>
<guid isPermaLink="false">15553@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I really like how this works on the front page:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
$forum_id = 1;&#60;br /&#62;
$forum_one_topics = $bbdb-&#38;gt;get_results(&#34;SELECT * FROM $bbdb-&#38;gt;topics WHERE forum_id = $forum_id ORDER BY topic_time DESC LIMIT 0,10&#34;)&#60;br /&#62;
foreach($forum_one_topics as $topic) :&#60;br /&#62;
?&#38;gt;&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;but would like to use this for the whole site.  Is it possible to make this the logic of the entire site loop?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
