Support » Fixing WordPress » Sharing user's over two blogs on same domain Buddypress

  • Hi,
    I my domain is ( and I am creating another blog which is in a folder on that domain (, I would like to share the users between the two databases… I’ve added the code below on my community folder blog, this will not allow me to access the admin panel and informs me I don’t have access.
    define(‘CUSTOM_USER_TABLE’, ‘wp_users’);
    define(‘CUSTOM_USER_META_TABLE’, ‘wp_usermeta’);

    I tried adding the blog on my main domain but received some ‘string error’ so I reuploaded my backup of wp-config.php

    I checked the information on the MYSQL database and the correct names are there and have updated to wpxx_ which is the community blog.

    I am stuck now and don’t know how to fix it…

    If you check out my community blog ( and go on one of the groups or activity’s it will take you to the main domain ( is there no way to keep all Buddypress plugin items and pages on the community blog.

    Thank you for any support if you can help it is greatly appreciated, I’ve been trying for hours now and really stuck on this.

Viewing 4 replies - 1 through 4 (of 4 total)
  • BuddyPress would need you to have used MultiSite. I don’t believe you can do that with separate DBs.

    @ipstenu there is only one database between the two websites, preferably I would want to completely remove BuddyPress from the main domain

    Thanks for suggestion

    One DB, but a set of separate … tables, right? Essentially they’re two separate apps sharing the same DB but with different prefixs, which for all intents and purposes, makes them separate.

    I would like to share the users between the two databases

    the BEST way would be to make your main install MultiSite and then make a subfolder install for your community site.

    Alternately, you’ll need something like WP-Hive to merge the back ends.

    Defining user tables in wp-config is not enough.
    You need solve trouble with cookies and prefixes for users and admin.

    Here is solution for separate WP 3.3.1 installations.

    I didn’t checked it for buddypress yet.
    I’m going to find solution for WP + BP too.

    But my first idea is to set BP as main site. Other WP installations are secondary.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Sharing user's over two blogs on same domain Buddypress’ is closed to new replies.