Skip to:
Content
Pages
Categories
Search
Top
Bottom

Can two sites share buddypress members?

  • I have two sites both using Buddypress, bikepackersbasecamp.com and cyclistjunction.com. Currently they are hosted on Hostgator.com’s hatchling plan if that matters. These are not multisite, they are completly independent sites.

    So my question is “Can I somehow connect these sites so that common members to the two sites can have the same login info” I want each site to show only its own activity but if a member would not have to create a different login for each site that would be nice. Also if they could be an automatic member of the other site if they join one site. Perhaps this is all too much I don’t know as I’m fairly new to wordpress/buddypress.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Avatar of Slava UA
    Slava UA
    Participant

    @slaffik

    Yes, this can be done.
    The easiest way is to create a “bridge” between them.
    So in general:
    1) sync all users data between sites (wp_(users|usermeta|bp_xprofile_*).
    2) create a script on site 1, that after user registering/updating profile data will make a post|get request with encrypted data to site 2
    3) site 2 will get this data, check it and saves.
    The same script should be placed on site 2 as well. Of course, you will need some kind of securing of all data transfers, also lots of BP hooks will be used.

    Once I even implemented such solution. Site1 was on PHP (WP+BP), while Site2 – on ASP. That was interesting project :)

    Wow that great to know it can be done, it seem way over my head but perhaps I could find someone to do it in the future. In the mean time I could leave them as separate and join them later after they start to take off or is this best done from the beginning? Or is it easier that it sounds?

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

You must be logged in to reply to this topic.