<?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: bb_active_theme</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress Support Forums Tag: bb_active_theme</description>
<language>en</language>
<pubDate>Thu, 08 Jan 2009 22:54:46 +0000</pubDate>

<item>
<title>Omarvelous on "localhost installs"</title>
<link>http://bbpress.org/forums/topic/localhost-installs#post-7624</link>
<pubDate>Thu, 24 May 2007 13:38:10 +0000</pubDate>
<dc:creator>Omarvelous</dc:creator>
<guid isPermaLink="false">7624@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;GREAT!! Thx!
&#60;/p&#62;</description>
</item>
<item>
<title>dprice on "localhost installs"</title>
<link>http://bbpress.org/forums/topic/localhost-installs#post-6907</link>
<pubDate>Sun, 22 Apr 2007 13:42:41 +0000</pubDate>
<dc:creator>dprice</dc:creator>
<guid isPermaLink="false">6907@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Cheers mirfan - your fix worked a treat! (I've got an XP install using &#60;a href=&#34;http://www.wampserver.com/en/index.php&#34; title=&#34;WAMP server&#34;&#62;WAMP&#60;/a&#62; as a server - just for testing stuff atm).
&#60;/p&#62;</description>
</item>
<item>
<title>mirfan on "localhost installs"</title>
<link>http://bbpress.org/forums/topic/localhost-installs#post-6438</link>
<pubDate>Fri, 06 Apr 2007 06:34:00 +0000</pubDate>
<dc:creator>mirfan</dc:creator>
<guid isPermaLink="false">6438@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I changed&#60;br /&#62;
&#60;code&#62;define( 'BBPATH', dirname(__FILE__) . '/' );&#60;/code&#62;&#60;br /&#62;
with this:&#60;br /&#62;
&#60;code&#62;define( 'BBPATH', str_replace('\\', '/', realpath(dirname(__FILE__))) . '/' );&#60;/code&#62;&#60;br /&#62;
in bb-load.php, and now it works on localhost with windows xp sp2.
&#60;/p&#62;</description>
</item>
<item>
<title>tquizzle on "localhost installs"</title>
<link>http://bbpress.org/forums/topic/localhost-installs#post-6373</link>
<pubDate>Wed, 04 Apr 2007 16:23:15 +0000</pubDate>
<dc:creator>tquizzle</dc:creator>
<guid isPermaLink="false">6373@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;davetropeano's fix worked, although I had to dig a little to find out exactly what he was referring to.&#60;br /&#62;
You dont want to create a &#60;strong&#62;field&#60;/strong&#62; but rather a &#60;strong&#62;row&#60;/strong&#62; in the &#34;bb_topicmeta&#34; table.&#60;br /&#62;
I was able to check a working bbpress installation on Linux to verify the setting. I noticed that the bb_active_theme was set to use the full server path to the template folder. The below did the trick for me.&#60;/p&#62;
&#60;p&#62;meta_id = next available number&#60;br /&#62;
topic_id = 0&#60;br /&#62;
meta_key = bb_active_theme&#60;br /&#62;
meta_value = /bbpress-path/bb-templates/theme-to-use/&#60;/p&#62;
&#60;p&#62;Save that, cross your fingers and refresh your forum.
&#60;/p&#62;</description>
</item>
<item>
<title>Trent on "localhost installs"</title>
<link>http://bbpress.org/forums/topic/localhost-installs#post-6254</link>
<pubDate>Sat, 31 Mar 2007 22:30:51 +0000</pubDate>
<dc:creator>Trent</dc:creator>
<guid isPermaLink="false">6254@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Thanks for the discussion!   I will make sure I point mdawaffe to this thread! &#60;/p&#62;
&#60;p&#62;Cheers,&#60;/p&#62;
&#60;p&#62;Trent
&#60;/p&#62;</description>
</item>
<item>
<title>davetropeano on "localhost installs"</title>
<link>http://bbpress.org/forums/topic/localhost-installs#post-6250</link>
<pubDate>Sat, 31 Mar 2007 20:40:49 +0000</pubDate>
<dc:creator>davetropeano</dc:creator>
<guid isPermaLink="false">6250@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I recently did my first bbpress install on localhost and it went miserably. I used the latest download from today.&#60;/p&#62;
&#60;p&#62;Checking on this forum I had the same path seperator issues and stylesheet issues others had, etc.&#60;/p&#62;
&#60;p&#62;My $bb-&#38;gt;domain and $bb-&#38;gt;path were fine. The fresh install just didn't work properly under xampp and then again a retry on easyPHP.&#60;/p&#62;
&#60;p&#62;This is the solution and findings I found:&#60;/p&#62;
&#60;p&#62;1. The first issue is because in config.php and bb-load.php dirname(__FILE__) is used to get the base path for BBPATH. This is not a good thing on localhost Windows based installs.&#60;/p&#62;
&#60;p&#62;2. There are a number of attempted workarounds to this that I've read about in this forum. All of them that I saw didn't work. Focusing on the issue with the stylesheet href not being correct I noticed that there was logic in the bb_get_active_theme_folder() function.&#60;/p&#62;
&#60;p&#62;By default, the installer does NOT create an option entry 'bb_active_theme' in the database table topicmeta. The code logic doesn't make the correct uri.&#60;/p&#62;
&#60;p&#62;To fix this, do an install and then add a database field bb_active_theme in the topicmeta table.&#60;/p&#62;
&#60;p&#62;For example, I set mine to:&#60;br /&#62;
&#60;a href=&#34;http://localhost/dev/bbpress/&#34; rel=&#34;nofollow&#34;&#62;http://localhost/dev/bbpress/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Playing regular expression games to change x:\ and \ in general is not worth it. This seemed to be simple and worked right out of the box.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
