hey chris, thanks i just did that.. but i still get an error, it some what smaller though but its this:-
Fatal error: Cannot redeclare _http_build_query() (previously declared in /home/eraxeco1/public_html/massbase.com/community/bb-includes/backpress/functions.compat.php:21) in /home/eraxeco1/public_html/massbase.com/wp-includes/compat.php on line 45
now i haven’t touched any other file, i havent touched compat.php either.
Try using the file path to the file rather than a relative path. The system is telling you it can’t find the file in that location. Try this:
require_once('/home/eraxeco1/public_html/massbase.com/community/bb-load.php');
bbPress
I really really wish he would put it in bbPress subversion. Would be a lot easier for me to make sure the plugin is updated.
Ok, I’ll take a look at that. I’m actually planning on converting my phpBB2 forum over instead of moving to phpBB3. I have made mods for phpBB2 and would like to make the same plugins for bbPress, but not if they already exist.
Wow, thanks for that. Any specific action or filter you’d recommend I attach this to so I can insert it without modifying template code? Like the sidebar? I’m new to bbPress and I don’t know what all the plugin API’s are. If I attach it to the sidebar, do you want the code?
Im using the latest alpha version, My wordpress is on root, and my forum is on a folder called /community.
I put this on wp-config.php :-
require_once('/community/bb-load.php');
im getting this error:-
Warning: require_once(/community/bb-load.php) [function.require-once]: failed to open stream: No such file or directory in /home/eraxeco1/public_html/massbase.com/wp-config.php on line 2
Fatal error: require_once() [function.require]: Failed opening required '/community/bb-load.php' (include_path='.:/usr/lib/php') in /home/eraxeco1/public_html/massbase.com/wp-config.php on line 2
This?
https://bbpress.org/forums/topic/i-want-to-use-bbpress-function-on-wordpress
Most of the posts I’ve seen have been old regarding including bbPress inside WordPress.
There is this for the newer alpha versions, but it only does a couple things:
https://wordpress.org/extend/plugins/bbpress-live/
Sorry, I deleted the first one as a dupe of this by mistake. Should have undeleted it. My mistake.
First: Thanks to all developers and coders for coding and working on bbpress and specially to ck for great plugins.
So, I have installed bbpress 0.9.0.2 installed (http://spinus.info/forum) and Topic Icons plugin 0.0.5
Trouble: sticky topics are displayed only on front page in “latest discussions” field. If I try to open a sub-forum, where sticky topic is situated in separate window, a topic is not visible.
So, there is a sticky topic: http://spinus.info/forum/topic.php?id=102&replies=1
You can see it in a latest discussions field as sticky.
But if you would open its parent forum http://spinus.info/forum/forum.php?id=30
Sticky topic is not shown
what’s a matter? Please, HELP!!!
It’s definitely possible to integrate bbPress with outside authentication systems!
There are some great posts about it here… it mentions that there are four places to tie into bbPress’s auth:
https://bbpress.org/forums/topic/integration-with-non-wp-software
What bulletin board system are you using? Maybe you could write a bbPress plugin to call your outside avatars inside of bbPress…
Just install my bbpress theme switcher plugin, disable the dropdown.
Then replace function bb_ts_get_theme() {
with something like this (untested, will need some editing)
function bb_ts_get_theme() {
$theme="kakumei"; // default fallback
$domain=strtolower($_SERVER['HTTP_HOST']);
if (strpos($domain,"first-domain.com")!==false) {$theme="1st-theme";}
if (strpos($domain,"second-domain.com")!==false) {$theme="2nd-theme";}
return $theme;
}
I’ve now made a full plugin that uses cookies so any user can switch languages.
https://bbpress.org/plugins/topic/bbpress-language-switcher/
You can set a cookie and make it semi-permanent.
Because there is also a filter in that function, you do not need to hack the core.
$locale = apply_filters('locale', $locale);
You would make a mini-plugin something like this
add_filter('locale', 'language_switcher');
function language_switcher($locale) {
if (!empty($_REQUEST['lang'])) {$locale=substr(strip_tags(stripslashes($_REQUEST['lang'])),0,30);}
return $locale;
}
You still have to write the code to make some kind of pulldown/menu to select the language and set the cookie.
There is a language switcher for wordpress that could be ported to bbPress, I think there was some talk about it around here and someone else made their own too.
Oh here it is:
https://bbpress.org/plugins/topic/user-languages
im getting the same error, but the reference above (chrishajer’s) doesnt help.
iv looked everywhere and the documentary, it just shows for WP functions to go in bbpress… i need a vice versa
There is a mini-plugin for i18n usersnames.
https://bbpress.org/forums/topic/diacritic-letters-i-username-like-goran#post-14205
But there are fundamental flaws in how bbPress uses usernames and unicode characters might interfere with proper operation.
I also don’t see any real attempt to sanitize in there, so there might be security risks.
i just want to add bbpress functions to wordpress what header files do i have to include where?
how can i use bbpress functions like: – <?php bb_new_topic_link(); ?> in my wordpress theme?
what header files do have to add where?
please dont delete this topic.
What type of servers are you talking about?
And, you might want to turn off permalinks until you’ve set them up. That might be your 404 error:
https://bbpress.org/documentation/faq/#pretty-permalinks
i would like to know how to do the other way round of adding BBPRESS functions in wordpress.
I have two problems after I have installed bbpress 0.90.4 .
1, when I registered new user in server for testing, it can’t sent a email, so I can’t get a password.
2, the forum only run in my server computer, user’s computer got 404 error after registered and click the button. Why doesn’t run in user computer?
How to fix these problems?
HI sway,
I dont think it does work like that. It’s a confusing name choice as a Category means something different in wordpress. Category in this instance means and equivalent of “section” or a parent group of forums so…
Category
– – Forum
– – – – Topic
– – Forum
– – – – Topic
– – – – Topic
– – Forum
– – – – Topic
If i can link to an old example i made (from September last year) , you can see that the different categories have forums as ‘children’: http://kevinjohngallagher.com/___alpha/bbpress_as_phpbb/
Someone can help me with this error? It appears immediately after installation! I dont understand what it means. I will appreciate if someone know this issue.
Warning: include(/web/htdocs/www.svilupposolidarieta.it/home/forum/bb-templates/kakumei/front-page.php) [function.include]: failed to open stream: No such file or directory in /web/htdocs/www.svilupposolidarieta.it/home/forum/bb-includes/template-functions.php on line 17
Warning: include() [function.include]: Failed opening ‘/web/htdocs/www.svilupposolidarieta.it/home/forum/bb-templates/kakumei/front-page.php’ for inclusion (include_path=’.:/php5/lib/php/’) in /web/htdocs/www.svilupposolidarieta.it/home/forum/bb-includes/template-functions.php on line 17
If you want to see directly the website:
http://www.svilupposolidarieta.it/forum/
P.S. I’m Italian
I re-installed 0.9.0.4.
The Error message is
Warning: file(user) [function.file]: failed to open stream: No such file or directory in /Library/WebServer/Documents/bbpress/bb-admin/admin-functions.php on line 850
Warning: implode() [function.implode]: Invalid arguments passed in /Library/WebServer/Documents/bbpress/bb-admin/admin-functions.php on line 850
Warning: Cannot modify header information – headers already sent by (output started at /Library/WebServer/Documents/bbpress/bb-admin/admin-functions.php:850) in /Library/WebServer/Documents/bbpress/bb-includes/functions.php on line 2271
and green background messages is shown.
[
Your attempt to do this has failed.
Please try again.
Back to work.
]
I really want you to help me..