4 replies [Last post]
littly_kitty's picture
Offline
Bug Finder
Joined: 01/20/2008
Juice: 155
Was this information Helpful?

On my site users can purchase a role.

Is there a way to assign a role to these users when their purchased role has expired?

I tried to use Workflow_Ng but there isn't event for "user's role expires".

Any hints or tips to point me on the right direction would be greatly appreciated.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Assign a role to users when their purchased role has expired

Aye, this will be a good point for integration w/ Workflow-ng. I'll pass it onto Shawn if he doesn't find this thread first. Smiling

littly_kitty's picture
Offline
Bug Finder
Joined: 01/20/2008
Juice: 155
Cool! Would also be possible

Cool!

Would also be possible to develop a Work Flow Condition titled "User gains role" and two actions titled "User is assigned role" and "user loses role" (in addition to the condition of "User role expires", which is discussed in the opening post)?

These actions conditions would be very handy for membership based sites.

notmike's picture
Offline
Joined: 01/27/2010
Juice: 5
Re: Assign a role to users when their purchased role has expired

Does anyone know if this feature was ever developed further, this is the only thread related to this that I can find anywhere...

Thanks!

ryank76's picture
Offline
Joined: 01/16/2008
Juice: 79
Re: Assign a role to users when their purchased role has expired

I would also like to know - how can we do this?

I'm trying to prevent people from being able to repeatedly purchase the Free Trial. The only way I can see to do this is to have a role 'Expired Trial' and switch users to that once their free trial ends, then prevent the Expired Trial role from being able to purchase the Free Trial.