Support » Plugin: CiviCRM WordPress Member Sync » Users won't sync

  • Resolved danbrady

    (@danbrady)


    No WP users are created when I use the ‘manual synchronise’ method.

    Association rules are created for each membership level. All using default suggested rules.

    Method = capabilities
    Schedule interval = daily

    WP and Civi are on latest versions

    The manual synchronise option returns almost immediately with a success notification but no users are created

    I’m sure I must be missing something obvious? I’m expecting the plugin to create WP users based on Civi contacts and members. Is that wrong?

    https://wordpress.org/plugins/civicrm-wp-member-sync/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Christian Wach

    (@needle)

    I’m expecting the plugin to create WP users based on Civi contacts and members. Is that wrong?

    This plugin’s Manual Sync procedure currently only syncs pre-existing WP users and CiviCRM contacts. The reason that it doesn’t create WP users is that there are a great many possible variations in that process – for example:

    • should all contacts be synced?
    • should a subset of contacts be synced?
    • are there specific contacts that shouldn’t be synced?
    • etc etc

    In an ideal world I’d have the time and resources to implement this, but so far there hasn’t been much call for it. Perhaps the number of installs where there’s a pre-existing set of CiviCRM contacts is small?

    I should note that WP users are, however, auto-created when a membership signup takes place – although this can be overridden via a filter if desired.

    In an ideal world I’d have the time and resources to implement this

    I think you already have implemented it, via your separate CiviCRM WordPress Profile Sync plugin 🙂

    My issue was that I didn’t understand the process required for using these plugins. I thought member sync was a user sync. But in fact this member sync plugin only syncs memberships for pre-existing WP users.

    Essentially, my understanding of how to implement this is:

    The profile sync plugin can be enabled so that in CiviCRM, contacts can be selected and and action run to create WP users. More info here.

    The above creates the WP users, but only using the default WP user role.

    The member sync plugin can then be used (eg via manual sync) to add the required roles or user capabilities (depending on the method selected in the plugin).

    I now have this working fine. All contacts in CiviCRM now have corresponding synced WP users, each with a custom user role (I used the Members plugin to create these custom roles).

    Thanks for your help on here and on email. Great plugins 🙂

    Plugin Author Christian Wach

    (@needle)

    Thank you for explaining how you solved this, Dan!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Users won't sync’ is closed to new replies.