BuddyDev

Search

BuddyPress Auto Join Groups – not updating on profile update

  • Keymaster
    (BuddyDev Team)
    Posts: 24593
    Brajesh Singh on #42399

    Here is the plugin that we posted to allow synchronizing the user groups on daily basis.

    https://github.com/buddydev/buddypress-auto-join-groups-sync

    This is the reason that APi was added.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24593
    Brajesh Singh on #42400

    Hi David,
    will it work for you if we supplied custom code that will sync after member type updates?

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 12
    David Blanchard on #42411

    Hi,

    I’m not sure – would this remove users from groups if the criteria had changed?

    Thanks,
    David.

  • Keymaster
    (BuddyDev Team)
    Posts: 24593
    Brajesh Singh on #42437

    Hi David,
    If you used the plugin from github, It will sync user’s daily(removing any extra groups when the cron job is run).

    If you use the custom code, It will do it instantly. In fact, I think we should enable this as an option in the plugin. my worry is What happens when a user matches multiple lists? Since we are processing list matching sequentially, only the last list takes effect. That’s the reason we have avoided adding it as an option in the plugin screen.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved