B Blink70v Guest Mar 28, 2012 #1 In a future release, will it be possible to choose when members can vote? 1 daily 1 every 2 hours 1 every 4 hours Etc. .... thank you
In a future release, will it be possible to choose when members can vote? 1 daily 1 every 2 hours 1 every 4 hours Etc. .... thank you
Mark Administrator Staff member Mar 28, 2012 #2 no that is not a planned core feature. But its easy enough to make a plugin to empty the IP log table every X hours.
no that is not a planned core feature. But its easy enough to make a plugin to empty the IP log table every X hours.
B Blink70v Guest Mar 29, 2012 #3 I can not make CRON task on my webhost. How can I do? I do not know anything about programming! Thank you.
I can not make CRON task on my webhost. How can I do? I do not know anything about programming! Thank you.
Mark Administrator Staff member Apr 18, 2012 #5 No this is not planned for a future version. A plugin is the way to handle this.
Basti Administrator Staff member Apr 18, 2012 #7 Just like mark said, clear ip_log table every xx hours. Currently it gets emptied once a day. You will need to make a plugin that runs a mysql query that trunctate that table each xx hours
Just like mark said, clear ip_log table every xx hours. Currently it gets emptied once a day. You will need to make a plugin that runs a mysql query that trunctate that table each xx hours
Mark Administrator Staff member Apr 18, 2012 #8 yup, this needs to run every X hours. Usually a cron or psuedo cron to handle this. PHP: $DB->query("TRUNCATE TABLE {$CONF['sql_prefix']}_ip_log", __FILE__, __LINE__);
yup, this needs to run every X hours. Usually a cron or psuedo cron to handle this. PHP: $DB->query("TRUNCATE TABLE {$CONF['sql_prefix']}_ip_log", __FILE__, __LINE__);