Re: auto-delete user accounts after a period of inactivity
I think that deleting users at all can be a really problem to mantain the "integrity" of your Moodle instalation. There are a lot of info asociated with the student that you want/need to delete (forum posts, assignments, quizzes...pieces of work in general).
In Martin's words:
User accounts are never deleted, they just get marked deleted. The username field gets changed to something unique so that that username is freed up to be used again.
The reason we keep the user data is that other data (like forum posts) may still exist throughout in your installation that references that user. For example, it would be impossible to show the name of the person who made a forum post if the user record was missing.
Ciao
Re: auto-delete user accounts after a period of inactivity
I understand the reasons for keeping the user data, and I agree
to them. However, if there was a way to automatically "mark deleted" the accounts, some pages like "edit user accounts" and "assign teachers" would be less cluttered.
Marc Delisle
Re: auto-delete user accounts after a period of inactivity
Go to Administration --> Configuration --> Variables and then set the longtimenosee variable to whatever you desire. The instructions next to that setting say:
"If students haven't logged in for a very long time, then they are automatically unsubscribed from courses. This parameter specifies that time limit. "
However the way I understand it the students are not only unsubscribed from the courses but are also marked as deleted.
Re: auto-delete user accounts after a period of inactivity
Re: auto-delete user accounts after a period of inactivity
Auditors seem to follow trails that have the word "deleted" appear anywhere them and the instruction reading something like Student records transferred to Student Archive, or something of that nature.
Just food for thought
Re: auto-delete user accounts after a period of inactivity
Dear Martin,
I note that some once-were-Moodler who are no longer members of the moodle.org moodle course. It may well be that they chose to opt out of the course but it also may be simply that they did not post for a while and their membership lapsed.
This may be especially true in the Japanese forum where we find that Japanese members are shy to post, but if they do not post they will be automatically removed from the course database.
Please may I suggest longtime no see setting be lengthened (perhaps indefinately?) for "Using Moodle", or perhaps just "Japanese."
I guess that this will stress the server so, I can see why you would want to prune but at the same time it is a shame to see the registered user base seep away.
Tim
Timothy Takemoto
By the way, I am thinking of people like "Chris U" and John Bristor. They probably logged out themselves.
Re: auto-delete user accounts after a period of inactivity
Talking of longtimenosee:
I cannot remember whether this has been entered as an item for the wishlist:
it would make a lot of sense to move the longtimenosee automatic unenroll from one site-wide setting to a table in the db with the option of making it course-specific.
Where does this stand, Martin? Any chance?
Lev