• Resolved daniellj

    (@daniellj)


    Using Mailpress 5.4 add-on ‘sync_wordpress_user” any newly added users of WP is added to the MP-user list just fine. However, as a user is deleted from WordPress the user IS NOT also removed from the MP-user list! Clicking on a user in the MP-user list it seems indeed that the function ‘WP User sync’ has acknowledged that the user has been deleted from WordPress. Why then, is the user not instead deleted from the list? I would expect the ‘sync_wordpress_user’ feature to work both for added and deleted users.

    If this is a feature I don’t see its purpose, since everytime a user deletes himself or an administrator does, then the admin manually has to syncronize the MP-user list accordingly, otherwise the user still gets emails for each blog post despite the user already removed off the system. This definitely has to be a bug!?

    Cheers,

    http://wordpress.org/plugins/mailpress/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author arena

    (@arena)

    true, mailpress users are not deleted as long as they have subscriptions
    for more info see

    xref.mailpress.org/nav.html?mp-content/add-ons/MailPress_sync_wordpress_user.php.source.html#l123

    Plugin Author arena

    (@arena)

    Thread Starter daniellj

    (@daniellj)

    So, the fact that mailpress users are not synchronously removed from mailing-lists when they are deleted from the wordpress system is apparently a feature. I still don’t see the purpose of it. One would somehow expect that a user being permanently removed from wordpress has no way of accessing disallowed information by any means, including receiving emails with blog content. Many sites are user access managed.

    To make mailpress much more widely usable, I would strongly suggest to add an option to be able to sync wordpress unconditionally, meaning that mailpress will blindly syncronize with the wordpress user-list in a way that a mailpress user cannot exist without also existing as a wordpress user.

    Many thanks,

    PS. It is actually a tedious, not to say impossible, job to manually delete a user from mailpress guided only by a list of several hundred or thousands wordpress users with no clue of which user have been removed. At the very least, I’d suggest deleted users to be marked as ‘Deleted’ in the mailpress user list, at the same time removed from ‘Active’. There could then be an option whether emails should be going out to ‘Deleted’ mailpress users or only to ‘Active’.

    Plugin Author arena

    (@arena)

    if you want to chnage the current rule

    change line

    135 if ((1 == $count) && !apply_filters(‘MailPress_has_subscriptions’, false, $id)) MP_User::delete($id);

    in

    135 if (1 == $count) MP_User::delete($id);

    Thread Starter daniellj

    (@daniellj)

    Excellent! That worked! I made the changes above on line 135 in file: …/wp-content/plugins/mailpress/mp-content/add-ons/MailPress_sync_wordpress_user.php.

    That should be simple enought to put as a optional feature in the plugin settings, so that I wouldn’t have to make this code-change on every update.

    Many thanks!!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Deleted wordpress users not synced with mailpress’ is closed to new replies.