Spam protection plu...
 
Notifications
Clear all

Spam protection plugin account cleaner

6 Posts
2 Users
2 Reactions
247 Views
(@paolo)
Posts: 9
Active Member
Topic starter
 

Hi,

In the plugin's account cleaner for some reason the date selection is "stuck" exactly one year back. It doesn't allow you to select any more recent dates for account cleaning.

Any ideas what that could be and how to solve this problem?

Thank you

 
Posted : June 3, 2020 16:49
Topic Tags
Johannes de Sacrobosco
(@johannes-de-sacrobosco)
Posts: 83
Member Moderator
 

This is correct, a failsafe measure of the plugin.

If you want to change that, edit TWO places:

1. admin/security.php

2. classes/class.spamprotection.php

Search for "-1 year" and change that to whatever you want. Just be careful NOT delete the space before the number in the code.

 
Posted : June 3, 2020 17:07
Paolo reacted
(@paolo)
Posts: 9
Active Member
Topic starter
 

Thank you, worked like a charm.

 
Posted : June 3, 2020 18:42
Johannes de Sacrobosco
(@johannes-de-sacrobosco)
Posts: 83
Member Moderator
 

Just be careful not to delete any user WITH ads or comments. Do not uncheck those boxes.

 

 
Posted : June 3, 2020 18:53
(@paolo)
Posts: 9
Active Member
Topic starter
 

Thanks again for all those quick responses.

I do need that feature because latetly a lot of users are registering not for placing ads but for creating a profile with links. Useless for them, still i do not want to have hundreds of users like that.

So i delete users that have no ads, 2 months back in dates, without checking each and every for profile links. I think 2 months back is safe, even if they are legit users with expired ads or something.

Don't you think?

 
 
Posted : June 3, 2020 19:03
Johannes de Sacrobosco
(@johannes-de-sacrobosco)
Posts: 83
Member Moderator
 

It is perfectly fine. Just use any cleanup or mass delete with caution. It is very easy to delete a few hundred users just by mistake.

Glad i helped.

 
Posted : June 3, 2020 19:45