Skip to:
Content
Pages
Categories
Search
Top
Bottom

When users register their site is on the subdomain of BuddyPress not the main site…

  • @ctsttom

    Participant

    Hey,

    I am seriously stuck with this one, so any help will be severely appreciated!

    I have a BuddyPress install, which I have created several times on different machines with the same results…

    Main site: http://gdnm.org – WPMS Installation – Subdomain setup

    BuddyPress site: http://network.gdnm.org – blog id #2

    I have setup my BuddyPress subdomain using BP_ROOT_BLOG correctly, and my WordPress install uses DOMAIN_CURRENT_SITE to set the root site, however both BuddyPress and WordPress seem to use siteurl() to get the current site which means that all registrations are relative to the BP_ROOT_BLOG not the DOMAIN_CURRENT_SITE url.

    This has the result that through wp-signup.php you get http://subdomain.gdnm.org and via BuddyPress you get http://subdomain.network.gdnm.org which is not what I want.

    Please help, I have literally tried everything even filtering the wpmu/bp_validate_blog_signup and it still doesn’t work, so desperate to fix this as on Monday 300-600 people signup and I don’t want to have to edit them all manually.

    Thanks

    Tom

    WP-CONFIG:

    define( ‘BP_ROOT_BLOG’, 2 );
    define( ‘BP_DISABLE_ADMIN_BAR’, true );
    define( ‘BP_MEMBERS_SLUG’, ‘directory’ );
    define( ‘BP_BLOGS_SLUG’, ‘sites’ );
    define( ‘BP_GROUPS_SLUG’, ‘groups’ );
    define( ‘BP_ENABLE_ROOT_PROFILES’, true );
    define( ‘BP_SILENCE_THEME_NOTICE’, true );
    define( ‘WP_ALLOW_MULTISITE’, true );
    define( ‘MULTISITE’, true );
    define( ‘SUBDOMAIN_INSTALL’, true );
    $base = ‘/’;
    define( ‘DOMAIN_CURRENT_SITE’, ‘gdnm.org’ );
    define( ‘PATH_CURRENT_SITE’, ‘/’ );
    define( ‘SITE_ID_CURRENT_SITE’, 1 );
    define( ‘BLOG_ID_CURRENT_SITE’, 1 );

Viewing 5 replies - 1 through 5 (of 5 total)
  • @djpaul

    Keymaster

    We fixed this in BuddyPress 1.5

    @pbarthmaier

    Participant

    @PaulGibbs – What does this answer mean? Do you mean 1.2.5? I thought the current version is 1.2.10. I currently have the latest version installed. but I can only see it on the network admin. I can’t see it on any other site and I’d like to install on a subdomain.

    @aces

    Participant

    1.5 is going to be released…. – any day now ?

    @pbarthmaier

    Participant

    So, what do you reckon I do, just wait for release? Or should I just Network Activate? I don’t understand why I can’t even see the plugin on subdirectories.

    @billiets

    Participant

    is this working in 1.5?
    my users are creating blogs like http://blogname.subdomain.domain.com

    i’m using WordPress 3.2.1 with BuddyPress 1.5

    define ( ‘BP_ROOT_BLOG’, 14 );
    define ( ‘BP_ENABLE_MULTIBLOG’, true );
    define ( ‘BP_ENABLE_ROOT_PROFILES’, true );
    define( ‘BP_SILENCE_THEME_NOTICE’, true );
    define ( ‘BP_REGISTER_SLUG’, ‘socailmembership’ );

    am i doing something wrong?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘When users register their site is on the subdomain of BuddyPress not the main site…’ is closed to new replies.
Skip to toolbar