PDA

View Full Version : Time in Usergroup


KGodel
03-23-2013, 08:16 PM
Hello all. I have a small problem I'd love your help with!

We move inactive members to a specific usergroup, let's call it "Inactive". These members must request to get out of the group. If they don't within 30 days, we want to prune their accounts. Currently, we can only prune accounts that are simply inactive for 60 days easily. Is there any way to store the date when they are moved into the "Inactive" usergroup and automatically remove them after 30 days in that group? Thanks!

KGodel
03-25-2013, 08:00 AM
Bumping this to see if anyone knows how or if I am on the right track and can give me some pointers, but I'm thinknig of adding a plugin that operates every time there is a usergroup change and saving the date of the change to either a hidden profile field or a hidden field in the user table and then scheduling an automated task to check users in my "inactive group" and purge anyone whose last usergroup change was 30 days ago. Does this sound solid? If so can someone maybe help me get started?

KGodel
04-07-2013, 02:19 AM
Another bump, still in need of some assistance with this one.

KGodel
10-22-2013, 12:40 AM
Still looking for some help with this.