The new version 2.16.0 of the plugin is available!
Bugs fixed:
- bug:2046
- bug:2053
Improvements:
- bug:2011
New features:
- bug:2054
- bug:2056 - (see explanations below)
About automating tasks:
The first challenge in the absence of cron, was finding a trigger event. I opted for identification at the gallery which is the first physical action and usable on a gallery. Thus, when a user of any kind, connects, checks are run on ghosts users (managed in the Ghost Tracker).
For each user who has not returned to visit the gallery after x days (settable in the plugin):
- If it has never been reminded by email
-> The user is demoted to a group and / or status restricting its access to the gallery (on the same way of waiting groups / statuses before validation of registration).
-> The user may be notified by mail of the demotion with the opportunity to revalidate their registration by a link in the email. This applies as email reminded.
- If it has already been remined with an email recovery
-> Delete the account without further notice. Future evolution of the system will send a notification email account deletion.
Particular case (and normally rare but to consider all the same ^^) of the user whose account has expired and that triggers his own removal or demotion :
- If it is downgraded -> It will generate itself issuing the notification email with the validation key and access will be immediately impacted by the restrictions. If
[extension by plg] PWG Stuffs is used to notify users awaiting approval, the user demoted find this same message upon login.
- If it is deleted -> His access redirects to a page stating that his account has been destroyed and, possibly, the reasons for this destruction. The content of this page is customizable in the plugin administration.
The implementation of automation can significantly slow the response time of the gallery on the user identifications. By the number of controls and actions to achieve is a bit normal. But I will try to optimize all of this in future versions. ;-)
That's all, for explanation on the operation of this heavy factory ;-)
I tried to test all scenarios but it is possible that I missed some. I await your return, for those who are interested in these new features.