Skip to:
Content
Pages
Categories
Search
Top
Bottom

New to BP but not WP – What's the best scenario for installing BP

  • Avatar of faramarz
    Faramarz
    Participant

    @faramarz

    Hi All,

    I played around with the demo site and installed BP on my XAMPP on a test site, everything went well but here is the scenario I am trying to accomplish.

    I want to keep my WordPress (website) separate from BP, in other words, I don’t want BP to change anything in my website theme after installation. All I want on my website is to have a “Community” button/link that when you click, it takes you to http://site.com/community/. From that point forward, you’ll be on BP website for social networking purposes.

    Here are my questions at this point:

    1) Do I have to install a second WordPress core on a subdomain and install BP on that one? (this option will let me have a separate theme for my BP site which is great but at the same time it doesn’t sound functional because there won’t be single sign-on between the two sites, right?.. So if you are logged in (as a user, not a member) in http://site.com/ and if you click the “Community” button and land on http://site.com/community/, then you have to login AGAIN because BP won’t recognize you as logged in).

    2) I read this article: http://codex.buddypress.org/user/install-buddypress-on-a-secondary-blog/ sounds like this article is suggesting a different rout, the only thing that I don’t understand is, the article says “Installing on a separate Blog”, does this mean, there will be one WordPress core (in Network Mode) with BP installed?

    Can I accomplish what I want if I go with the second option? (mentioned in the article)

    Thanks for you help.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Avatar of @modemlooper
    @modemlooper
    Moderator

    @modemlooper

    Turn on multisite. Install BP on a site you create via admin. Done.

    Avatar of faramarz
    Faramarz
    Participant

    @faramarz

    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

    Avatar of faramarz
    Faramarz
    Participant

    @faramarz

    @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?

    http://codex.buddypress.org/user/install-buddypress-on-a-secondary-blog/

    Thanks

    Avatar of @modemlooper
    @modemlooper
    Moderator

    @modemlooper

    Yup, follow those instructions. If you do not want others to set up blogs/sites then you turn off that option in the admin.

    Avatar of SaintDanBert
    SaintDanBert
    Participant

    @saintdanbert

    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

    Avatar of @modemlooper
    @modemlooper
    Moderator

    @modemlooper

    once activated: http://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.

    Avatar of faramarz
    Faramarz
    Participant

    @faramarz

    @modemlooper I installed BP (not activated yet) but the article is kinda vague for my next step. The article on step (1) says: http://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.

    Avatar of @modemlooper
    @modemlooper
    Moderator

    @modemlooper

    define ( ‘BP_ROOT_BLOG’, 2 );

    If you turned on miltisite and created a second site blog. Use the define above

    Avatar of faramarz
    Faramarz
    Participant

    @faramarz

    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.

    Avatar of @modemlooper
    @modemlooper
    Moderator

    @modemlooper

    wp config

    Avatar of faramarz
    Faramarz
    Participant

    @faramarz

    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.

    Avatar of faramarz
    Faramarz
    Participant

    @faramarz

    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. ;)

    Avatar of @modemlooper
    @modemlooper
    Moderator

    @modemlooper

    great!

Viewing 13 replies - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.