trying to integrate bbpress to use my wordpress theme… but running into problems. when i put the code into the bb.config file
require_once(‘../blog/header.php’);
if (file_exists(‘../blog/header.php’))
require_once(‘../blog/header.php’);
else
if (file_exists(‘../../blog/header.php’))
require_once(‘../../blog/header.php’);
it stacks the path on top of the forum path instead of where it belongs… giving me the error:
Warning: require_once(../blog/header.php) [function.require-once]: failed to open stream: No such file or directory in /home/xxxx/public_html/forum/bb-config.php on line 70
Fatal error: require_once() [function.require]: Failed opening required ‘../blog/header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/xxxx/public_html/forum/bb-config.php on line 70
has anyone else had this problem… and can you share how to fix it?
I’m using the method of replacing the header.php file content with <?php get_header(); ?> and the footer with <?php get_footer(); ?> if there is a better way of going about this, I’m open so please share 
thanks!
wp_ = wordpress
wp_bb_ = bbpress
admin ID = 1
wp_usermeta:
1 wp_capabilities = a:1:{s:13:"administrator";b:1;}
1 wp_bb_capabilities = a:1:{s:9:"keymaster";b:1;}
logout, login.
This version (original) of bbPress isn’t compatible tiwh BuddyPress. I’m afraid you have to ask on the BuddyPress forums for how they fix these things
This may seem like a strange request so I’ll try to describe the whole situation. I have a couple of web applications I have tied together by creating an OpenID Provider server for the main app, and configured bbpress as a Consumer using a modified version of the OpenID Plus plugin. Everything works great except logout. Since each app controls its own session information separately, logging out of one does not log out of the other. I can hook into bbpress’ logout to call the appropriate function in my main app, but the opposite direction is proving difficult.
In my logout function external to bbpress I have the following:
require ('../forum/bb-load.php');
bb_logout();
but receive this error when its executed:
Fatal error: Call to a member function suppress_errors() on a non-object in ***/forum/bb-includes/functions.bb-core.php on line 63
Line 62 and 63 from the file in question
global $bbdb;
$bbdb->suppress_errors();
I don’t understand how it could get as far as this line without setting $bbdb in bb-settings.php. Any ideas?
$decimals = ( is_null( $decimals ) ) ? $bb_locale->number_format : intval( $decimals );
This line (443) in the same file (/bb-includes/class.bb-locale.php), it returns a comma (,) when $decimals isn’t a number, which isn’t correct according to the PHP manual.
Why are we setting it to $bb_locale->number_format and not 0 when $decimals aren’t set?
I just found the code making the “error”.
/bb-includes/class.bb-locale.php : Line 445
$num = number_format( $number, $decimals, $bb_locale->number_format, $bb_locale->number_format );
I can also tell, that the server is up to date, running the latest PHP 5 etc.
Yes, but i’m not a bbpress / php expert
Twitter only supports 140 characters so if we even get the functionality to parse the tweet, there wont be much space left for the content that could be entered by the user.
Eg., the tweet could be @bbpress [new-topic] Topic Title:- Post Content or @bbpress [topic-1234] Reply Content. Then we could monitor all the tweets sent to @bbpress from forums by setting up a cron job and then do the other things..
So, it would look like this?
<?php post_author_avatar_link(80); ?>
for 80×80 pixel avatars?
If you’re going to use the text domain (FTDOMAIN) then you need to use the _e function. One or the other. Without the _e function, as zaerl recommends, or as it is in the original, but then you need to use the _e function. It would be important if you ever wanted to translate the forum to another language. If not, then the solution zaerl recommends will cause no future problems.
Thx!
Didn’t know that it was so easy
<?php case ( 'reset_password' ) : ?>
Hi, i need help with code. When I try to reactivate my password, I get this error:
Parse error: syntax error, unexpected ‘,’ in /home/iportalc/public_html/iOglasnik/bb-templates/iBlogProForum/password-reset.php on line 12
this is the original code:
<?php bb_get_header(); ?>
<h2 role=”main”><?php _e(‘Password Reset’, FTDOMAIN); ?></h2>
<?php if ( $error ) : ?>
<p class=”notice error”><?php echo $error; ?></p>
<?php else : ?>
<?php switch ( $action ) : ?>
<?php case ( ‘send_key’ ) : ?>
<p class=”notice”><?php _e(‘An email has been sent to the address we have on file for you. If you don’t get anything within a few minutes, or your email has changed, you may want to get in touch with the webmaster or forum administrator here.’, FTDOMAIN); ?></p>
<?php break; ?>
<?php case ( ‘reset_password’, FTDOMAIN ) : ?>
<p class=”notice”><?php _e(‘Your password has been reset and a new one has been mailed to you.’, FTDOMAIN); ?></p>
<?php break; ?>
<?php endswitch; ?>
<?php endif; ?>
<?php bb_get_footer(); ?>
Template file post.php:
post_author_avatar_link(whatever you want);
Take a look at this page on your forum:
http://focoblog.com/focoforo/topic.php?id=585
View the source of that page. Find the tags, for example, “Opus Dei“. The source looks like this:
<li id="tag-1878_12"><a href="http://focoblog.com/focoforo/tags.php?tag=opus-dei" rel="tag">Opus Dei</a> </li>
The tag id is 1878, and the person who added the tag is id 12. If you want to see their profile, just use that ID in the URL for profile.php, like this:
http://focoblog.com/focoforo/profile.php?id=12
That’s all there is to it. There have been plugins that showed all tags by a specific person and things like that, but this is the most direct way to find out the ID of the member who added a specific tag to a specific topic.
Hi! Sorry if my English is not perfect. 
If I’m the Admin of a bbPress forum (this one: http://www.focoblog.com/focoforo), can I see the identity of the author(s) of the different tags or is it completely anonymous?
Thanks a lot,
Tones
The revision is r2535 but the text in the admin panel comes from bb-includes/functions.bb-meta.php around line 299. That text needs to be changed manually every time you check in code. Looks like they forgot to change it the past couple times.
I just updated it, so if you check out a new copy, that will be the only file changed, you will have revision 2536, and it will work exactly as 2535 did when it said 2530 in the admin.
nope, you are at 2535 only.
its just showing whats inside the file and not what its exactly is.
Trust SVN here, it doesn’t get wrong
Hey there I had an integrated WP + BB website, then I installed also BuddyPress and used it for a while, everything integrated, using BB as forum engine for BP too.
I then decided to get rid of BP and now I just want to go back to my initial configuration of WP + BB, using the same old DB that still contains BB forum posts.
Everything is working and the user integration still works, but I have the damn “keymaster lost” problem: My admin user can’t access the BB Admin in any way.
I’ve tried all the solutions proposed around here and on the internet, changed my capabilities on the DB to a:1:{s:9:”keymaster”;b:1;} etc.. no way.
If I try to access the /bb-admin area it redirects me to the root.. and there’s no “admin” link near my profile name.
My tables have different prefix:
$bb_table_prefix = ‘wp_bb_’;
I just have WP_USERMETA table as the integration is already done..
What’s the meta key I have to set?!?
I’ve tried “wp_capabilities”, “wp_bb_capabilities” and “bb_capabilities”, but no-way.. no admin access for my user.
I’ve also tried to create new users and assign the keymaster.. same thing, no admin access.
Maybe Buddypress changed something that I have to reset?
Please help!
Thanks for the screenshots, those are perfect. There doesn’t seem to be anything weird with the .htaccess or permalinks settings, and it looks like you are accessing the proper directory.
As the other thread mentioned, there were public HTML files in two locations on the server, and that poster had installed into a directory that was not being served, making it look like the files were not there.
One thing that is probably unrelated – the forum files have loose permissions. The directories have 775 and they should be 755, and the files (php, css, js, images) should have 644, but they have [edit] 664. Should not matter, but some hosts won’t serve content when the permissions are too permissive.
Please do a test. Put a html file in the WordPress root (where the forum directory is located) and see if you can access it at http://klinewedding.com/test.html. If that comes up, put another file in the forum directory, and see if you can access that at http://klinewedding.com/forum/test-2.html. That will ensure we are looking at the correct directories. The file can be as simple as this:
<html><head><title>WordPress test</title></head><body><p>Test WordPress</p></body></html>
Save that as test.html in the WordPress root. See if you can access it by URL. Then try the same in the forum directory.
I’ve just found and fixed the bug in my plugin: I’ll upload a new version within minutes.
Hi Ricardo!
“Recent” users comments from bbPress Sitemap Generator plugin page say:
This plugin does not work with bbpress 1.02
Tried everything… Still didn’t work.
This plugin horrible slows down the forum performance
I cannot get this work
This really needs an update!
I strongly suggest you to use another sitemap generator plugin first; if you still will experience problems, please post here the list of the plugins you’re using and the bbPress version you’re on, and I’ll try to help.
Isn’t there any solution for above post ?
I am using Nicer Permalinks which is creating problem with relative URL so I need to provide absolute URL.
I have a anchor tag on topic page called “Start new Topic” with Relative URL values:
anchorTag href=”forum.php?id=<?php forum_id()?>#postform” anchorTag
Which won’t work properly with Permalinks.So I need to write same code using bb_uri() function so that it becomes absolute URL.
Any idea please !!
I have written a plugin that does what you want but isn’t released to the public.
The code that follow deactivate all HTML tags. Keep in mind that it’s not tested at all.
<?php
/*
Plugin Name: zaerl No HTML
Plugin URI: http://www.zaerl.com
Description: no HTML tags in posts
Author: zaerl
Author URI: http://www.zaerl.com
Version: 0.1
*/
function za_nh_allow_tag($tags)
{
return array();
}
function za_nh_initialize()
{
add_filter('bb_allowed_tags', 'za_nh_allow_tag');
}
add_action('bb_init', 'za_nh_initialize');
?>
If you are interested contact me.