Run CBOX on subsites only
- This topic has 2 replies, 3 voices, and was last updated 10 years ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Tagged: multisite, private subsite
Hi there,
first of all thank you for such a fine project as CBOX. Awesome 🙂
I would like to deactivate everything CBOXÂ on the main site of a multisite installation, because the main site is the public website and it does not need any of the CBOXÂ features. The subsites will all be private and they should run on CBOX.
To make Buddypress run on a subsite I tried to use this in wp-config :Â define ( ‘BP_ROOT_BLOG’, $blog_id );
and it works fine.
But bbPress is active on all the sites in the network. Is there something similar for bbPress?
Or do you know of an easier way to run CBOX on subsites only?
Any help is greatly appreciated, thanks 🙂
Hi Morton @konceptuel
Thanks for being part of the CBOX community. Your use case an interesting one. If I understand correctly, you want to have a multisite installation with a bunch of connected but independent CBOX enabled sites. I am pinging @r-a-y and @haystack to see if they have any advice on the configuration of such a setup.
Thanks!
You can choose which site (or sites) to have bbPress active on by adapting the code in this comment, which seems to be the most reliable method. Just make the numerical ID of the blog the same as BP_ROOT_BLOG. Put the code in a mu-plugin for it to run before anything else.
Cheers, Christian