Maximum number of threads per day in X forum
#24
(12-06-2013, 06:39 AM)crazy4cs Wrote: edit: Alright, saw his file over at GitHub, replace these:

$plugins->add_hook('newreply_do_newreply_start', 'dailymaximum_start');
$plugins->add_hook('newthread_do_newthread_start', 'dailymaximum_start');

with:

$plugins->add_hook('newreply_start', 'dailymaximum_start');
$plugins->add_hook('newthread_start', 'dailymaximum_start');

Actually, AFAIU you need the four hooks for the plugin to work properly. Users could still be able to post if you don't block the post requests.
Reply


Messages In This Thread
RE: Maximum number of threads per day in X forum - by Omar G. - 12-09-2013, 01:04 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)