<?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 User Favorites: MaryJane</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums User Favorites: MaryJane</description>
<language>en</language>
<pubDate>Sat, 22 Nov 2008 22:57:11 +0000</pubDate>

<item>
<title>Null on "mysql_query() OR $bbdb-&#62;get_results() ?"</title>
<link>http://bbpress.org/forums/topic/mysql_query-or-bbdb-gtget_results-#post-9867</link>
<pubDate>Fri, 03 Aug 2007 20:20:55 +0000</pubDate>
<dc:creator>Null</dc:creator>
<guid isPermaLink="false">9867@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hmmm got this error:&#60;br /&#62;
Warning: Invalid argument supplied for foreach() in /home/sites/site116/web/bbpress/my-plugins/bbmenu.php on line 390&#60;/p&#62;
&#60;p&#62;the foreach:&#60;br /&#62;
foreach( $r1 as $rw ) {&#60;/p&#62;
&#60;p&#62;Null
&#60;/p&#62;</description>
</item>
<item>
<title>MaryJane on "Theme Question"</title>
<link>http://bbpress.org/forums/topic/theme-question#post-9814</link>
<pubDate>Thu, 02 Aug 2007 21:13:12 +0000</pubDate>
<dc:creator>MaryJane</dc:creator>
<guid isPermaLink="false">9814@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Thank you so10!  That website was very helpful.   I now have a css switcher instead of just a theme switcher.
&#60;/p&#62;</description>
</item>
<item>
<title>so1o on "Theme Question"</title>
<link>http://bbpress.org/forums/topic/theme-question#post-9787</link>
<pubDate>Thu, 02 Aug 2007 11:26:00 +0000</pubDate>
<dc:creator>so1o</dc:creator>
<guid isPermaLink="false">9787@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;you can also try css switching..&#60;br /&#62;
create three stylesheets and let users select which one they want. &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.alistapart.com/stories/alternate/&#34; rel=&#34;nofollow&#34;&#62;http://www.alistapart.com/stories/alternate/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>MaryJane on "Theme Question"</title>
<link>http://bbpress.org/forums/topic/theme-question#post-9779</link>
<pubDate>Thu, 02 Aug 2007 06:33:16 +0000</pubDate>
<dc:creator>MaryJane</dc:creator>
<guid isPermaLink="false">9779@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Well i knew about the wordpress theme switcher.  What i was really wondering was if someone had already made one for bbpress or was currently making one i guess.  Or if there was another way to do what i wanted without having to use a theme switcher.  &#60;/p&#62;
&#60;p&#62;Thank you for the link though.  Ill look at it.
&#60;/p&#62;</description>
</item>
<item>
<title>HowToGeek on "Theme Question"</title>
<link>http://bbpress.org/forums/topic/theme-question#post-9776</link>
<pubDate>Thu, 02 Aug 2007 06:18:17 +0000</pubDate>
<dc:creator>HowToGeek</dc:creator>
<guid isPermaLink="false">9776@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;It sounds like you really have a wordpress question since everything is running under wordpress...  but here's a plugin for wordpress to switch themes (I haven't tried it myself)&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://dev.wp-plugins.org/wiki/ThemeSwitcher&#34; rel=&#34;nofollow&#34;&#62;http://dev.wp-plugins.org/wiki/ThemeSwitcher&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I don't believe there is one for bbPress at the moment, considering there aren't a lot of themes out there.
&#60;/p&#62;</description>
</item>
<item>
<title>MaryJane on "Theme Question"</title>
<link>http://bbpress.org/forums/topic/theme-question#post-9774</link>
<pubDate>Thu, 02 Aug 2007 06:13:43 +0000</pubDate>
<dc:creator>MaryJane</dc:creator>
<guid isPermaLink="false">9774@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I have a theme i ported over to wp and bbpress.  It has the option of being one, two and three column's layout.  Im working on getting the other columns ported over i have the basic three column working now.  &#60;/p&#62;
&#60;p&#62;Theres links under the header to click to switch to each column layout.  I want to keep this feature to offer my members.  My question is there a simple way for me to let users switch columns?  Like using a theme switcher or some other way?  Ive searched the support forum here and so far i havent found a user theme plugin switcher on here.  Is there one made that im overlooking?   Even if there was one just because a user switched themes in the forum doesnt mean it would switch themes in the wordpress.... &#60;/p&#62;
&#60;p&#62;Can someone help me figure out to accomplish this?&#60;/p&#62;
&#60;p&#62;website url: &#60;a href=&#34;http://slickwhenwet.com/forum&#34; rel=&#34;nofollow&#34;&#62;http://slickwhenwet.com/forum&#60;/a&#62;   &#38;lt;-- work in progress
&#60;/p&#62;</description>
</item>
<item>
<title>Null on "mysql_query() OR $bbdb-&#62;get_results() ?"</title>
<link>http://bbpress.org/forums/topic/mysql_query-or-bbdb-gtget_results-#post-9747</link>
<pubDate>Wed, 01 Aug 2007 21:57:25 +0000</pubDate>
<dc:creator>Null</dc:creator>
<guid isPermaLink="false">9747@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I have that TortoiseSVN installed, still need to figure out how to let this update the trac aswell :)
&#60;/p&#62;</description>
</item>
<item>
<title>fel64 on "mysql_query() OR $bbdb-&#62;get_results() ?"</title>
<link>http://bbpress.org/forums/topic/mysql_query-or-bbdb-gtget_results-#post-9745</link>
<pubDate>Wed, 01 Aug 2007 21:51:47 +0000</pubDate>
<dc:creator>fel64</dc:creator>
<guid isPermaLink="false">9745@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;You need something like TortoiseSVN that'll let you apply patches to files.
&#60;/p&#62;</description>
</item>
<item>
<title>Null on "mysql_query() OR $bbdb-&#62;get_results() ?"</title>
<link>http://bbpress.org/forums/topic/mysql_query-or-bbdb-gtget_results-#post-9741</link>
<pubDate>Wed, 01 Aug 2007 21:37:41 +0000</pubDate>
<dc:creator>Null</dc:creator>
<guid isPermaLink="false">9741@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Testing this tomorrow after work.... nah after diner after work :)&#60;/p&#62;
&#60;p&#62;Thx for the help mate!&#60;/p&#62;
&#60;p&#62;_Null&#60;/p&#62;
&#60;p&#62;ps. how to open a .diff?? (windows machine)
&#60;/p&#62;</description>
</item>
<item>
<title>box87 on "mysql_query() OR $bbdb-&#62;get_results() ?"</title>
<link>http://bbpress.org/forums/topic/mysql_query-or-bbdb-gtget_results-#post-9737</link>
<pubDate>Wed, 01 Aug 2007 19:18:42 +0000</pubDate>
<dc:creator>box87</dc:creator>
<guid isPermaLink="false">9737@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;The new changes have been made:&#60;br /&#62;
&#60;a href=&#34;http://www.box.net/shared/cgrj1na0t7&#34; rel=&#34;nofollow&#34;&#62;http://www.box.net/shared/cgrj1na0t7&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I think that should cover the problems. I took the liberty of changing other things as well... hope you don't mind. I removed some redundancies in the CSS, and changed some little code things.&#60;br /&#62;
There's the modified &#60;code&#62;bbmenu.php&#60;/code&#62; file, as well as the diff file to make it a little easier for you to see what I changed. If you cant make sense of the diff there are diff file viewers that color the text and make it more human-readable.
&#60;/p&#62;</description>
</item>
<item>
<title>box87 on "mysql_query() OR $bbdb-&#62;get_results() ?"</title>
<link>http://bbpress.org/forums/topic/mysql_query-or-bbdb-gtget_results-#post-9715</link>
<pubDate>Wed, 01 Aug 2007 15:05:51 +0000</pubDate>
<dc:creator>box87</dc:creator>
<guid isPermaLink="false">9715@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;@Null - Working on it...&#60;br /&#62;
Don't lose hope :)&#60;/p&#62;
&#60;p&#62;Sorry about the &#34;day or so&#34;...
&#60;/p&#62;</description>
</item>
<item>
<title>MaryJane on "mysql_query() OR $bbdb-&#62;get_results() ?"</title>
<link>http://bbpress.org/forums/topic/mysql_query-or-bbdb-gtget_results-#post-9692</link>
<pubDate>Wed, 01 Aug 2007 01:22:03 +0000</pubDate>
<dc:creator>MaryJane</dc:creator>
<guid isPermaLink="false">9692@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I dont need to download phpmyadmin. I already have it with my hosting.  Thats what i used to make the table to bein with.  Since i cant get this to work without a bunch of errors ive disabled it until a better solution is figured out.
&#60;/p&#62;</description>
</item>
<item>
<title>Null on "mysql_query() OR $bbdb-&#62;get_results() ?"</title>
<link>http://bbpress.org/forums/topic/mysql_query-or-bbdb-gtget_results-#post-9652</link>
<pubDate>Tue, 31 Jul 2007 08:56:35 +0000</pubDate>
<dc:creator>Null</dc:creator>
<guid isPermaLink="false">9652@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;@ MaryJane download and use phpMyAdmin. It gives you acces to you database. You still need to know how to make/use SQL queries though :(&#60;/p&#62;
&#60;p&#62;@Box, dude had any time to help me out with the bbMenu plugin thingy? I want to fix this issue before I start with the next version (using jquery and fixing alot of bugs)&#60;/p&#62;
&#60;p&#62;Thx
&#60;/p&#62;</description>
</item>
<item>
<title>MaryJane on "mysql_query() OR $bbdb-&#62;get_results() ?"</title>
<link>http://bbpress.org/forums/topic/mysql_query-or-bbdb-gtget_results-#post-9636</link>
<pubDate>Tue, 31 Jul 2007 02:35:14 +0000</pubDate>
<dc:creator>MaryJane</dc:creator>
<guid isPermaLink="false">9636@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Im having the same issue with this plugin.  I switched all my tags to $bbdb-&#38;gt;get_results and it stoped the errors.  But i never got this plugin to work i just got the errors gone.  It never created the table.  I manually created the table but i dont know how to populate it with the neccessary information needed.  Also since it never created the table im assuming thats why i never saw a admin link to it in my admin control panel.   Does anyone know how to manually populate a table?  Or can you make a .sql file that manually creates and fill this table for me?&#60;/p&#62;
&#60;p&#62;Thank you.
&#60;/p&#62;</description>
</item>
<item>
<title>Null on "mysql_query() OR $bbdb-&#62;get_results() ?"</title>
<link>http://bbpress.org/forums/topic/mysql_query-or-bbdb-gtget_results-#post-9251</link>
<pubDate>Mon, 23 Jul 2007 17:12:22 +0000</pubDate>
<dc:creator>Null</dc:creator>
<guid isPermaLink="false">9251@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Okay okay, 1 day :) (just kidding)
&#60;/p&#62;</description>
</item>
<item>
<title>box87 on "mysql_query() OR $bbdb-&#62;get_results() ?"</title>
<link>http://bbpress.org/forums/topic/mysql_query-or-bbdb-gtget_results-#post-9247</link>
<pubDate>Mon, 23 Jul 2007 15:58:43 +0000</pubDate>
<dc:creator>box87</dc:creator>
<guid isPermaLink="false">9247@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Give me a day or so and I'll work on it. I've got about three jobs going at the moment.
&#60;/p&#62;</description>
</item>
<item>
<title>Null on "mysql_query() OR $bbdb-&#62;get_results() ?"</title>
<link>http://bbpress.org/forums/topic/mysql_query-or-bbdb-gtget_results-#post-9236</link>
<pubDate>Mon, 23 Jul 2007 07:34:31 +0000</pubDate>
<dc:creator>Null</dc:creator>
<guid isPermaLink="false">9236@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Wheren't you the guy that fixed (or claimed to have fixed) this particulair error I had with the bbMenu plugin?&#60;/p&#62;
&#60;p&#62;Thinking... yeah you where it, you said you fixed it using $bbdb-&#38;gt;get_results. So I replaced all mysql_query() with it, but this caused an error with the mysql_fetch_array. So what more did you change? Cause I can't seem to fix it :( I can hardly program, so some help plz :)&#60;/p&#62;
&#60;p&#62;Thx
&#60;/p&#62;</description>
</item>
<item>
<title>Null on "mysql_query() OR $bbdb-&#62;get_results() ?"</title>
<link>http://bbpress.org/forums/topic/mysql_query-or-bbdb-gtget_results-#post-9235</link>
<pubDate>Mon, 23 Jul 2007 07:33:54 +0000</pubDate>
<dc:creator>Null</dc:creator>
<guid isPermaLink="false">9235@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;-double post-
&#60;/p&#62;</description>
</item>
<item>
<title>box87 on "mysql_query() OR $bbdb-&#62;get_results() ?"</title>
<link>http://bbpress.org/forums/topic/mysql_query-or-bbdb-gtget_results-#post-9228</link>
<pubDate>Sun, 22 Jul 2007 22:28:24 +0000</pubDate>
<dc:creator>box87</dc:creator>
<guid isPermaLink="false">9228@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Stick with the ezSQL format... it'll be much easier.&#60;br /&#62;
Something like this (using &#60;code&#62;foreach&#60;/code&#62; instead of &#60;code&#62;while&#60;/code&#62;):&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$query = &#38;quot;SELECT * FROM $bbdb-&#38;gt;menu
WHERE set = &#38;#39;inactive&#38;#39; ORDER BY order ASC&#38;quot;;
$r = $bbdb-&#38;gt;get_results( $query );

foreach( $r as $rw ) {
  // now mess with $rw
  echo $rw-&#38;gt;database_row . &#38;quot;&#38;lt;br&#38;gt;\n&#38;quot;;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Something that might be helpful would be to browse the source of the ezSQL class in &#60;code&#62;/wp-includes/wp-db.php&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;&#60;em&#62;The latest from Justin Vincent, the author&#60;/em&#62;&#60;br /&#62;
&#60;a href=&#34;http://www.woyano.com/jv/ezsql&#34; rel=&#34;nofollow&#34;&#62;http://www.woyano.com/jv/ezsql&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;&#60;em&#62;The version used in bbPress and WordPress&#60;/em&#62;&#60;br /&#62;
&#60;a href=&#34;http://trac.wordpress.org/browser/trunk/wp-includes/wp-db.php&#34; rel=&#34;nofollow&#34;&#62;http://trac.wordpress.org/browser/trunk/wp-includes/wp-db.php&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;It might help you... you'd be able to see where &#60;code&#62;mysql_query&#60;/code&#62; is begin used, and how to use the ezSQL format best.&#60;/p&#62;
&#60;p&#62;I think the reason you're running into problems with &#60;code&#62;mysql_fetch_array&#60;/code&#62; is because it's already used.&#60;br /&#62;
Not sure on that one though... I would have to check.&#60;/p&#62;
&#60;p&#62;Also, what might cause an error: &#60;code&#62;$bbdb-&#38;gt;query&#60;/code&#62; will not return anything at all. &#60;code&#62;$bbdb-&#38;gt;get_results&#60;/code&#62; needs to be used for multi-dimensional array data, &#60;code&#62;$bbdb-&#38;gt;get_row&#60;/code&#62; or &#60;code&#62;$bbdb-&#38;gt;get_col&#60;/code&#62; need to be used for single array data, and &#60;code&#62;$bbdb-&#38;gt;get_var&#60;/code&#62; needs to be used for non-array/string data. &#60;code&#62;$bbdb-&#38;gt;query&#60;/code&#62; is used for inserting data, the others are used for retrieving it.&#60;/p&#62;
&#60;p&#62;Someone correct me if I'm wrong, but I'm pretty positive that's how it goes.&#60;br /&#62;
ezSQL is lovely. It certainly takes the pain out of MySQL data manipulation.&#60;/p&#62;
&#60;p&#62;So I guess that makes the answer to your question &#34;Neither.&#34; &#60;code&#62;$bbdb-&#38;gt;get_results&#60;/code&#62; should do the trick.&#60;br /&#62;
And sorry for the screed. :D
&#60;/p&#62;</description>
</item>
<item>
<title>Null on "mysql_query() OR $bbdb-&#62;get_results() ?"</title>
<link>http://bbpress.org/forums/topic/mysql_query-or-bbdb-gtget_results-#post-9225</link>
<pubDate>Sun, 22 Jul 2007 17:57:44 +0000</pubDate>
<dc:creator>Null</dc:creator>
<guid isPermaLink="false">9225@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Or use:&#60;br /&#62;
$bbdb-&#38;gt;query ??
&#60;/p&#62;</description>
</item>
<item>
<title>Null on "mysql_query() OR $bbdb-&#62;get_results() ?"</title>
<link>http://bbpress.org/forums/topic/mysql_query-or-bbdb-gtget_results-#post-9222</link>
<pubDate>Sun, 22 Jul 2007 15:47:48 +0000</pubDate>
<dc:creator>Null</dc:creator>
<guid isPermaLink="false">9222@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I currently have an API problem fixing a plugin. Using mysql_query() will result in errors on some boards so I wanted to change this using $bbdb-&#38;gt;get_results(). This works, but mysql_fetch_array will error things up now. What do I need to change to make this work correctly?&#60;/p&#62;
&#60;p&#62;Current code (without using $bbdb-&#38;gt;get_results()):&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$r = mysql_query(&#38;quot;SELECT * FROM $bbdb-&#38;gt;menu
WHERE set = &#38;#39;inactive&#38;#39; ORDER BY order ASC&#38;quot;);
while($rw = mysql_fetch_array($r))&#60;/code&#62;&#60;/pre&#62;</description>
</item>

</channel>
</rss>
