ATutor

Learning Management Tools







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


Disabling an account


  • 2011-11-23 13:04:32

    Disabling an account

    Atutor 2.0.2
    A user would still be logged on even if the account is disabled; Until the user manually logs him/herself out. Is there a way that problem can be surmounted??
    Any help would be much appreciated.

  • 2011-11-24 09:51:03

    Re: Disabling an account

    There'd be some programming required, but you could potentially identify the user's session, perhaps through the users online table, then kill that session when an account gets disabled.

  • 2011-11-25 13:48:00

    Re: Disabling an account

    Apparently, that should be true. However, the vitals.inc.php based on my best knowledge logs a user out after 10 hours. Does that compel the user to log out where he/she is logged in or not after that said time? if not, can one get a code snippet that allows such undertakings to be implemented for a logged in user?
    Best regards, LAL :)

  • 2011-11-25 17:18:58

    Re: Disabling an account

    The 10 hours just logs out a person automatically if they are logged in inactive for that length of time. It would not affect how a script would work that disables an account.

    I would encourage you to find a way to have a user logged out when an account is disabled. And if you do, consider submitting it to be included in the public code. Perhaps submit it as a patch, or using Github. Given the amount of work you're doing with ATutor, it might be a good idea to get familiar with GitHub.

  • 2011-11-26 05:06:18

    Re: Disabling an account

    Sorry if I had to still reply to this thread, I just wanted to be sure if I could get further assistance as regards this issue at github. I saw some varieties of pricing for signing up so I wanted to be certain if it's worth acclimatizing with the site. Thanks Anyway.

  • 2011-11-26 08:29:49

    Re: Disabling an account

    Github is free for open source.

    For the basics, see:

    http://wiki.atutor.ca/display/atutorwiki/Using+GitHub+to+Develop+ATutor