We are looking for a nice forum, so bbPress is an obvious and nice indeed solution. But, how can we integrate bbPress with or into WordPress? I mean, not datebase, cookies etc. (https://bbpress.org/documentation/integration-with-wordpress/), but visual, in our WordPress site?
bbPress, visual integration with WordPress?
Published on September 8th, 2007 bywpmu/bbpress logins work, forums don’t!
Published on September 8th, 2007 by mpmlogin between my wpmu installation and my bbpress seem to work okay but when I click on a topic link on the frontpage I get a page not found error from my wpmu installation…
WPMU: http://www.mpm.org.au (blog signup disabled but you can sign up as a user)
BBPress: http://www.mpm.org.au/community/
Previously I did have it all working but only with WP single not MU.
Any help would be much appreciated!
This is my config file:
<?php
// ** MySQL settings ** //
define(‘BBDB_NAME’, ‘xxxx’); // The name of the database
define(‘BBDB_USER’, ‘xxxx_xxxx’); // Your MySQL username
define(‘BBDB_PASSWORD’, ‘xxxx’); // …and password
define(‘BBDB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
// Change the prefix if you want to have multiple forums in a single database.
$bb_table_prefix = ‘bb_’; // Only letters, numbers and underscores please!
// If your bbPress URL is http://bbpress.example.com/forums/ , the examples would be correct.
// Adjust the domain and path to suit your actual URL.
// Just the domain name; no directories or path. There should be no trailing slash here.
$bb->domain = ‘http://www.mpm.org.au’; // Example: ‘http://bbpress.example.com’
// There should be both a leading and trailing slash here. ‘/’ is fine if the site is in root.
$bb->path = ‘/community/’; // Example: ‘/forums/’
// What are you going to call me?
$bb->name = ‘MakePeace Media LTD’;
// This must be set before running the install script.
$bb->admin_email = ‘myemail’;
// Set to true if you want pretty permalinks.
$bb->mod_rewrite = true;
// The number of topics that show on each page.
$bb->page_topics = 15;
// A user can edit a post for this many minutes after submitting.
$bb->edit_lock = 60;
// Your timezone offset. Example: -7 for Pacific Daylight Time.
$bb->gmt_offset = 0;
// Change this to localize bbPress. A corresponding MO file for the
// chosen language must be installed to bb-includes/languages.
// For example, install de.mo to bb-includes/languages and set BBLANG to ‘de’
// to enable German language support.
define(‘BBLANG’, ”);
// Your Akismet Key. You do not need a key to run bbPress, but if you want to take advantage
// of Akismet’s powerful spam blocking, you’ll need one. You can get an Akismet key at
// http://wordpress.com/api-keys/
$bb->akismet_key = ‘xxxx’; // Example: ‘xxxx’
// The rest is only useful if you are integrating bbPress with WordPress.
// If you’re not, just leave the rest as it is.
$bb->wp_table_prefix = ‘wp_’; // WordPress table prefix. Example: ‘wp_’;
$bb->wp_home = ‘http://www.mpm.org.au’; // WordPress – Options->General: Blog address (URL) // No trailing slash. Example: ‘http://example.com’
$bb->wp_siteurl = ‘http://www.mpm.org.au’; // WordPress – Options->General: WordPress address (URL) // No trailing slash. Example: ‘http://example.com’
if ( isset( $bb->wp_table_prefix ) ){
$bb->usercookie = “wordpressuser”;
$bb->passcookie = “wordpresspass”;
}
/* Stop editing */
if ( !defined(‘BBPATH’) )
define(‘BBPATH’, dirname(__FILE__) . ‘/’ );
require_once( BBPATH . ‘bb-settings.php’ );
?>
Profile ID transcends different bbpress installs
Published on September 7th, 2007 by kannuedHello
I have three bbpress installs on my website, for three very different forums, example: bbpress/a
bbpress/b
bbpress/c
I am just installing the third one, all are on 8.2.1. I noticed a problem when setting up a test profile. On the third forum, bbpress/c, the profile ID was 2. It took the Profile ID from bbpress/b, the second forum, which has nothing to do with third forum. Now, I am afraid of deleting profile ID 2 from bbpress/c because it may delete profile ID 2 from bbpress/b. So now it appears that even with different names for my installs with different names within the config.php files, that the profile IDS are not differentiantiated. This is a major problem.
Subforums on frontpage — fel64?
Published on September 7th, 2007 by kannuedI don’t want my subforums to showup on frontpage as in https://bbpress.org/forums/topic/subforums-and-markup?replies=12
I tried fel64’s recommendation:
<?php foreach( $forums as $forum ) : ?>
//blaaaaah HTML
<?php endforeach; ?>
to this sort of thing:
<?php foreach( $forums as $forum ) :
if( !$forum->forum_parent ) { ?>
//blaaaaaah HTML
<?php }
enforeach; ?>
I get an error on line 60,
Parse error: syntax error, unexpected T_ELSE in front-page.php on line 60
Line 60 writes
<?php endif; else : // $forums ?>
User ID bug
Published on September 7th, 2007 byProblem with inserting users.
Now, I am having a problem where my last insert id on the bb_users table is 10,000,000,430 and the user registration is broken.
So I have looked at the code in bb-includes/registration-functions.php
and I’ve found that this line in the bb_send_pass() function is causing trouble:
$user = (int) $user;
After this line $user is set to zero, where it was 10,000,000,430 before.
After examining further, I found numerous places where you had $user = (int) $user;
It seems like PHP cannot handle the type cast of 10,000,000,430…
Btw… I do not know why the last_insert_id is 10,000,000,430, seems like something done by the previous website owner. However, looking at the bb_users.ID column it looks like it is BIGINT by default – which is too large for php integers which is only 32 bit signed…
Fatal error: Trying to clone an uncloneable object of class mysqli
Published on September 6th, 2007 byWhat’s going on? 
http://www.doublepeace.se/forum/
Fatal error: Trying to clone an uncloneable object of class mysqli in /home/virtual/doublepeace.se/public_html/forum/bb-includes/db-mysqli.php on line 71
Any help? I have no clue what’s going on!
For something complete different ;) Flash and bbPress working together
Published on September 6th, 2007 byWe’ve built a flash site which uses bbPress as it’s backend for serving content. I think this might be the first time bbPress has been used in this way, as far as I know, and we’re pretty excited about it. Just goes to show how flexible bbPress is.
http://www.foronemoreday.co.uk/
The Create Star section is the best bit.
Would love to read your thoughts on this.
Error while logging out
Published on September 6th, 2007 byevery time i try to log off of my forum i get this error:
bbPress database error: [Table ‘disinformatiforum-660162.bb_online’ doesn’t exist]
SELECT * FROM bb_online WHERE user_id = 2 LIMIT 1
Warning: Cannot modify header information – headers already sent by (output started at /misc/15/359/013/341/user/web/disinformati.org/wp-forum/bb-includes/db-mysqli.php:158) in /misc/15/359/013/341/user/web/disinformati.org/wp-forum/bb-includes/pluggable.php on line 168
what’s the problem? help!
Error while posting
Published on September 6th, 2007 byi’m trying to write a new topic but every time i’ve got an error in SQL. i find out that the problem is the character ‘ (apice) in the post that generate an error in the sql expression. is possible to solve it? how can i do? help!
Processes and permissions synch
Published on September 6th, 2007 byHi there,
I need to customise new process that involves the following:
User’s management and permissions synch between WordPress blogs and BBpress
New threads management and permissions synch between WordPress blogs and BBpress
And all this get complicated when implemented on multiple blogs invoirment.
Can anyone help when to search?
p.s
I’ve this one:
https://trac.bbpress.org/ticket/438
but the documentation is to poor…
– do you know somebody to program my needs from scratch (paid by paypal / CC)
Thanks