Integration of modr8 and subscriptions for Drupal

I've made a lot of progress in getting modr8 and subscriptions to work together.

Task 1, easily accomplished, was to have subscriptions not send out notifications if the moderation bit was set.

Task 2 was to then have a notification sent once the item was approved by a moderator. That was much more tricky! What I ended up doing was writing some new code into the modr8_admin.inc module to create an '$event' object, and a small addition to subscriptions to handle the queue addition. So far, it seems to work but needs testing. I have not tried it with author or taxonomy subscriptions, so it could fail on those.

These need to be tested! Don't use them on a production website until you are convinced they are working.

Comments

Attachments removed

I've removed the attachments because they've been superseded by modules and a better implementation.

Powered by Drupal, an open source content management system