Turn on multisite. Install BP on a site you create via admin. Done.
GROOVY!! It only took 2 minutes to update the wp-config file and .htaccess to make the second website up and running. Now I can install BP on this one without interfering the theme of the main site.
Thanks
@modemlooper sorry for being a noob, this is my first attempt to work with WordPress Networks and BP.
After adding a new subsite (Community), it looks like the new plugins should be installed via /wp-admin/network/plugins.php. I think my next step is installing BP and then activating it on the subsite (only) then follow the BP installation?
I went commando and am trying this on the live site (under construction enabled), that’s why I want to make sure I am taking my steps wisely.
Should I still follow this article after installation?
https://codex.buddypress.org/user/install-buddypress-on-a-secondary-blog/
Thanks
Yup, follow those instructions. If you do not want others to set up blogs/sites then you turn off that option in the admin.
My question will remove all doubt that I am a complete noob to BP and WP.
As I understand, I install and activate WP … then install and activate BP.
It appears to me that I now have to admin WP parts and BP parts separately
to accomplish what I want. Have I missed something or is this correct?
I have nuked three install attempts trying to set a theme other than the
default, out-of-box theme. I **know** that I’ve missed something here.
I posted to WP before I installed and activated BP. The WP content
was no longer visible and I could not find it to make it appear.
Again, I ***know*** that I missed something.
Someone please direct me to the correct instructions to get things
installed, activated, and running — aka, off the ground.
Thanks in advance,
~~~ 0;-Dan
once activated: https://codex.buddypress.org/user/setting-up-a-new-installation/installation-wizard/
Make sure WordPress is up and running by making a post, a page, a comment and adding media via media upload. Then activate BP.
@modemlooper I installed BP (not activated yet) but the article is kinda vague for my next step. The article on step (1) says: https://codex.buddypress.org/user/install-buddypress-on-a-secondary-blog/
In order to run Buddypress on a secondary blog, you should create a second blog and modify BuddyPress’ internal settings to set your new blog as the BP root blog.
Next, define the ‘root’ blog you would like BuddyPress to reside at by adding the code snippet below to wp-config.php
I created my bp-custom under wp-content/plugins/ but should I add this “define ( ‘BP_ROOT_BLOG’, $blog_id );” in my wp-config.php or in bp-custom.php? or both?
Please help.
define ( ‘BP_ROOT_BLOG’, 2 );
If you turned on miltisite and created a second site blog. Use the define above
yes, I figured, but my question is, should I add that to my wp-config.php or to bp-custom.php that I created under wp-content/plugins/?
The article is not clear as to which one.
Hi again,
I installed (but not activated) BP via /wp-admin/network/plugins.php then updated my wp-config.php to define ( ‘BP_ROOT_BLOG’, 2 ); but when I go to http://site.com/community/wp-admin/plugins.php and activate BP and click the “Installation Wizard” link in the toolbar, I get this error: You do not have sufficient permissions to access this page.
And I am logged in as super admin.
I think I found a work around, thanks to @jigesh.
I added define( ‘BP_ENABLE_MULTIBLOG’, true ); to my wp-config and that lets me run the installation wizard.
Now let’s stop editing! Happy blogging. 😉