Thanks Leighton for all you do!
I am using Membership suite allowing members to post nodes. I would like all their nodes to automatically unpublish if they allow their membership to expire. I've been searching and searching in forums. I'm guessing this can be done with Rules, probably with Views Bulk Operations in addition. But feeling pretty confused about it.
Loved your video on sending multiple emails using views. Can you point me to any good instructions on how to do it... or maybe even shoot a quick video on how it can be done.
Thanks
Zareen








zareen,
It would be easy to do with a custom module using one of Membership Suite's hooks, but if you want to use Rules or the Web Interface to configure something, I think you will find it a bit more complicated. There is a post here that outlines how to do something like this using Views Bulk Operations: http://groups.drupal.org/node/94379 . I've never used the module, but it seems like it should work.
If you want to go the custom module route (I always build a custom module for every drupal site I develop, just for small things like this), then it would be a lot simpler, just change MYMODULE to your module name, and paste this code into it:
Sincerely,
Leighton Whiting