I've set permissions that allow registered but unvalidated users to post comments, I want to use the feature "delete unvalidated users after xxx time", but keeping those users that already posted something. Any chance to get this feature?

Comments

hunmonk’s picture

stevecowie’s picture

I think there's a reasonable case for this because if you delete users that have submitted comments those comments will then be attributed to anonymous, which you might not want. Any chance of a patch?

megachriz’s picture

The first thing that comes up to my mind is that this use case maybe can be fulfilled using Views and Rules:

Event: cron runs.
Conditions: A set amount of time has passed.
Actions:

  • Retrieve a View with users to delete.
  • Delete these users.

If this could be set up, a default View and a default Rule could be added to Logintoboggan. And then all you have to do is to adjust the View, so it only shows users who never posted.

federico’s picture

Issue summary: View changes

Does anyone has a view that retrieves which users to delete?