I think you don't have to modify the kernel to implement an expiry date on users. If you use the attribute identifier "unpublish_date" for the attribute with the name "Expiry date", I think it might be possible to use the unpublish cronjob script to disable users.
Cheers, Sebastiaan
Certified eZ publish developer with over 9 years of eZ publish experience. Available for challenging eZ publish projects as a technical consultant, project manager, trouble shooter or strategic advisor.
I tried implementing this as suggested on a 3.6.0 site, for deleting users after a given time (subscription):
- Added an attribute in user class with identifier "unpublish_date", of datatype "date and time".
- Filled the attribute with a time, e.g this morning. - Added settings in settings/override/content.ini.append.php
- Added a workflow, "wait until date", for the unpublish_attribute...(altough I cant see why) - Run cronjob manually on server, and it executed unpublish.php with no error.
But the user that should be deleted is still there, and is able to log in.
I would appreciate any hints! - Thanks
www.vzt.no
You must be logged in to post messages in this topic!