Skip to:
Content
Pages
Categories
Search
Top
Bottom

Can I Run Non-BP theme on TLD and BP Theme on Subdomain all on same WPMU install

  • Avatar of Russ Williams
    Russ Williams
    Participant

    @w3designstudios

    What I’ve been researching and playing around with on a local install is trying to get Buddypress only to be accessible from a Login required subdomain site created in WPMU.

    Basically I’ve got http://TLD.com and I want that domain to function with a Non Buddypress Theme and have no real access to any Buddypress functionality.

    I’ve then got http://members. TLD.com that was created from within the same WPMU install that I want to apply a Buddypress theme to and have all of the Buddypress content served through that site.

    When I tested accessing buddypress content from the subdomain all of the pages generated 404 errors since they are looking for http://TLD.com/buddypresspagerequested

    Does anyone have any ideas on how to do this? I wouldn’t think I’m attempting rocket science here, but then again, I’m new to how BP functions so any advice would be much appreciated!

Viewing 15 replies - 1 through 15 (of 15 total)
  • For example if members.TLD.com is Blog id 2, put this in your wp-config.php:

    define( ‘BP_ROOT_BLOG’, 2 );

    Avatar of Russ Williams
    Russ Williams
    Participant

    @w3designstudios

    We are talking the only wp-config.php file that exists on the root level correct? I’m assuming that it can be added in anywhere?

    It needs to be loaded before the bp-core.php file is. AFAIK that is either wp-config.php, /plugins/bp-custom.php and I suppose a plugin that loads before BuddyPress.

    Avatar of Russ Williams
    Russ Williams
    Participant

    @w3designstudios

    Got it. I added it to the top of the wp-config file and all is peachy. Thanks a ton.

    Superb!

    following on this topic, is there a way to remove the buddypress bar from the tld.com and leave it on members.tld.com ? or just adjust the available links on that bar.

    Thanks

    Avatar of gazouteast
    gazouteast
    Participant

    @gazouteast

    @DJPaul

    For example if members.TLD.com is Blog id 2, put this in your wp-config.php:

    define( ‘BP_ROOT_BLOG’, 2 );

    You are hereby promoted to the status of … DemiGodPaul

    That one tiny tip has completely rescued my current project – well done that man

    Gaz

    Woo hoo!

    @kookjai – Topics marked as resolved (with the green icon) aren’t read very often. You’d have been better making a new topic as your question is different from what the thread is about :)

    Anyway, have a read of http://buddypress.org/forums/topic/how-to-remove-the-admin-bar-from-blogs

    Avatar of elemsee
    elemsee
    Participant

    @elemsee

    I second DJPaul’s ascension to god-like status (and nominate Jeff Sayre, for pointing me here). This solution worked perfectly. I now have BP running on blog.mydomain.com as the community hub for the entire site. Everything is neat and tidy and works just fine. Many thanks.

    Avatar of Andrea Rennick
    Andrea Rennick
    Participant

    @andrea_r

    Count me in the DJPaul fan club. ;)

    Avatar of Windhamdavid
    Windhamdavid
    Participant

    @windhamdavid

    ++1 for DJPaul!

    Avatar of jamesb4551
    jamesb4551
    Participant

    @jamesb4551

    Ok I did this but my Blog doesn’t load? it just is a white screen and continually says loading in the browser, I even tried logging into Cpanel and creating the subdomain within there as well but still the same issue?

    I have put the line define( ‘BP_ROOT_BLOG’, 3 ); in my wpconfig in the root directory of my WPMU install… so what am I missing?

    Any ideas?

    WPMU:2.8.5

    BP:1.1.2

    URL: the-exemplars.com

    BPURL: people.the-exemplars.com

    White screen is usually a memory or parser problem. What does it say in your error log?

    Avatar of denisforigo
    denisforigo
    Participant

    @denisforigo

    Hi, thanks DJPaul for the tip!

    But, I need to stay active my Thematic chilt theme in the home page. How to do this? It´s possible?

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

The topic ‘Can I Run Non-BP theme on TLD and BP Theme on Subdomain all on same WPMU install’ is closed to new replies.