<?xml version="1.0"?><!-- 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 Showcase: Forum: bbPress Themes - Recent Posts</title>
<link>http://bbshowcase.org/forums/</link>
<description>bbPress Showcase: Forum: bbPress Themes - Recent Posts</description>
<language>en</language>
<pubDate>Thu, 24 May 2012 15:23:05 +0000</pubDate>

<item>
<title>_ck_ on "Create a topics list"</title>
<link>http://bbshowcase.org/forums/topic/create-a-topics-list#post-2939</link>
<pubDate>Tue, 24 Jan 2012 17:49:55 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">2939@http://bbshowcase.org/forums/</guid>
<description>&#60;p&#62;They never wrote documentation because they kept changing the program every year or so.&#60;/p&#62;
&#60;p&#62;Take a look inside the code in the bbpress root as well as the templates to get an idea of how it works.&#60;/p&#62;
&#60;p&#62;get_topic is for the topic page, for a single topic&#60;/p&#62;
&#60;p&#62;to get a group of topics you have to use a query&#60;/p&#62;
&#60;p&#62;Take a look at my  &#34;My Views&#34; plugin to get an idea how to do the query and show the results. It can be done just like how WordPress works.&#60;/p&#62;
&#60;p&#62;I wrote a little about custom queries here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration&#34; rel=&#34;nofollow&#34;&#62;http://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Just change &#60;code&#62;$bbdb&#60;/code&#62; for &#60;code&#62;$wpdb&#60;/code&#62; (see my-views for real demonstrations)&#60;/p&#62;
&#60;p&#62;And these might help you down the road:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://google.com/search?q=site%3Abbpress.org+inurl%3Aheres-how&#34; rel=&#34;nofollow&#34;&#62;http://google.com/search?q=site%3Abbpress.org+inurl%3Aheres-how&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>mccawphoto on "Create a topics list"</title>
<link>http://bbshowcase.org/forums/topic/create-a-topics-list#post-2938</link>
<pubDate>Tue, 24 Jan 2012 17:44:38 +0000</pubDate>
<dc:creator>mccawphoto</dc:creator>
<guid isPermaLink="false">2938@http://bbshowcase.org/forums/</guid>
<description>&#60;p&#62;Can anyone shed some light on how to create a list of topics? Also is there a way to limit how many topics show up in the list and also order them by date and the most recent?&#60;/p&#62;
&#60;p&#62;I was able to create a list of forums using this code:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;/p&#62;
&#60;ul&#62;
&#60;p&#62;&#38;lt;?php $forums = get_forums(); ?&#38;gt;&#60;br /&#62;
&#38;lt;?php foreach ( $forums as $forum ) : ?&#38;gt;&#60;/p&#62;
&#60;li&#62;
        &#60;a&#62;forum_id ); ?&#38;gt;&#34;&#38;gt;&#38;lt;?php forum_name( $forum-&#38;gt;forum_id ); ?&#38;gt;&#60;/a&#62;&#60;br /&#62;
        &#38;lt;span class=&#34;forum-posts&#34;&#38;gt;(&#38;lt;?php forum_posts( $forum-&#38;gt;forum_id ); ?&#38;gt; posts)&#38;lt;/span&#38;gt;
    &#60;/li&#62;
&#60;p&#62;&#38;lt;?php endforeach; ?&#38;gt;&#60;/p&#62;
&#60;/ul&#62;
&#60;p&#62;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;I have tried the code below but it isn't working. There is so little documentation on bbpress that I am having trouble figuring out what to set $topics equal to.&#60;br /&#62;
Any help is appreciated.&#60;br /&#62;
&#60;code&#62;&#60;/p&#62;
&#60;ul&#62;
&#60;p&#62;&#38;lt;?php $topics = get_topic(); ?&#38;gt;&#60;br /&#62;
&#38;lt;?php foreach ( $topics as $topic ) : ?&#38;gt;&#60;/p&#62;
&#60;li&#62;
      &#60;a&#62;topic_id ); ?&#38;gt;&#34;&#38;gt;&#38;lt;?php topic_title( $topic-&#38;gt;topic_id ); ?&#38;gt;&#60;/a&#62;&#60;br /&#62;
      &#38;lt;span class=&#34;topic-posts&#34;&#38;gt;(&#38;lt;?php topic_posts( $topic-&#38;gt;topic_id ); ?&#38;gt; posts)&#38;lt;/span&#38;gt;
   &#60;/li&#62;
&#60;p&#62;&#38;lt;?php endforeach; ?&#38;gt;&#60;/p&#62;
&#60;/ul&#62;
&#60;p&#62;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Also, any suggestions on where to find more documentation?&#60;br /&#62;
Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>mccawphoto on "Change default avatar in bbpress 1.1"</title>
<link>http://bbshowcase.org/forums/topic/change-default-avatar-in-bbpress-11#post-2937</link>
<pubDate>Tue, 24 Jan 2012 09:59:44 +0000</pubDate>
<dc:creator>mccawphoto</dc:creator>
<guid isPermaLink="false">2937@http://bbshowcase.org/forums/</guid>
<description>&#60;p&#62;That worked perfectly! Thanks for your help!
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Change default avatar in bbpress 1.1"</title>
<link>http://bbshowcase.org/forums/topic/change-default-avatar-in-bbpress-11#post-2936</link>
<pubDate>Tue, 24 Jan 2012 06:00:44 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">2936@http://bbshowcase.org/forums/</guid>
<description>&#60;p&#62;It looks like in 1.1 they broke the avatar default just like it used to be broken in wordpress.&#60;/p&#62;
&#60;p&#62;First they get the default &#60;code&#62;if ( empty($default) ) 		$default = bb_get_option(&#38;#39;avatars_default&#38;#39;);&#60;/code&#62;&#60;br /&#62;
but then they override it with their own &#60;code&#62;$default = $host . &#38;#39;/avatar/ad516503a11cd5ca435acc9bb6523536?s=&#38;#39; . $size;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;This means your only option is to filter it afterwards.&#60;/p&#62;
&#60;p&#62;Try making a mini-plugin with this code instead (or add it to your template header.php)&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter( &#38;#39;bb_get_avatar&#38;#39;, &#38;#39;custom_default_avatar&#38;#39;); 

