<?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: Here&#039;s how to show bbPress info inside WordPress without full integration</title>
		<link>http://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration</link>
		<description>bbPress Support Forums &#187; Topic: Here&#039;s how to show bbPress info inside WordPress without full integration</description>
		<language>en-US</language>
		<pubDate>Fri, 25 May 2012 11:29:29 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
				<atom:link href="http://bbpress.org/forums/rss/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration" rel="self" type="application/rss+xml" />

		<item>
			<title>chrishajer on "Here&#039;s how to show bbPress info inside WordPress without full integration"</title>
			<link>http://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration/page/2#post-68297</link>
			<pubDate>Thu, 06 May 2010 17:52:43 +0000</pubDate>
			<dc:creator>chrishajer</dc:creator>
			<guid isPermaLink="false">68297@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>This is my favorite topic of all time on bbpress.org - thanks _ck_
</p>]]></description>
					</item>
		<item>
			<title>_ck_ on "Here&#039;s how to show bbPress info inside WordPress without full integration"</title>
			<link>http://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration/page/2#post-68271</link>
			<pubDate>Thu, 06 May 2010 05:57:34 +0000</pubDate>
			<dc:creator>_ck_</dc:creator>
			<guid isPermaLink="false">68271@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>We might be able to guilt/nag Matt into getting a proper Wiki installed here once he gets WordPress 3 out the door (but then there will be 3.0.1 and 3.0.2 the week after, so maybe 2 weeks then, lol)
</p>]]></description>
					</item>
		<item>
			<title>Markus Pezold on "Here&#039;s how to show bbPress info inside WordPress without full integration"</title>
			<link>http://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration/page/2#post-66986</link>
			<pubDate>Thu, 08 Apr 2010 16:15:24 +0000</pubDate>
			<dc:creator>Markus Pezold</dc:creator>
			<guid isPermaLink="false">66986@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Great Examples :) ... I think these examples would be great in the documentation for bbPress.
</p>]]></description>
					</item>
		<item>
			<title>Damien on "Here&#039;s how to show bbPress info inside WordPress without full integration"</title>
			<link>http://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration/page/2#post-62822</link>
			<pubDate>Wed, 06 Jan 2010 14:25:27 +0000</pubDate>
			<dc:creator>Damien</dc:creator>
			<guid isPermaLink="false">62822@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Can someone explain how I can pull the total number of  bbpress posts made and display them in wordpress theme, and also a harder one to solve, how do I get the total number of posts for a user in bbpress and display that in the users wordpress author.php?</p>
<p>I've got intergration happening with shared login/registrations, tables in same DB.</p>
<p>Thanks for any help :)
</p>]]></description>
					</item>
		<item>
			<title>Ashfame on "Here&#039;s how to show bbPress info inside WordPress without full integration"</title>
			<link>http://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration/page/2#post-58610</link>
			<pubDate>Fri, 25 Sep 2009 03:39:21 +0000</pubDate>
			<dc:creator>Ashfame</dc:creator>
			<guid isPermaLink="false">58610@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>This works for me quite well. May be you are doing something wrong!
</p>]]></description>
					</item>
		<item>
			<title>chandersbs on "Here&#039;s how to show bbPress info inside WordPress without full integration"</title>
			<link>http://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration/page/2#post-58604</link>
			<pubDate>Thu, 24 Sep 2009 20:33:29 +0000</pubDate>
			<dc:creator>chandersbs</dc:creator>
			<guid isPermaLink="false">58604@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Actually I don't. I tried your code, but its still showing the same.
</p>]]></description>
					</item>
		<item>
			<title>Ashfame on "Here&#039;s how to show bbPress info inside WordPress without full integration"</title>
			<link>http://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration/page/2#post-58600</link>
			<pubDate>Thu, 24 Sep 2009 20:26:20 +0000</pubDate>
			<dc:creator>Ashfame</dc:creator>
			<guid isPermaLink="false">58600@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p><code>SELECT * FROM bb_forums WHERE forum_id &#60;&#62; 1 AND forum_id &#60;&#62; 2 AND topics &#60;&#62; 0 ORDER BY forum_order ASC LIMIT 10</code><br />
