Forums
Hello,
Is there any way that we could have a course expiration functionality for the course in our site. We need to implement a course function where the course needs to expire 3 months from the purchase of the course by the user. Please elaborate
Hi
Hi
Yes there is an additional Opigno app you can install: "Opigno User Expiration App"
You can refer to the user manual on pages 77 and 78 for more details: https://www.opigno.org/150227_Opigno_User-Manual.pdf
Best regards,
Hi sharath92,
Hi sharath92,
The is a module in the apps store, called user expiration. It creates a field in the course, where you can set the duration (3 months for example).
It also creates a date membership field that stores the date of the membership for each user to a group.
The module also executes a cron (a process that runs in the backgroud that is executed every x hours) that checks all user memberships, and if the (membership date + 3months < today) blocks the user.
This is what our app already does.
Best regards
Thanks axel and James
Hi sharath92,
Hi sharath92,
I just released a new version of the module
You can download it from here and replace it.
https://www.drupal.org/project/opigno_user_expiration_app
To test you can edit the individual user membership and set the expiration date to a past date. Then run the cron. That user membership should then be bloked.
Best regards
Hello James
Hi sharath92,
Hi sharath92,
Yes, it will not display because it blocks the user membership, it does not remove it. For that you have to remove the membership instead of blocking it.
Best regards
Hi James