Hello,
My intention is to create a module that shows up to users only when they are eligible for an upgrade.
On our site, users can upgrade to a higher (Gold) membership, only if they have been members for 2 years. I have solved this but many members want to upgrade but don't realize that the upgrade is possible.
Hence, I would like to display a module for that user only with a text like "
Congratulations Joe! You can now upgrade to Gold membership! Go here, etc."
Currently:
- I have a cronjob run every night counting all members payments and updating a hidden CB field.
- An additional query field is 1 or 0 if the count is past the threshold (24 months).
- The upgrade plan only shows to users if the query field is 1 (I do this extra step as I have an override to allow some manually selected users to upgrade before the 2 years).
I think can achieve this by showing the module if the user has the query field as 1 AND their active membership is one of 3 (standard monthly, semester, annual).
ACL restrictions won't work as the Gold access is right above the registered access.
Would the CB Conditional Module be the best option to do this? Can I do it with it?
Thank you,
Tomás