Got the idea?
</p>]]></description>
					</item>
		<item>
			<title>chandersbs on "Here&#039;s how to show bbPress info inside WordPress without full integration"</title>
			<link>http://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration/page/2#post-58598</link>
			<pubDate>Thu, 24 Sep 2009 20:23:03 +0000</pubDate>
			<dc:creator>chandersbs</dc:creator>
			<guid isPermaLink="false">58598@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>How exactly can I exclude some forums for showing up in this code, that generates a list of forums, or rather, HOW can i show only selected forums?</p>
<pre><code>&#60;?php if ( $topic ) : ?&#62;
    &#60;h2&#62;Forum List&#60;/h2&#62;
    &#60;ul&#62;
    &#60;?php
    global $bbdb;
    $query=&#34;SELECT * FROM bb_forums WHERE topics!=0 ORDER BY forum_order ASC LIMIT 10&#34;;
    $results=$bbdb-&#62;get_results($query);
    foreach ($results as $result) {
    echo &#34;&#60;li&#62;&#60;a href=&#39;/forum.php?id=&#34;.$result-&#62;forum_id.&#34;&#39;&#62;&#34;.$result-&#62;forum_name.&#34;&#60;/a&#62;&#60;/li&#62;&#34;;
    }
    ?&#62;
    &#60;/ul&#62;
    &#60;?php endif; ?&#62;</code></pre>]]></description>
					</item>
		<item>
			<title>Adam Harley on "Here&#039;s how to show bbPress info inside WordPress without full integration"</title>
			<link>http://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration/page/2#post-58518</link>
			<pubDate>Wed, 23 Sep 2009 16:48:34 +0000</pubDate>
			<dc:creator>Adam Harley</dc:creator>
			<guid isPermaLink="false">58518@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Yep, you have to sanitize yourself, the database objects presume anything they're passed has been already
</p>]]></description>
					</item>
		<item>
			<title>Ashfame on "Here&#039;s how to show bbPress info inside WordPress without full integration"</title>
			<link>http://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration/page/2#post-58363</link>
			<pubDate>Mon, 21 Sep 2009 11:27:38 +0000</pubDate>
			<dc:creator>Ashfame</dc:creator>
			<guid isPermaLink="false">58363@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>@Kawauso<br />
I think using <code>$wpdb</code> &#38; <code>$bbdb</code> should sanitize by them self but reading the page on codex it looks like that we need to do that explicitly. I am a lil confused. Can you please clarify?
</p>]]></description>
					</item>
		<item>
			<title>Ashfame on "Here&#039;s how to show bbPress info inside WordPress without full integration"</title>
			<link>http://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration/page/2#post-58358</link>
			<pubDate>Mon, 21 Sep 2009 08:42:45 +0000</pubDate>
			<dc:creator>Ashfame</dc:creator>
			<guid isPermaLink="false">58358@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Thanks ! I forgot that I should check out the codex for that.
</p>]]></description>
					</item>
		<item>
			<title>Adam Harley on "Here&#039;s how to show bbPress info inside WordPress without full integration"</title>
			<link>http://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration/page/2#post-58320</link>
			<pubDate>Sun, 20 Sep 2009 17:17:57 +0000</pubDate>
			<dc:creator>Adam Harley</dc:creator>
			<guid isPermaLink="false">58320@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>$wpdb and $bbdb have nice sanitizing functions and caching of results if I remember correctly<br />
<a href="http://codex.wordpress.org/Function_Reference/wpdb_Class" rel="nofollow">http://codex.wordpress.org/Function_Reference/wpdb_Class</a><br />
They can also be used to retrieve table names for the respective package
</p>]]></description>
					</item>
		<item>
			<title>Ashfame on "Here&#039;s how to show bbPress info inside WordPress without full integration"</title>
			<link>http://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration/page/2#post-58260</link>
			<pubDate>Sat, 19 Sep 2009 12:05:35 +0000</pubDate>
			<dc:creator>Ashfame</dc:creator>
			<guid isPermaLink="false">58260@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>How does using <code>$wpdb</code> &#38; <code>$bbdb</code> differs from using <code>$results=mysql_query($query);</code>?
