<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>bbPress Blog</title>
	<atom:link href="http://bbpress.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://bbpress.org</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Fri, 25 Apr 2008 16:09:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6-bleeding</generator>
	<language>en</language>
			<item>
		<title>Security Release: bbPress 0.9.0.2</title>
		<link>http://bbpress.org/blog/2008/04/security-release-bbpress-0902/</link>
		<comments>http://bbpress.org/blog/2008/04/security-release-bbpress-0902/#comments</comments>
		<pubDate>Fri, 25 Apr 2008 15:54:18 +0000</pubDate>
		<dc:creator>mdawaffe</dc:creator>
		
		<category><![CDATA[Releases]]></category>

		<guid isPermaLink="false">http://bbpress.org/?p=82</guid>
		<description><![CDATA[bbPress 0.9.0.2 is available for immediate download.  This release includes some small changes and fixes a few bugs, but is first and foremost a security release.  The vulnerability is not yet publicly known, but will be soon.
Many thanks go out to Steven J. Murdoch for identifying the issue (CVE-2008-1930) and working with us [...]]]></description>
			<content:encoded><![CDATA[<p>bbPress 0.9.0.2 is available for <a href="/download/">immediate download</a>.  This release includes some small <a href="http://trac.bbpress.org/log/branches/0.9?action=stop_on_copy&#038;rev=1492&#038;stop_rev=1405&#038;mode=stop_on_copy">changes</a> and fixes a few <a href="http://trac.bbpress.org/query?status=closed&#038;milestone=0.9.0.2">bugs</a>, but is first and foremost a security release.  The vulnerability is not yet publicly known, but will be soon.</p>
<p>Many thanks go out to Steven J. Murdoch for identifying the issue (CVE-2008-1930) and working with us and <a href="http://wordpress.org/">WordPress</a> to resolve it.</p>
<p><strong>Note</strong>: Those of you with integrated WordPress/bbPress installs should upgrade WordPress first and then will probably have to update the &#8220;WordPress database secret&#8221; setting in your Settings -> WordPress Integration: Cookies admin panel after upgrading bbPress.</p>
]]></content:encoded>
			<wfw:commentRss>http://bbpress.org/blog/2008/04/security-release-bbpress-0902/feed/</wfw:commentRss>
		</item>
		<item>
		<title>bbPress 0.9 released</title>
		<link>http://bbpress.org/blog/2008/04/bbpress-09-brubeck/</link>
		<comments>http://bbpress.org/blog/2008/04/bbpress-09-brubeck/#comments</comments>
		<pubDate>Thu, 03 Apr 2008 03:16:30 +0000</pubDate>
		<dc:creator>Sam Bauers</dc:creator>
		
		<category><![CDATA[Releases]]></category>

		<guid isPermaLink="false">http://bbpress.org/?p=79</guid>
		<description><![CDATA[The bbPress team is happy to release bbPress 0.9 for download. This release is important for anyone who integrates bbPress with WordPress and wishes to update to WordPress 2.5.
Primarily this is a compatibility release so that we can continue to provide the same integration levels with WordPress as in the past, however quite a few [...]]]></description>
			<content:encoded><![CDATA[<p>The bbPress team is happy to release <a href="http://bbpress.org/download/">bbPress 0.9 for download</a>. This release is important for anyone who integrates bbPress with WordPress and wishes to update to WordPress 2.5.</p>
<p>Primarily this is a compatibility release so that we can continue to provide the same integration levels with WordPress as in the past, however quite a few other improvements have made their way into this version.</p>
<p>Improvements and changes include:</p>
<ul>
<li> New installer: 
<ul style="margin-top:2px;">
<li>Creates your bb-config.php file for you when possible.</li>
<li>Allows for setting up integration with WordPress at install time.</li>
<li>Supports languages other than English when language translations are available.</li>
<li>Looks pretty.</li>
</ul>
</li>
<li>Additional RSS feeds for views.</li>
<li>A &#8220;new topics&#8221; RSS feed, available on the front-page and on each forum. This feed only returns the first post from each new topic as it is created, instead of all posts.</li>
<li>More configurable &lt;title&gt; tag available to themes.</li>
<li>More secure authentication cookies which are compatible with WordPress 2.5</li>
<li>Passwords now stored using &#8220;phpass&#8221; hashing library instead of md5. If you still want to store your passwords as md5 for any reason, there is a plugin <a href="http://bbpress.org/plugins/topic/md5-insecurity-for-bbpress/">here</a> which will do that for you.</li>
<li>A second core theme called &#8220;Kakumei Blue&#8221;. This theme demonstrates just how little you need to do to start creating a new theme.</li>
<li>&#8220;General&#8221; and &#8220;WordPress Integration&#8221; options configurable via admin interface.</li>
<li>Built-in support for <a href="http://gravatar.com/">Gravatars</a>, implemented in a way that makes 3rd-party avatar plugins much easier to author.</li>
<li>New &#8220;Date and time format&#8221; and &#8220;Date format&#8221; options.</li>
<li>Akismet and Bozo functionalities have been moved to plugins. Akismet key now enterable via an admin interface.</li>
<li>Removed &#8220;replies&#8221; querystring argument (?replies=#) from topic links. If you still want that functionality, there is a plugin <a href="http://trac.bbpress.org/attachment/ticket/768/repliesequalnumber.php">here</a> which should emulate it.</li>
<li>Fixes to use of PHP &#8220;glob()&#8221; function to avoid errors on hosts that don&#8217;t support it.</li>
<li>Moderators can now manage tags by default.</li>
<li>Fixes to slug incrementing.</li>
<li>The old &#8220;admin_email&#8221; setting is now called &#8220;from_email&#8221;. This is now the email address that emails from your installation appear to come from.</li>
<li>&#8220;No replies&#8221; view is now technically &#8220;no replies and greater than 2 hours old&#8221;.</li>
<li>Improvements to the export script towards the integration of an upcoming import script.</li>
<li>RSS feeds now sent as UTF-8</li>
<li>Full support for slug-based feeds on forum and topic feeds.</li>
<li>Keymasters can no longer be demoted by non-keymasters.</li>
<li>Many other smaller bug and typo fixes.</li>
</ul>
<h3>Installation</h3>
<p>We have provided updated and more detailed <a href="http://bbpress.org/documentation/installation/">installation</a> and <a href="http://bbpress.org/documentation/integration-with-wordpress/">integration</a> instructions in the documentation.</p>
<h3>Upgrading</h3>
<p>Upgrade instructions are available in the documentation <a href="http://bbpress.org/documentation/upgrading/">here</a>.</p>
<h3>Dedication</h3>
<p>bbPress 0.9 is named &#8220;Brubeck&#8221; after American Jazz pianist <a href="http://en.wikipedia.org/wiki/Dave_Brubeck">Dave Brubeck</a>. In his early career he often performed with saxophonist <a href="http://en.wikipedia.org/wiki/Paul_Desmond">Paul Desmond</a>, after whom bbPress 0.8 was named. Brubeck has composed a number of jazz standards many of which employ complex rhythms and unusual time signatures.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="355" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="wmode" value="transparent" /><param name="src" value="http://www.youtube.com/v/s8E5A27PJHk&amp;color1=0x234900&amp;color2=0x4e9e00&amp;hl=en" /><embed type="application/x-shockwave-flash" width="425" height="355" src="http://www.youtube.com/v/s8E5A27PJHk&amp;color1=0x234900&amp;color2=0x4e9e00&amp;hl=en" wmode="transparent"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://bbpress.org/blog/2008/04/bbpress-09-brubeck/feed/</wfw:commentRss>
		</item>
		<item>
		<title>bbPress 0.9 notes for plugin developers</title>
		<link>http://bbpress.org/blog/2008/03/bbpress-09-notes-for-plugin-developers/</link>
		<comments>http://bbpress.org/blog/2008/03/bbpress-09-notes-for-plugin-developers/#comments</comments>
		<pubDate>Thu, 06 Mar 2008 05:49:54 +0000</pubDate>
		<dc:creator>Sam Bauers</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://bbpress.org/?p=80</guid>
		<description><![CDATA[
There are a few changes in 0.9 which plugin developers need to be aware of. So here are some notes to help you get your plugins running under the new release.

Detecting version 0.9
First of all if you want to detect whether someone is running version 0.9 or higher you can use this code:


if (version_compare(bb_get_option('version'), '0.9-z', [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://bbpress.wordpress.com/files/2008/03/plugs.gif" alt="Plugs!" /></p>
<p>There are a few changes in 0.9 which plugin developers need to be aware of. So here are some notes to help you get your plugins running under the new release.</p>
<p><span id="more-80"></span></p>
<h3>Detecting version 0.9</h3>
<p>First of all if you want to detect whether someone is running version 0.9 or higher you can use this code:</p>
<p><code></p>
<pre>
if (version_compare(bb_get_option('version'), '0.9-z', '&gt;=')) {
	// Tell us what your name is!
	echo('This is bbPress version 0.9 or higher.');
}
</pre>
<p></code></p>
<p><em>Note: The &#8220;-z&#8221; on the end will make sure you catch all pre-release versions of bbPress 0.9 as well, like &#8220;0.9-dev&#8221;.</em></p>
<h3>Removing deprecated function calls</h3>
<p>There are a number of no-longer-used functions from previous versions that we provide backwards compatibility for in <code>bb-includes/deprecated.php</code>. So you may not have noticed that your plugin is still using some of them. In version 0.9 we have made detecting your use of these a little easier by providing a way to report their use via PHP errors when they get called.</p>
<p>Just open up the file <code>bb-includes/deprecated.php</code> and change the &#8220;BB_LOG_DEPRECATED&#8221; constant at the top of the file from the boolean <em>false</em> to <em>true</em>.</p>
<p>Now if one of the many deprecated functions gets called it will be written to the same place that your PHP errors are written (either an error log or to the screen). The errors will tell you which deprecated function was called and what to replace it with.</p>
<h3>Removing deprecated constants</h3>
<p>A whole bunch of PHP constants have been deprecated in this release in an attempt to standardise our naming of constants. For now we are providing backwards compatibility for the older constants, but you should check your own usage of these and change them to use the correct ones.</p>
<p>Unfortunately there is no way to log these to errors, so this is a manual find and replace task. Two arrays of constants and their replacements can be found in <a href="http://trac.bbpress.org/browser/branches/0.8/bb-settings.php#L304"><code>bb-settings.php</code> starting at line 304</a>.</p>
<h3>New &#8220;bb-plugins&#8221; directory for core plugins only</h3>
<p>There is a new directory called <code>bb-plugins</code> in the root of the bbPress codebase. This directory is reserved for plugins that are distributed with the core bbPress files. Third-party plugins should still be stored in a separate <code>my-plugins</code> directory. Do not instruct users to install files in the <code>bb-plugins</code> directory, they are functionally no different from each other, except that the bb-plugins directory has more potential to be destroyed during user upgrades. You have been warned!!!</p>
<h3>Storage of active plugins and active theme in options</h3>
<p>Formerly we stored active plugins in a serialized array where each plugin was identified using it&#8217;s relative path from the <code>my-plugins</code> directory, e.g. &#8220;plugin.php&#8221; or &#8220;folder/plugin.php&#8221;. With the advent of core plugins there exists a need to differentiate between &#8220;core&#8221; and &#8220;user&#8221; plugins.</p>
<p>We are doing so by prefixing either &#8220;core#&#8221; or &#8220;user#&#8221; to the plugin, so the previous examples in the <code>my-plugins</code> folder would become &#8220;user#plugin.php&#8221; and &#8220;user#folder/plugin.php&#8221; in the same serialized array.</p>
<p>Similarly we are changing the way the active theme is stored. Instead of saving the absolute path to the active them, instead we are simply storing it&#8217;s name, i.e. the name of the directory it is contained prefixed with either &#8220;core#&#8221; or &#8220;user#&#8221; depending on it&#8217;s location.</p>
<h3>Plugin activation and deactivation hooks</h3>
<p>The correct way to register a function to run on plugin activation is like this:</p>
<p><code></p>
<pre>
function foo() {
	echo 'bar!';
}

bb_register_plugin_activation_hook(__FILE__, 'foo');
</pre>
<p></code></p>
<p>Provided that the file you are registering in is the base plugin file. Do not hardcode the plugin file name as users may move them into directories inside the plugins directory.</p>
<p>Registering a function to run on plugin deactivation is similar except you need to call <code>bb_register_plugin_deactivation_hook()</code></p>
<h3>Built-in avatar support</h3>
<p>With the inclusion of built-in avatar support you may think that all the time you spent on that custom avatar plugin is wasted. But actually, it is quite the opposite. By incorporating avatar calls into the default templates and providing a fully pluggable and filterable <a href="http://trac.bbpress.org/browser/branches/0.8/bb-includes/pluggable.php#L536"><code>get_avatars()</code> function</a>, integrating avatars is actually easier than ever.</p>
<h3>New plugin browser</h3>
<p>One thing that might have slipped by without enough attention is the new <a href="http://bbpress.org/plugins/">plugin browser</a> which was recently implemented. Go have a play and check out all of the newness.</p>
<h3>Thanks&#8230;</h3>
<p>And finally, a big thanks to all our plugin developers for contributing so much to the bbPress community. If you have any ideas about how we can help you build better plugins, then let us know.</p>
]]></content:encoded>
			<wfw:commentRss>http://bbpress.org/blog/2008/03/bbpress-09-notes-for-plugin-developers/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The future for bbPress</title>
		<link>http://bbpress.org/blog/2008/01/the-future-for-bbpress/</link>
		<comments>http://bbpress.org/blog/2008/01/the-future-for-bbpress/#comments</comments>
		<pubDate>Fri, 25 Jan 2008 01:47:16 +0000</pubDate>
		<dc:creator>Sam Bauers</dc:creator>
		
		<category><![CDATA[Community]]></category>

		<category><![CDATA[Development]]></category>

		<category><![CDATA[Automattic]]></category>

		<category><![CDATA[awesome]]></category>

		<category><![CDATA[Doc]]></category>

		<category><![CDATA[fruit bowls]]></category>

		<category><![CDATA[future]]></category>

		<category><![CDATA[trumpets]]></category>

		<guid isPermaLink="false">http://bbpress.org/?p=78</guid>
		<description><![CDATA[
Most of those who follow the tech-blog-o-sphere* will be aware of the recent financial news regarding Automattic, the company that more or less stewards bbPress&#8217; production.
For the rest of you here are some links that cover the story.
Some people may be wondering what this news means for bbPress. Well, for a start this funding has [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://bbpress.wordpress.com/files/2008/01/back_to_the_future.jpg" style="width:306px; height:263px;" alt="Great Scott!" /></p>
<p>Most of those who follow the tech-blog-o-sphere* will be aware of the recent financial news regarding <a href="http://automattic.com">Automattic</a>, the company that more or less stewards bbPress&#8217; production.</p>
<p>For the rest of you <a href="http://gigaom.com/2008/01/22/wordpresscom-creator-raises-29m/">here</a> <a href="http://ma.tt/2008/01/act-two/">are</a> <a href="http://toni.schneidersf.com/2008/01/22/automattic-fundraising/">some</a> <a href="http://www.techcrunch.com/2008/01/22/automattic-lands-massive-295m-for-wordpress-other-products/">links</a> that cover the story.</p>
<p>Some people may be wondering what this news means for bbPress. Well, for a start this funding has already impacted on the project as it made my full-time employment with Automattic possible three months ago when the arrangement was in it&#8217;s early stages. But more importantly it now allows Automattic to have the financial security to back bbPress into the foreseeable future.</p>
<p>We have some awesome things in the pipe including improvements to the bbPress core, the bbpress.org website and, in the not too distant future, the launch of a hosted community service by Automattic based on bbPress.</p>
<p>In the meantime, we will be ramping up the pace of development and attempting to bring out some of the new features that have been on the &#8220;to-do&#8221; list for far too long. Features which we hope will help to differentiate bbPress from the crowd and make it a truly useful tool for building online communities.</p>
<p>* <em>NB: Not an actual word</em></p>
]]></content:encoded>
			<wfw:commentRss>http://bbpress.org/blog/2008/01/the-future-for-bbpress/feed/</wfw:commentRss>
		</item>
		<item>
		<title>bbPress 0.8.3.1 released</title>
		<link>http://bbpress.org/blog/2008/01/bbpress-0831-released/</link>
		<comments>http://bbpress.org/blog/2008/01/bbpress-0831-released/#comments</comments>
		<pubDate>Fri, 04 Jan 2008 02:31:54 +0000</pubDate>
		<dc:creator>Sam Bauers</dc:creator>
		
		<category><![CDATA[Releases]]></category>

		<guid isPermaLink="false">http://bbpress.org/blog/2008/01/bbpress-0831-released/</guid>
		<description><![CDATA[Due to popular demand we have bundled a bug-fix release for bbPress. 0.8.3.1 (still called &#8220;Desmond&#8221; I believe) and it is now available for download.
This version is not the latest development release so as to remain as compatible as possible with the current version of WordPress.
The primary reason for the release is to fix some [...]]]></description>
			<content:encoded><![CDATA[<p>Due to popular demand we have bundled a bug-fix release for bbPress. 0.8.3.1 (still called &#8220;Desmond&#8221; I believe) and it is now available for <a href="http://bbpress.org/download/">download</a>.</p>
<p>This version is <em>not</em> the latest development release so as to remain as compatible as possible with the current version of WordPress.</p>
<p>The primary reason for the release is to fix some bugs in the MySQLi implementation. We anticipate that MySQLi support will be dropped in the future and to this end we have made MySQL the default extension instead of MySQLi.</p>
<p>A few other fixes and enhancements have also snuck in:</p>
<ul>
<li>Deep forum breadcrumbs with thanks to baptiste</li>
<li>More consistent topic labeling methods - users of the <a href="http://bbpress.org/plugins/topic/16">support forum plugin</a> will probably need to upgrade to version 2.3.3</li>
<li>Some fixes to stop orphaned sub-forums from disappearing from all view</li>
<li>There is now one of those fancy checkboxes to mark a user as a bozo</li>
</ul>
<p>A couple of those changes will affect existing themes. If you have questions about adapting your theme to be compatible with the new topic labeling and forum breadcrumb features, then ask over on <a href="http://bbpress.org/forums/topic/making-your-theme-compatible-with-0831">this forum topic</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://bbpress.org/blog/2008/01/bbpress-0831-released/feed/</wfw:commentRss>
		</item>
		<item>
		<title>bbPress &#8220;Roundtable&#8221; at WordCamp Melbourne</title>
		<link>http://bbpress.org/blog/2007/11/bbpress-roundtable-at-wordcamp-melbourne/</link>
		<comments>http://bbpress.org/blog/2007/11/bbpress-roundtable-at-wordcamp-melbourne/#comments</comments>
		<pubDate>Mon, 12 Nov 2007 23:22:34 +0000</pubDate>
		<dc:creator>Sam Bauers</dc:creator>
		
		<category><![CDATA[Community]]></category>

		<category><![CDATA[wordcamp melbourne]]></category>

		<guid isPermaLink="false">http://bbpress.org/blog/2007/11/bbpress-roundtable-at-wordcamp-melbourne/</guid>
		<description><![CDATA[
I&#8217;ll be at WordCamp Melbourne this weekend to reprasent bbPress. It&#8217;s a good opportunity for both seasoned bbPress users and newbs to find out more about our favourite forum software. As the crowd will be mainly WordPressers, I&#8217;ll be focusing the discussion on integration with WordPress and a few of the more WordPress-centric plugins.
Automattic developer [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://melbourne.wordcamp.org/"><img src="http://incsub.org/blog/wp-content/uploads/2007/11/wordcamp_banner_160.jpg" alt="" /></a></p>
<p>I&#8217;ll be at <a href="http://melbourne.wordcamp.org/">WordCamp Melbourne</a> this weekend to reprasent bbPress. It&#8217;s a good opportunity for both seasoned bbPress users and newbs to find out more about our favourite forum software. As the crowd will be mainly WordPressers, I&#8217;ll be focusing the discussion on integration with WordPress and a few of the more WordPress-centric plugins.</p>
<p>Automattic developer <a href="http://thresholdstate.com/">Alex Shiels</a> will be there as well as other local blogging luminaries. Check out the full program <a href="http://melbourne.wordcamp.org/files/2007/11/final-wordcamp-programx.pdf">here</a> (pdf), and <a href="http://upcoming.yahoo.com/event/291613/?ps=5">RSVP on Upcoming</a> soon, it&#8217;s almost full.</p>
]]></content:encoded>
			<wfw:commentRss>http://bbpress.org/blog/2007/11/bbpress-roundtable-at-wordcamp-melbourne/feed/</wfw:commentRss>
		</item>
		<item>
		<title>bbPress 0.8.3</title>
		<link>http://bbpress.org/blog/2007/09/bbpress-083/</link>
		<comments>http://bbpress.org/blog/2007/09/bbpress-083/#comments</comments>
		<pubDate>Thu, 27 Sep 2007 00:50:43 +0000</pubDate>
		<dc:creator>mdawaffe</dc:creator>
		
		<category><![CDATA[Releases]]></category>

		<guid isPermaLink="false">http://bbpress.org/blog/2007/09/bbpress-083/</guid>
		<description><![CDATA[A new version is finally here, and ready for download!  The biggest news is better search and compatibility with WordPress 2.3, but it also fixes a lot of bugs.

Other bug fixes include:

Broken forum hierarchies
Tag inconsistencies
and a bunch of fixes making it easier to write cool plugins.

In addition to the above bugs, you can also [...]]]></description>
			<content:encoded><![CDATA[<p>A new version is finally here, and ready for <a href="/download/">download</a>!  The biggest news is <a href="http://bbpress.org/blog/2007/06/searching-and-the-bb_query-class/">better search</a> and <a href="http://bbpress.org/blog/2007/09/wordpress-23-is-out/">compatibility with WordPress 2.3</a>, but it also fixes <a href="http://trac.bbpress.org/query?status=closed&#038;milestone=0.8.3+%26+BB_Query">a lot of bugs</a>.</p>
<p><span id="more-75"></span></p>
<p>Other bug fixes include:</p>
<ul>
<li>Broken forum hierarchies</li>
<li>Tag inconsistencies</li>
<li>and a bunch of fixes making it easier to write cool plugins.</li>
</ul>
<p>In addition to the above bugs, you can also check out the exact <a href="http://trac.bbpress.org/log/trunk?rev=854&#038;stop_rev=721">code changes</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://bbpress.org/blog/2007/09/bbpress-083/feed/</wfw:commentRss>
		</item>
		<item>
		<title>BB_Query Class and custom bbPress views</title>
		<link>http://bbpress.org/blog/2007/09/bb_query-class-and-custom-bbpress-views/</link>
		<comments>http://bbpress.org/blog/2007/09/bb_query-class-and-custom-bbpress-views/#comments</comments>
		<pubDate>Thu, 27 Sep 2007 00:35:24 +0000</pubDate>
		<dc:creator>mdawaffe</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://bbpress.org/blog/2007/09/bb_query-class-and-custom-bbpress-views/</guid>
		<description><![CDATA[With the introduction of the new BB_Query_Class in bbPress 0.8.3, the old method of adding custom &#8220;views&#8221; to bbPress has been removed.  You should no longer directly manipulate the $bb_views array, nor does the bb_views hook work.
To add a view, you should instead use a new function: bb_register_view().  Also available is bb_deregister_view() for [...]]]></description>
			<content:encoded><![CDATA[<p><code></code>With the introduction of the new <a href="http://bbpress.org/blog/2007/06/searching-and-the-bb_query-class/">BB_Query_Class</a> in <a href="http://bbpress.org/blog/2007/09/bbpress-083/">bbPress 0.8.3</a>, the old method of adding custom &#8220;views&#8221; to bbPress has been removed.  You should no longer directly manipulate the <code>$bb_views</code> array, nor does the <code>bb_views</code> hook work.</p>
<p>To add a view, you should instead use a new function: <code>bb_register_view()</code>.  Also available is <code>bb_deregister_view()</code> for removing the default views or views added by other plugins.</p>
<pre><code>
function my_plugin_views() {
/*
  bb_register_view(
            $view_slug,
            $view_title,
            $bb_query_argument_array
  );
*/

  bb_register_view(
            'more-than-5',
            'Topics with more than five posts',
            array( 'post_count' => '>5' )
  );

  bb_register_view(
            'old-timers',
            'Topics started before 2005',
            array( 'started' => '&lt;2005' )
  );

  // Remove default 'Topics with no tags' view
  bb_deregister_view( 'untagged' );
}

add_action( 'bb_init', 'my_plugin_views' );
</code></pre>
<p>If you <em>really</em> need more complicated queries, you have the following filters at your disposal, just by registering your view in the above fashion (assuming the <code>$view_slug</code> is &#8220;my-view&#8221;).</p>
<ul>
<li><code>bb_view_my-view_distinct</code></li>
<li><code>bb_view_my-view_fields</code></li>
<li><code>bb_view_my-view_join</code></li>
<li><code>bb_view_my-view_where</code></li>
<li><code>bb_view_my-view_group_by</code></li>
<li><code>bb_view_my-view_having</code></li>
<li><code>bb_view_my-view_order_by</code></li>
<li><code>bb_view_my-view_limit</code></li>
</ul>
<p>If that sounds complicated, it probably is <img src='http://bbpress.org/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Most plugin developers will never have to do much besides filter a join or where here and there.</p>
]]></content:encoded>
			<wfw:commentRss>http://bbpress.org/blog/2007/09/bb_query-class-and-custom-bbpress-views/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WordPress 2.3 is out</title>
		<link>http://bbpress.org/blog/2007/09/wordpress-23-is-out/</link>
		<comments>http://bbpress.org/blog/2007/09/wordpress-23-is-out/#comments</comments>
		<pubDate>Tue, 25 Sep 2007 01:51:34 +0000</pubDate>
		<dc:creator>mdawaffe</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://bbpress.org/blog/2007/09/wordpress-23-is-out/</guid>
		<description><![CDATA[WordPress 2.3 is now available.
I mention that because the current version of bbPress (version 0.8.2) is not compatible with WordPress 2.3 if you are loading both scripts at the same time.  If you&#8217;re not loading both scripts at the same time, everything is fine.
A new version of bbPress will be coming out in a [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://wordpress.org/development/2007/09/wordpress-23/">WordPress 2.3</a> is now available.</p>
<p>I mention that because the current version of bbPress (version 0.8.2) is not compatible with WordPress 2.3 <em>if</em> you are loading both scripts at the same time.  If you&#8217;re not loading both scripts at the same time, everything is fine.</p>
<p>A new version of bbPress will be coming out in a day or two as soon as we get done testing it, and that version will fully compatible with the latest version of WordPress once again.</p>
]]></content:encoded>
			<wfw:commentRss>http://bbpress.org/blog/2007/09/wordpress-23-is-out/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Searching and the BB_Query class</title>
		<link>http://bbpress.org/blog/2007/06/searching-and-the-bb_query-class/</link>
		<comments>http://bbpress.org/blog/2007/06/searching-and-the-bb_query-class/#comments</comments>
		<pubDate>Fri, 29 Jun 2007 17:17:17 +0000</pubDate>
		<dc:creator>mdawaffe</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://bbpress.org/blog/2007/06/searching-and-the-bb_query-class/</guid>
		<description><![CDATA[bbPress has twenty or so functions that select groups of topics or posts from the database.  Some of them do very specific things, and some of them do something only slightly different from another such function.
Maintaining this large group of functions and keeping them all consistent was beginning to become a nuisance.  Additionally, [...]]]></description>
			<content:encoded><![CDATA[<p>bbPress has twenty or so functions that select groups of topics or posts from the database.  Some of them do very specific things, and some of them do something only slightly different from another such function.</p>
<p>Maintaining this large group of functions and keeping them all consistent was beginning to become a nuisance.  Additionally, it was annoying to have either to write a whole new function or to hack filters into and onto an existing function every time a new database query was needed.</p>
<p>To help alleviate both of these problems, the next version of bbPress will come with a <code>BB_Query</code> class, which all of the above referenced functions will use.</p>
<p><span id="more-70"></span></p>
<p>For developers and plugin authors, this means it&#8217;ll will now be really easy to query the database for posts and topics based on whatever arbitrary criteria is needed.  For users, the following couple paragraphs will be boring, but see <a href="#search-features-70">the news below</a> <img src='http://bbpress.org/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h3 id="code-example-70">Example</h3>
<p>As an example, the following code will select all the topics written by mdawaffe in June of 2007 and having the &#8220;bbPress&#8221; tag and will sort those topics by their start time.</p>
<pre><code>
$topic_query = new BB_Query( 'topic',
	array(
		'topic_author' => 'mdawaffe',
		'started' => '2007-06',
		'tag' => 'bbpress',
		'order_by' => 'topic_start_time'
	)
);
$topic_query->results; // Here's the array of topics the query returned.
</code></pre>
<p>Both the incoming parameters and the SQL query that the class generates are highly filterable (in a way that&#8217;s backward compatible with the current version of bbPress), so further customization should be easy.  Also, the <code>BB_Query</code> class can automatically handle pagination, caching and more, so you can relax and get on with more interesting things.</p>
<h3 id="search-features-70">New feature: better search</h3>
<p>In the end, though, we write code for users, not for developers; we want the user experience to be as pleasant as possible.  With all these new bells and whistles, users get some pretty cool new features.</p>
<p>The default theme will now let you constrain your search to an individual forum (and adding that ability into other themes will be super easy).  Adding extra constraints (like searching by tag or author) will be easy too.</p>
<p>In the admin section, you can search both topics and posts by a number of criteria.</p>
<p><a href='http://bbpress.org/wordpress/wp-content/uploads/2007/06/bbpress-topic-search.png' title='bbPress Topic Search'><img src='http://bbpress.org/wordpress/wp-content/uploads/2007/06/bbpress-topic-search.png' alt='bbPress Topic Search' width="570" /></a></p>
<p><a href='http://bbpress.org/wordpress/wp-content/uploads/2007/06/bbpress-post-search.png' title='bbPress Post Search'><img src='http://bbpress.org/wordpress/wp-content/uploads/2007/06/bbpress-post-search.png' alt='bbPress Post Search' width="570" /></a></p>
<p>Next stop&#8230; Pingbacks. (sshhh!  It&#8217;s a secret!)</p>
]]></content:encoded>
			<wfw:commentRss>http://bbpress.org/blog/2007/06/searching-and-the-bb_query-class/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
