@Ramoonus
Actually, I don’t believe people have tried converting SuperCache over yet. Because everyone is under the mentality that bbPress is “already fast enough”.
I would like to take on the challenge to converting the plug-in myself. What I don’t understand is why people are giving me a hard time for attempting to create a plug-in. I’m simply trying to better the bbPress community.
As such, all I’m asking for is a little bit of assistance and that’s:
– What is the hook to perform an action immediately after a new Post/comment?
– What is the hook to perform an action immediately before rendering the frontpage?
– What is the hook to perform an action immediately before rendering a topic page?
@frooyo – Either get Donncha to explain the plugin (good luck, he’s busy) or download it for WP and study it. Honestly, I think you’re a little nuts, only because you’re picking possibly the most complicated plugin in the history of WP to convert as your first plugin
@frooyo if you dont know how to program a plugin … don`t say your going to do something that some people have tried before
if it was easy it was done already
version 1.0 has been released several minutes ago!
@_ck_
What’s so difficult about it?
Let’s assume we only output cache for non-logged in users, just like SuperCache.
You only need 2 hooks.
1. A hook after a POST is submitted to re-cache both the frontpage and topic page
2. A hook before rendering both the frontpage and topic page to check to see if the cache is present.
Am I missing something here?
New plugin version 1.0 has been released with a fix for this warning.
When logging in, or out, through WordPress (MU) the following error(s) occur.
Warning: extract() [function.extract]: First argument should be an array[...]
and
Cannot modify header information - headers already sent by (output started at /home/s/a/sandbox/public_html/wp-content/plugins/bbpress-integration/bbpress-integration.php:202)
Also reported on: http://wordpress.org/support/topic/282166
It works fine when login in through bbPress, and then accessing the admin in WPMU (user login integration shared)
frooyo, the fact you have to ask how indicates you won’t be able to do it
It will take someone with experience quite a bit of work and testing to accomplish.
It’s not a trivial conversion like some other plugins.
Hi guys,
FYI, I’ve updated the code for the BuddyPress bar in bbPress:
https://buddypress.org/forums/topic.php?id=1152#post-18510
It uses bbPress’ header and footer hooks, instead of WordPress’.
The BP bar now also works in the bbPress admin area as well!
@johnhiler
If you have some info on how I would create the SuperCache “hooks” into bbPress, that would be greatly appreciated.
Frooyo – I think you are going to set a record for posting the same thing over and over!
All
I would like to attempt to convert WordPress’ SuperCache plug-in to bbPress.
I’ve never created a plugin before.
Does anyone has any reference docs or pointers on how I would create the hooks needed for SuperCache on bbPress?
How will you handle namespace collisions between the two systems… i.e. if there is an “andrew” account in both user tables?
Hi, thanks for the reply.
I plan to use the existing system for login, and then allow those users to view and post on the forum. This means I’ll need to keep up two user tables, one for each system, right? That’s not so bad as long as I can keep them synchronized.
So considering that, should the login/logout/register logic be stored in a bbPress plugin? (Is that possible?) Or should I just load bbPress inside the other app and call bb_login(), etc. from there?
Also, I’ll look into the plugins _ck_ recommended. Thanks!
_ck_ wrote a bit here about the four routines you need to replace to get authentication with an outside user system working:
https://bbpress.org/forums/topic/integration-with-non-wp-software
Would you combine both user tables into a single system, and have them both authenticate through bbPress? Or only use your existing user system for login, and allow signed in users to use your bbPress app?
@Sam
Thanks for elaborating on this new class! Anxiously waiting for bbPress v1 
@Burt
Off-topic, but… wow! Post-grad particle physics?
My company created an online support application for a product a few years ago. We’re now working on installing a bbPress forum but would like to combine user logins so they can sign in to the support site and the forum at the same time.
I need to integrate with login, logout, register, and block. The bbPress code is a little overwhelming all at once, and I couldn’t find any documentation about integration with third-party software, so here I am. Can anyone get me started? Should I try to build this into a plugin, or a script that the support app runs on login? And which bbPress functions will I need to hook into or rewrite? Thanks a ton!
My forum won’t load and I noticed via PHPMyAdmin that bb_meta is listed as “in use.” I analyzed the table and this is what I got:
analyze Error Table ‘./db68418_citizenkeith/bb_meta’ is marked as crashed and last (automatic?) repair failed
analyze Error Table ‘bb_meta’ is marked as crashed and last (automatic?) repair failed
analyze error Corrupt
I am running RC3 on Media Host’s grid service.
I’ve been having LOTS of MySQL errors lately:
http://bbpress.org/forums/topic/database-upgrade-issues
http://bbpress.org/forums/topic/recount-errors
I haven’t had time to check out logs or anything, and now I think I’m screwed. I found a MySQL backup from June 21, and I should be able to drop bb_meta and import the old table. I just want to give Media Temple a chance to respond to my support ticket, and I don’t want to potentially screw up the forum even more.
This is a private forum in which a handful of friends post and chat, so it’s not critical. But I would like to get this resolved and any help from the bbpress community would be appreciated.
@r-a-y
There is a major incompatibility between the memcached WP_Object_Cache class that is out there and BackPress. I’m about to add a newer class to BackPress itself that will replace the currently available one.
Once that class is added to BackPress it should fix these problems and a few others I’ve found. You’ll be able to use the new class by adding the following define to your config:
define( 'BB_OBJECT_CACHE_TYPE', 'memcached' );
This will be part of bbPress 1.0
Hi everyone…I read some posts about this problem, but wanted to find out if a different or new solution had come about. I’ve read about an issue with PHP version 5 and needing to add code to the .htaccess file. I’ve also read about adding “dummy” lines to the database file. I wondered if there are any other solutions that might be easier to understand for someone with no coding skills. I am trying to integrate WP and BBPress. My site is brand new so I can reinstall everything if I have to. I saw the really great screencast that someone did, too. That was really helpful except that it didn’t work.
The error I get says “Forum could not be created”.
use this:
require_once( $_SERVER . ‘/wp-blog-header.php’ );
nevermind…forgot to put in the
require_once(‘../wp-blog-header.php’);
this seems to work fine, but I’ve noticed another problem…when you go to the admin page to administer the forum, I get a failure again, like this:
Warning: require_once(../wp-blog-header.php) [function.require-once]: failed to open stream: No such file or directory in /home/alumnide/public_html/forum/bb-config.php on line 5
Fatal error: require_once() [function.require]: Failed opening required ‘../wp-blog-header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/alumnide/public_html/forum/bb-config.php on line 5
has anybody else gotten past this error?
thanks..just did that and get
Fatal error: Call to undefined function wp_head() in /home/alumnide/public_html/forum/bb-templates/kakumei/header.php on line 33
am I still missing some code?