</p>]]></description>
					</item>
		<item>
			<title>vlp on "Here&#039;s how to show bbPress info inside WordPress without full integration"</title>
			<link>http://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration/page/2#post-57092</link>
			<pubDate>Sat, 29 Aug 2009 16:14:08 +0000</pubDate>
			<dc:creator>vlp</dc:creator>
			<guid isPermaLink="false">57092@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Tomwi: can you post your code for showing mentioned template</p>
<p>*post title*<br />
Posted by: *user* in *forum*.</p>
<p>or send it to me - <a href="mailto:procka@tasty.sk">procka@tasty.sk</a></p>
<p>greets<br />
Vlado
</p>]]></description>
					</item>
		<item>
			<title>migran on "Here&#039;s how to show bbPress info inside WordPress without full integration"</title>
			<link>http://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration/page/2#post-55752</link>
			<pubDate>Sat, 01 Aug 2009 19:35:03 +0000</pubDate>
			<dc:creator>migran</dc:creator>
			<guid isPermaLink="false">55752@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>dear _ck_,<br />
i did as you suggested with adding<br />
&#60;?php require('/local-path-to-bbpress/bb-load.php'); ?&#62;<br />
to wordpress but it conflicts with wp-admin.<br />
any idea how to resolve this? </p>
<p><a href="http://bbpress.org/forums/topic/wordpress-integration-login#post-55751" rel="nofollow">http://bbpress.org/forums/topic/wordpress-integration-login#post-55751</a>
</p>]]></description>
					</item>
		<item>
			<title>_ck_ on "Here&#039;s how to show bbPress info inside WordPress without full integration"</title>
			<link>http://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration/page/2#post-25434</link>
			<pubDate>Mon, 06 Apr 2009 02:30:17 +0000</pubDate>
			<dc:creator>_ck_</dc:creator>
			<guid isPermaLink="false">25434@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Yes but that wouldn't work from the WordPress side.</p>
<p>The correct way to do it directly would be to either use the topic table which has the topic_poster_name (not bb_posts) or  to use a LEFT JOIN on the user table to fetch the user_login.</p>
<p>The LEFT JOIN will also get you the display name.</p>
<p>But there are several problems with your question.<br />
First of all, you mean Display Name, not Nice Name, unless you are trying to use it in a way I don't understand.</p>
<p>Secondly 0.9 doesn't use Display Name.</p>
<p>Third,<br />
"SELECT * FROM bb_posts WHERE topic_id=$topic_id AND post_id != $first_reply_id AND post_status=0 ORDER BY post_time DESC"</p>
<p>is a very inefficient query, there's no LIMIT, you are using *<br />
 what exactly are you trying to find?
</p>]]></description>
					</item>
		<item>
			<title>filiped on "Here&#039;s how to show bbPress info inside WordPress without full integration"</title>
			<link>http://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration/page/2#post-25426</link>
			<pubDate>Sun, 05 Apr 2009 22:59:04 +0000</pubDate>
			<dc:creator>filiped</dc:creator>
			<guid isPermaLink="false">25426@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Done!</p>
<p><strong>get_post_author($result-&#62;post_id);</strong></p>
<p>Could find in:</p>
<p><a href="http://phpxref.ftwr.co.uk/bbpress/nav.html?_functions/index.html" rel="nofollow">http://phpxref.ftwr.co.uk/bbpress/nav.html?_functions/index.html</a>
</p>]]></description>
					</item>
		<item>
			<title>filiped on "Here&#039;s how to show bbPress info inside WordPress without full integration"</title>
			<link>http://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration/page/2#post-25423</link>
			<pubDate>Sun, 05 Apr 2009 22:20:17 +0000</pubDate>
			<dc:creator>filiped</dc:creator>
			<guid isPermaLink="false">25423@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Hey guys! I can't make $result-&#62;topic_poster_name work in my 0.9.0.4 instalation.</p>
<p>Is this the right function for this version?</p>
<p><code><br />
	// REPLIES<br />
	$query_replies="SELECT * FROM bb_posts WHERE topic_id=$topic_id AND post_id != $first_reply_id AND post_status=0 ORDER BY post_time DESC";<br />
	$results_replies=$wpdb-&#62;get_results($query_replies);<br />
	$replies_text = "";</p>
