Search Results for 'bbpress'
-
Search Results
-
Hi folks,
I like the simplicity of the bbpress forum very much. Since I’m currentlu developing my own travel community (which is a pretty huge project with a blogging system, member profile pages etc) I’m looking at the question which forum I should use.
How hard is it to connect bbpress to an existing member database? I also want to customise the forum heavily so that it fits exactly into my design.
Are there any tutorials or good posts that cover this issue extensively? Or do you recommend using an entirely different forum script for this matter? If so, I need a very very simplistic one.
Thanks very much for your help.
Kai
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.
“Fatal error: Cannot redeclare class streamreader in /path/to/bbpress/bb-includes/streams.php on line 26”
Coz StreamReader class has been declared in wordpress, but bbpress will declare it again in ‘bb-settings.php’, this coz the error.
here is the code in ‘bb-settings.php’
Code:include_once(BBPATH . BBINC . ‘streams.php’);
include_once(BBPATH . BBINC . ‘gettext.php’);I use class_exists to avoid these two files, ‘streams.php’ and ‘gettext.php’ to be include twice.
the code came into these:
Code:if (!class_exists(‘StreamReader’))
include_once(BBPATH . BBINC . ‘streams.php’);if (!class_exists(‘gettext_reader’))
include_once(BBPATH . BBINC . ‘gettext.php’);then it works! bbpress came back to normal, but my language file seems not to be loaded.
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. ><
Topic: Automatic login in bbpress
Hi,
I want to automate login in bbpress and start bbpress session. How can i do that? I have my portal setup with list of users who come there for additional functionalities, I want to extend it by adding bbpress forum.
Basically in that way…
I need to do 1. Register users in bbpress database 2. login in bbpress whenever user logs in to my site and 3. logs out whenever user logs out from my site.
Are there any interfaces available which i can use in my code? My code is also in php and I am willing to modify some core files if required.
Please let me know. I will really appreciate your help.