Monday 22 December 2003 12:04:59 pm
Gunnstein probably meant the following: create your own, custom .php file that will be run automatically every hour or so using cron. This PHP file will then have to loop through all the users within the system and for each user check the expiration date. If the date is OK, the user is left alone, if it has expired - well, then it's up to you to disable that user (or what not) from within the script. In order for this to work, you'll have to modify the built-in user-class by adding a date field and perhaps an enabled/disabled (boolean) field to it. (The workflow system itself usually also depends on cron.) Balazs
|