<p>	foreach ($results_replies as $result) {<br />
		echo $result-&#62;post_text;<br />
		echo $result-&#62;topic_poster_name;<br />
	}<br />
</code></p>
<p>The post_text works perfectly, but the poster_name returns me nothing. Any idea?
</p>]]></description>
					</item>
		<item>
			<title>Atsutane on "Here&#039;s how to show bbPress info inside WordPress without full integration"</title>
			<link>http://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration/page/2#post-25396</link>
			<pubDate>Sat, 04 Apr 2009 17:04:58 +0000</pubDate>
			<dc:creator>Atsutane</dc:creator>
			<guid isPermaLink="false">25396@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Well since bbpress and wordpress are using ezsql... you can find ezsql tutorial here.</p>
<p><a href="http://justinvincent.com/docs/ezsql/ez_sql_help.htm" rel="nofollow">http://justinvincent.com/docs/ezsql/ez_sql_help.htm</a>
</p>]]></description>
					</item>
		<item>
			<title>edlvg on "Here&#039;s how to show bbPress info inside WordPress without full integration"</title>
			<link>http://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration/page/2#post-25394</link>
			<pubDate>Sat, 04 Apr 2009 16:17:11 +0000</pubDate>
			<dc:creator>edlvg</dc:creator>
			<guid isPermaLink="false">25394@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>thanks _ck_ worked beautiful, sounds quite helpful having a tutorial though, :p
</p>]]></description>
					</item>
		<item>
			<title>swaymedia on "Here&#039;s how to show bbPress info inside WordPress without full integration"</title>
			<link>http://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration/page/2#post-25391</link>
			<pubDate>Sat, 04 Apr 2009 15:30:34 +0000</pubDate>
			<dc:creator>swaymedia</dc:creator>
			<guid isPermaLink="false">25391@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>can you please just do a step by step tutorial, it is really hard to follow and i dont know which piece of code goes where.
</p>]]></description>
					</item>
		<item>
			<title>_ck_ on "Here&#039;s how to show bbPress info inside WordPress without full integration"</title>
			<link>http://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration/page/2#post-25381</link>
			<pubDate>Sat, 04 Apr 2009 07:59:46 +0000</pubDate>
			<dc:creator>_ck_</dc:creator>
			<guid isPermaLink="false">25381@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>edlvg you want something like<br />
<code>echo &#34;Posted by $result-&#62;topic_poster_name&#34;;</code></p>
<p>I just realized I completely missed explaining how to get forum names via WordPress, I was telling people to use bbPress functions which is of course impossible from WordPress. Let me know if anyone still needs the help.
</p>]]></description>
					</item>
		<item>
			<title>edlvg on "Here&#039;s how to show bbPress info inside WordPress without full integration"</title>
			<link>http://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration/page/2#post-25379</link>
			<pubDate>Sat, 04 Apr 2009 04:39:57 +0000</pubDate>
			<dc:creator>edlvg</dc:creator>
			<guid isPermaLink="false">25379@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Hello, so how's the code if we'd like to add posteb by... in ...<br />
I get the topic and forums list but'd like to show the author.<br />
Tried the codes at the beginning but doesnt seem to work, fatal errors :S</p>
<p>thanks in advance</p>
<p>ernesto
</p>]]></description>
					</item>
		<item>
			<title>ganzua on "Here&#039;s how to show bbPress info inside WordPress without full integration"</title>
			<link>http://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration/page/2#post-24701</link>
			<pubDate>Wed, 11 Mar 2009 16:34:51 +0000</pubDate>
			<dc:creator>ganzua</dc:creator>
			<guid isPermaLink="false">24701@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>This other nice trick by you doesn't work either from the wp comments template; </p>
