2011-11-30, 11:07 AM
I saw this idea yesterday and decided it was worth a shot. So I started developing one such plugin in which I faced some issues of parsing out days in this thread but thanks to Yaldaram and pavemen's help which helped me getting the idea about it.
So this is pretty much ready. This runs a hook globally but only adds one query and doesn't affect MySQL server load more than 1%, so its pretty much good.
Now what this would do mainly is ban the user who is awaiting activation and has not verified their email after x days. (value of days can be set from settings) For example, a user registered on 20 November and in settings, maximum days to wait till banning a user is 3 and today is 24 November, he would be automatically banned. It also has option to turn its functionality on or off from the settings itself.
I've tested this over localhost and it works fine for me. Be careful to set days accurately otherwise it might ban the freshly registered accounts.
Download:
[attachment=24858]
Would be awaiting for comments and suggestions.
Regards.
So this is pretty much ready. This runs a hook globally but only adds one query and doesn't affect MySQL server load more than 1%, so its pretty much good.
Now what this would do mainly is ban the user who is awaiting activation and has not verified their email after x days. (value of days can be set from settings) For example, a user registered on 20 November and in settings, maximum days to wait till banning a user is 3 and today is 24 November, he would be automatically banned. It also has option to turn its functionality on or off from the settings itself.
I've tested this over localhost and it works fine for me. Be careful to set days accurately otherwise it might ban the freshly registered accounts.
Download:
[attachment=24858]
Would be awaiting for comments and suggestions.
Regards.