Hi,

I am running a website that offers different functionality for different roles (roles are: paid support and standard user). When support has been paid for and verified (a manual process), the profile date field is changed to refect the new expiry date of their support time.

Now, I need a script/ module that monitors changes to this field and changes the role accordingly. If the support is current (date has not passed current date), then they are given the "paid support" role, and if their support expired, then their role has changed to "standard user".

I hope that makes sense and that someone is able to give me a hand or a point in the right direction to get this functionality working.

Thanks,
Nathan

Comments

nathanwastaken’s picture

Can anyone help, or should I move the discussion to another category?

vm’s picture

you may want to put this is the paid services category. or maybe the module dev category. Do you have any thought on the begining of coding it ?

personally, id look at the LM_paypal module which would allow you to create a way to give a paid role after payment is made, without the need for writing a module based on a profile field.