<pre><code>global $wpdb;
$result=$wpdb-&#62;get_var(&#34;SELECT COUNT(*) FROM bb_posts WHERE poster_id = $user_id AND post_status = 0&#34;);
echo $result;</code></pre>
<p>No errors though. I tried replacing poster_id with wp comment_author_id but it didn't make it. </p>
<p>What I was trying to do is to put the the whole count of wp comments and bbpress posts all together.  </p>
<p>The previous question was because I produced a hit counter that runs for both; wp and bbpress. I added the total hits of the bbpress post views plugin to the wp counterize plugin. It works but I think I did this by the hard way.
</p>]]></description>
					</item>
		<item>
			<title>ganzua on "Here&#039;s how to show bbPress info inside WordPress without full integration"</title>
			<link>http://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration/page/2#post-24661</link>
			<pubDate>Tue, 10 Mar 2009 23:36:30 +0000</pubDate>
			<dc:creator>ganzua</dc:creator>
			<guid isPermaLink="false">24661@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Ok, thanks for your help :) I'm going to try more of these queries. I find them very useful to integrate small details.
</p>]]></description>
					</item>
		<item>
			<title>_ck_ on "Here&#039;s how to show bbPress info inside WordPress without full integration"</title>
			<link>http://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration/page/2#post-24659</link>
			<pubDate>Tue, 10 Mar 2009 22:56:21 +0000</pubDate>
			<dc:creator>_ck_</dc:creator>
			<guid isPermaLink="false">24659@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Because for some reason  the bbdb object must not be created when deeply integrated under 1.0</p>
<p>Must have something to do with backpress which re-uses wp functions.
</p>]]></description>
					</item>
		<item>
			<title>ganzua on "Here&#039;s how to show bbPress info inside WordPress without full integration"</title>
			<link>http://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration/page/2#post-24658</link>
			<pubDate>Tue, 10 Mar 2009 22:49:17 +0000</pubDate>
			<dc:creator>ganzua</dc:creator>
			<guid isPermaLink="false">24658@http://bbpress.org/forums/</guid>
			<description><![CDATA[<blockquote><p>That is with bbPress 1.0 right? the object_type is for 1.0</p></blockquote>
<p>Yes, it is bb 1.06a with wp 2.7  :)</p>
<p>I tried with get_var and I get the same error for get_var; </p>
<p>Fatal error: Call to a member function get_var() on a non-object in....</p>
<p>but then I changed $bbdb for  $wpdb and it works.  Why? I don't understand this.
</p>]]></description>
					</item>
		<item>
			<title>_ck_ on "Here&#039;s how to show bbPress info inside WordPress without full integration"</title>
			<link>http://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration/page/2#post-24653</link>
			<pubDate>Tue, 10 Mar 2009 21:07:36 +0000</pubDate>
			<dc:creator>_ck_</dc:creator>
			<guid isPermaLink="false">24653@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>That is with bbPress 1.0 right?  the object_type is for 1.0<br />
You get nothing using get_results because it returns an array - use get_var instead<br />
<pre><code>&#60;?php
global $bbdb;
$result=$bbdb-&#62;get_var(&#34;SELECT SUM(meta_value) FROM bb_meta WHERE object_type=&#39;bb_topic&#39; AND meta_key=&#39;views&#39;&#34;);
echo $result;
?&#62;</code></pre>]]></description>
					</item>
		<item>
			<title>ganzua on "Here&#039;s how to show bbPress info inside WordPress without full integration"</title>
			<link>http://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration/page/2#post-24651</link>
			<pubDate>Tue, 10 Mar 2009 20:31:34 +0000</pubDate>
			<dc:creator>ganzua</dc:creator>
			<guid isPermaLink="false">24651@http://bbpress.org/forums/</guid>
			<description><![CDATA[<blockquote><p>I need more info than "didn't work"</p>
</blockquote>
<p>Fatal error: Call to a member function get_results() on a non-object in wordpress/wp-content/themes/mytheme/header.php on line 149 (line where I placed the code)</p>
<blockquote><p>Try replacing $bbdb with $wpdb</p>
</blockquote>
<p>no error but what I want is to query bbpress data base.  Whenever I echo $results there is no answer.
</p>]]></description>
					</item>
		<item>
			<title>_ck_ on "Here&#039;s how to show bbPress info inside WordPress without full integration"</title>
			<link>http://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration/page/2#post-24649</link>
			<pubDate>Tue, 10 Mar 2009 19:35:33 +0000</pubDate>
			<dc:creator>_ck_</dc:creator>
			<guid isPermaLink="false">24649@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>I need more info than "didn't work"</p>
<p>Try replacing $bbdb with $wpdb
</p>]]></description>
					</item>

	</channel>
</rss>

