ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Automatic Disable Accounts


  • 2010-10-14 13:57:56

    Automatic Disable Accounts

    Hello,
    What would be the general steps to make my installation of ATutor so that accounts are automatically disabled after 30 days of inactivity?
    Thank you

    Things to describe:
    Operating system ATutor is installed on - Suse Enterprise
    ATutor version - 2.0
    Patch #s applied - none yet
    ATutor theme name - standard
    PHP version -
    MySQL version -
    Webserver & version - Apache
    Copies of error messages -
    Changes to default settings -
    Web browser being used -
    ...and anything else relevant -

  • 2010-10-14 15:04:21

    Re: Automatic Disable Accounts?

    You would probably need to write a little script that scans the members table for last_login, compares it with the current date/time, and updates the status to disabled (4) if days inactive as larger that 30.

    You could probably build this into a little module, and run the module with cron.