Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

#771 closed enhancement (fixed)

Few extra actions to allow MultiSite plugin to work

Reported by: petronic's profile petronic Owned by:
Milestone: 1.1 Priority: minor
Severity: Version:
Component: Keywords: multisite actions do_action
Cc:

Description

I wrote a simple plugin that enables BuddyPress to work with MultiSite. It requires few changes in BuddyPress core files, adding some actions to be more precise. Maybe you can consider adding them in some of the future BuddyPress releases?

I think that the easiest way (with minimum changes to core files) to integrate MultiSite plugin and have separate BuddyPress networks with just one install is to create a new set of tables for each site. To enable this, I had to add actions in all BuddyPress components in functions
bp_*_setup_globals()
so I can change tables used.

For example,
in bp_activity_setup_globals() I added action
do_action( 'bp_setup_globals', 'activity' );
right after line 120.

in friends_setup_globals I added action
do_action( 'bp_setup_globals', 'friends' );
right after line 61.

and so on...

I would greatly appreciate if you add these actions in all setup_globals() functions or tell me if you see another way to accomplish this.

Thanks!

Change History (5)

#1 @yannux
15 years ago

Nothing new about it ?

#2 @petronic
15 years ago

  • Resolution set to invalid
  • Status changed from new to closed

#3 @apeatling
15 years ago

  • Resolution invalid deleted
  • Status changed from closed to reopened

#4 @apeatling
15 years ago

  • Milestone set to 1.1

#5 @apeatling
15 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [1995]) Fixes #771

Note: See TracTickets for help on using tickets.