• daniellj

    (@daniellj)


    Hi,

    I’m trying to get the two plugins MailPress and Member Access play together. When subscribing to posts using MailPress it seems that a newsletter email is only sent out if the posts’ visibility through Member Access is set to “everyone”. If it is set to “members only” it seems MailPress never gets notified or even “sees” the post, with the result of no email being sent out. It appears as if MailPress is not a site member!?

    Anyone has a fix or any idea of how to resolve this?

    I’ve tried millions of plugin combinations and these two suit me perfectly – did they just work together.

    Help appreciated!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter daniellj

    (@daniellj)

    It clearly has something to do with standard cron…

    A short workaround is to add the following line in wp-config.php:

    define(‘ALTERNATE_WP_CRON’, true);

    Cheers,

    Thread Starter daniellj

    (@daniellj)

    This problem persists after uppdating to WordPress 3.2.4, Member Access 1.1.6 and MailPress 5.3, and now also the fix using alternate wp_cron doesn’t work any longer! Please, anybody – Help!

    When inactivating Member Access it is clear from the logs how MailPress works – using the category of the current post it performs a loop match against all available categories:

    No match doesn’t do anything:

    post_category_10    ! newsletter categories (in) : 10
                         ! post categories : 17
                         ! Post 1122 not in required categories

    whereas a successful match sends out an email:

    post_category_17    ! query_posts : {"cat":[17],"p":1122}
                         ! ** Process successful ** (recipients : 2)

    When Member Access is activated MailPress instead stalls for a minute as soon as it should do a successful match (due to membership/access denial of reading that post!?), and then it doesn’t log anything until the next (unsuccessful match) and no emails are ever sent.

    Any ideas!?

    Cheers,

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

The topic ‘Member Access blocks MailPress?’ is closed to new replies.