function custom_default_avatar($data) {return preg_replace(&#38;#39;@(\&#38;amp;amp\;d\=).+?(\&#38;#39;&#124;&#38;quot;&#124;\&#38;amp;amp\;)@sm&#38;#39;,&#38;#39;$1http://www.example.com/defaultavatar.png$2&#38;#39;,$data);}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and change the example part to the url to your default avatar
&#60;/p&#62;</description>
</item>
<item>
<title>mccawphoto on "Change default avatar in bbpress 1.1"</title>
<link>http://bbshowcase.org/forums/topic/change-default-avatar-in-bbpress-11#post-2935</link>
<pubDate>Mon, 23 Jan 2012 23:49:15 +0000</pubDate>
<dc:creator>mccawphoto</dc:creator>
<guid isPermaLink="false">2935@http://bbshowcase.org/forums/</guid>
<description>&#60;p&#62;Does anyone know how to change the default avatar in bbpress 1.1 to a custom avatar that you have created?&#60;/p&#62;
&#60;p&#62;Thanks for any help!
&#60;/p&#62;</description>
</item>
<item>
<title>mccawphoto on "Topic Reply Form on separate page"</title>
<link>http://bbshowcase.org/forums/topic/topic-reply-form-on-separate-page/page/2#post-2934</link>
<pubDate>Fri, 20 Jan 2012 11:32:06 +0000</pubDate>
<dc:creator>mccawphoto</dc:creator>
<guid isPermaLink="false">2934@http://bbshowcase.org/forums/</guid>
<description>&#60;p&#62;Thanks for all of your help! I really appreciate it!
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Topic Reply Form on separate page"</title>
<link>http://bbshowcase.org/forums/topic/topic-reply-form-on-separate-page/page/2#post-2933</link>
<pubDate>Fri, 20 Jan 2012 11:31:05 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">2933@http://bbshowcase.org/forums/</guid>
<description>&#60;p&#62;It's part of the old cookies and does not matter.&#60;/p&#62;
&#60;p&#62;Please keep in mind I will not be able to answer questions for you non-stop, in fact I have to leave now so you'll be on your own.
&#60;/p&#62;</description>
</item>
<item>
<title>mccawphoto on "Topic Reply Form on separate page"</title>
<link>http://bbshowcase.org/forums/topic/topic-reply-form-on-separate-page/page/2#post-2932</link>
<pubDate>Fri, 20 Jan 2012 11:29:08 +0000</pubDate>
<dc:creator>mccawphoto</dc:creator>
<guid isPermaLink="false">2932@http://bbshowcase.org/forums/</guid>
<description>&#60;p&#62;Ok, I will do that what about the next question in the installer? Wordpress database Secret. It says &#34;This must match the value of the WordPress setting named &#34;secret&#34; in your WordPress installation. Look for the option labeled &#34;secret&#34; in this WordPress admin page. If you leave this blank the installer will try to fetch the value based on your WordPress database integration settings.&#34;&#60;/p&#62;
&#60;p&#62;I looked and didn't see any thing labeled &#34;secret&#34;. Is this something I ignore as well?&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Topic Reply Form on separate page"</title>
<link>http://bbshowcase.org/forums/topic/topic-reply-form-on-separate-page/page/2#post-2931</link>
<pubDate>Fri, 20 Jan 2012 11:24:46 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">2931@http://bbshowcase.org/forums/</guid>
<description>&#60;p&#62;For the cookies on 0.9 you will need to install my &#34;freshly baked cookies&#34; plugin and edit the settings there. &#60;/p&#62;
&#60;p&#62;The cookie settings in 0.9 do not matter because they are outdated.&#60;/p&#62;
&#60;p&#62;Just copy those 8 lines from wp-config to the cookies plugin instead.
&#60;/p&#62;</description>
</item>
<item>
<title>mccawphoto on "Topic Reply Form on separate page"</title>
<link>http://bbshowcase.org/forums/topic/topic-reply-form-on-separate-page/page/2#post-2930</link>
<pubDate>Fri, 20 Jan 2012 11:22:28 +0000</pubDate>
<dc:creator>mccawphoto</dc:creator>
<guid isPermaLink="false">2930@http://bbshowcase.org/forums/</guid>
<description>&#60;p&#62;Great! I am installing the final 0.9 branch. I manually edited the bb-config file and am working my way through the installation. I am at the field for &#34;Wordpress cookie secret key&#34; Below the field it says, &#34;This value must match the value of the constant named &#34;SECRET_KEY&#34; in your WordPress wp-config.php file. This will replace the bbPress cookie secret key set in the first step.&#34; There is no constant named &#34;SECRET_KEY&#34; in the wp-config file. I have the following:&#60;/p&#62;
&#60;p&#62;define('AUTH_KEY',&#60;br /&#62;
define('SECURE_AUTH_KEY',&#60;br /&#62;
define('LOGGED_IN_KEY',&#60;br /&#62;
define('NONCE_KEY',&#60;br /&#62;
define('AUTH_SALT',&#60;br /&#62;
define('SECURE_AUTH_SALT',&#60;br /&#62;
define('LOGGED_IN_SALT',&#60;br /&#62;
define('NONCE_SALT'&#60;/p&#62;
&#60;p&#62;Is it one of these?&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
</item>

</channel>
</rss>

