2014-03-30, 04:07 PM
I have a plugin that blocks users from posting URLs and it's hooked to inline error handler "Shows error on the same page" so I need to block users for 24h if the error was shown X times. I am terrible at more complex PHP but I think I will need to create a column on USER table that will store expiration data!
Now the plugin has to check for SESSION_ATTEMPTS and if SESSION_MAX_ATTEMPTS > 5 update column with a figure that will expire in 24h.
Now I will need another simple plugin that will check all users for that expiration date.
Now the plugin has to check for SESSION_ATTEMPTS and if SESSION_MAX_ATTEMPTS > 5 update column with a figure that will expire in 24h.
Now I will need another simple plugin that will check all users for that expiration date.