[buddypress-trac] [BuddyPress] #3549: Incompatibility between recent SharDB and bbPress forum setup routine
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Mon Sep 5 14:45:46 UTC 2011
#3549: Incompatibility between recent SharDB and bbPress forum setup routine
--------------------------+------------------------------
Reporter: boonebgorges | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Forums | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by wpmuguru):
It's not so much load order as a change in implementation. In MU, the
default DB class was replaced when plugged.
In 3.0 a bit of code was added to transition to the current implementation
which enables someone writing a DB class for WP to extend the default
class (which is what we hope everyone will do). The advantage of extending
the default class is that most bugfixes and improvements in the default
class are handed on to the plugin.
HyperDB does the same as SharDB:
http://plugins.trac.wordpress.org/browser/hyperdb/trunk/db.php?rev=397499#L42
If your four BBDB_ constants match the global table, bbPres should work
ok.
I can't really do much from a SharDB side unless there is a way for me to
plug BPDB. Possibly you could put a class_exists() check around the class
definition.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3549#comment:2>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list