<?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 Topic: wordpress integrate problem when enable BBLANG</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums Topic: wordpress integrate problem when enable BBLANG</description>
<language>en</language>
<pubDate>Fri, 21 Nov 2008 00:12:35 +0000</pubDate>

<item>
<title>CoreForce on "wordpress integrate problem when enable BBLANG"</title>
<link>http://bbpress.org/forums/topic/wordpress-integrate-problem-when-enable-bblang#post-14694</link>
<pubDate>Wed, 26 Mar 2008 12:38:46 +0000</pubDate>
<dc:creator>CoreForce</dc:creator>
<guid isPermaLink="false">14694@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Looks like I'm running into the same or similar issue.&#60;br /&#62;
Localization works fine on my local system, which is WordPress free.&#60;/p&#62;
&#60;p&#62;I've uploaded the same configuration onto a hosted server and this one fails to internationalize. I realize now that the hosting provider offers WordPress as installation option out of the box. I suspect this to be the reason why the internationalizations fails, presumably because of some preliminary setups for WordPress are in place already.&#60;/p&#62;
&#60;p&#62;Is there a clean solution to get bbpress internationalized without all the hazzle from WordPress? I intend not to install the WordPress package.
&#60;/p&#62;</description>
</item>
<item>
<title>helpy on "wordpress integrate problem when enable BBLANG"</title>
<link>http://bbpress.org/forums/topic/wordpress-integrate-problem-when-enable-bblang#post-13927</link>
<pubDate>Mon, 18 Feb 2008 15:33:46 +0000</pubDate>
<dc:creator>helpy</dc:creator>
<guid isPermaLink="false">13927@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Quoto from &#60;a href=&#34;/blog/2006/09/simpler-integration-with-wordpress&#34;&#62;simpler integration with wordpress&#60;/a&#62;:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;Do so by defining WP_BB as true in either config.php or wp-config.php. Also, WordPress will have to be loaded first.&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;I use WP and BB with german language! If I include wp-blog-header.php in the configuration file (config.php) of bbpress, the following error occurs:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;Fatal error: Cannot redeclare class streamreader in /homepages/.../www/forum/bb-includes/streams.php on line 26&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;If I uncomment the lines 122 + 123 in bb-settings.php:&#60;/p&#62;
&#60;p&#62;//	include_once(BBPATH . BBINC . 'streams.php');&#60;br /&#62;
//	include_once(BBPATH . BBINC . 'gettext.php');&#60;/p&#62;
&#60;p&#62;No error occurs ... but the forum is in english!&#60;/p&#62;
&#60;p&#62;I use WP 2.3.3 and bbpress 0.8.3.1 ... WP is installed in web root and bbpress in the subfolder &#34;forum&#34;.&#60;/p&#62;
&#60;p&#62;Is there a documented way to fix this ... or a workaround?&#60;/p&#62;
&#60;p&#62;cu, helpy
&#60;/p&#62;</description>
</item>
<item>
<title>goranlin on "wordpress integrate problem when enable BBLANG"</title>
<link>http://bbpress.org/forums/topic/wordpress-integrate-problem-when-enable-bblang#post-13313</link>
<pubDate>Tue, 22 Jan 2008 21:15:07 +0000</pubDate>
<dc:creator>goranlin</dc:creator>
<guid isPermaLink="false">13313@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I inserted your code:&#60;br /&#62;
[code]&#60;br /&#62;
include_once(BBPATH . BBINC . 'streams.php');&#60;br /&#62;
include_once(BBPATH . BBINC . 'gettext.php');&#60;br /&#62;
[/code]&#60;/p&#62;
&#60;p&#62;in 'bb-settings.php' but it did not quite work. My blog &#60;a href=&#34;http://www.goranlin.se/blogg/wordpress/&#34; rel=&#34;nofollow&#34;&#62;http://www.goranlin.se/blogg/wordpress/&#60;/a&#62;  is slower and website adm disappeared. And my forum &#60;a href=&#34;http://www.goranlin.se/blogg/wordpress/bbpress/&#34; rel=&#34;nofollow&#34;&#62;http://www.goranlin.se/blogg/wordpress/bbpress/&#60;/a&#62;&#60;br /&#62;
still do not show the posts from the blog which was planned. I use bbSync to try to get that, but no success so far.
&#60;/p&#62;</description>
</item>
<item>
<title>goranlin on "wordpress integrate problem when enable BBLANG"</title>
<link>http://bbpress.org/forums/topic/wordpress-integrate-problem-when-enable-bblang#post-13306</link>
<pubDate>Tue, 22 Jan 2008 19:14:12 +0000</pubDate>
<dc:creator>goranlin</dc:creator>
<guid isPermaLink="false">13306@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I seems to have the same problem. I get&#60;/p&#62;
&#60;p&#62;Fatal error: Cannot redeclare class streamreader in /mnt/home/_g/goranlin/www.goranlin.se/blogg/wordpress/bbpress/bb-includes/streams.php on line 26&#60;/p&#62;
&#60;p&#62;I want both wp and bbpress to be translate so maybe I can put your code into 'bb-settings.php'. Would that work?
&#60;/p&#62;</description>
</item>
<item>
<title>tzangms on "wordpress integrate problem when enable BBLANG"</title>
<link>http://bbpress.org/forums/topic/wordpress-integrate-problem-when-enable-bblang#post-4746</link>
<pubDate>Thu, 22 Feb 2007 14:50:20 +0000</pubDate>
<dc:creator>tzangms</dc:creator>
<guid isPermaLink="false">4746@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Today I am integreating wordpress and bbpress, it's works fine, but after I set BBLANG to my language(zh_TW), this message below shows up.&#60;/p&#62;
&#60;p&#62;&#34;Fatal error: Cannot redeclare class streamreader in /path/to/bbpress/bb-includes/streams.php on line 26&#34;&#60;/p&#62;
&#60;p&#62;Coz StreamReader class has been declared in wordpress,  but bbpress will declare it again in 'bb-settings.php', this coz the error.&#60;/p&#62;
&#60;p&#62;here is the code in 'bb-settings.php'&#60;br /&#62;
[code]&#60;br /&#62;
include_once(BBPATH . BBINC . 'streams.php');&#60;br /&#62;
include_once(BBPATH . BBINC . 'gettext.php');&#60;br /&#62;
[/code]&#60;/p&#62;
&#60;p&#62;I use class_exists to avoid these two files, 'streams.php' and 'gettext.php' to be include twice.&#60;/p&#62;
&#60;p&#62;the code came into these:&#60;br /&#62;
[code]&#60;br /&#62;
if (!class_exists('StreamReader'))&#60;br /&#62;
	include_once(BBPATH . BBINC . 'streams.php');&#60;/p&#62;
&#60;p&#62;if (!class_exists('gettext_reader'))&#60;br /&#62;
	include_once(BBPATH . BBINC . 'gettext.php');&#60;br /&#62;
[/code]&#60;br /&#62;
then it works! bbpress came back to normal, but my language file seems not to be loaded.&#60;/p&#62;
&#60;p&#62;After all, I find out, that bbpress uses wordpress function after integrate, so I place my .mo file into /path/to/wordpress/wp-includes/languages/ , then, my language file finally loaded. but ..... here is another problem, the .po of wordpress and bbpress will mess up into one file. but I want my wordpress not to be translated. &#38;gt;&#38;lt;
&#60;/p&#62;</description>
</item>

</channel>
</rss>
