1 reply [Last post]
eliza411@drupal.org's picture
Offline
Joined: 03/04/2008
Juice: 9
Was this information Helpful?

When a user purchases a membership on the site I'm working on, he or she is entitled to discounts on lectures which occur during an academic year as well as access to special areas of the site. Consequently, the role granted doesn't expire in X months, but rather it expires on September 1 of a particular year. If it has to be an interval, it's basically the expiration date minus now, but I don't know how or where one might add that kind of rule.

I've searched for solutions here and on drupal.org, but I'm not turning up anything, and I feel I may have overlooked something right in front of me. I'd sure appreciate any pointers in the right direction.

__Tango's picture
Offline
Cool profile pic award.
Joined: 03/06/2008
Juice: 33
Re: Have a Role expire on a particular date

I have the same issue. I haven't found a way to deal with it cleanly. I was going to have a script that runs (potentially as part of cron.php, but maybe something that runs less often) that would set the expiration dates on peoples accounts to a specific day.

It's kinda hacky, but it will most likely work.

If better ideas are out there, i'd love to hear them.