Quote:
Originally Posted by arco
Have only one problem - Top Thread Starters doesn't seem to update. 
Any way to fix that?
|
Quote:
Originally Posted by voter
I solve the problem by extracting the plugin Cyb - Advanced Forum Statistics - UT and making from it a php file, than I let it fire as a cron job once an hour as a Scheduled Task.
|
Thanks voter, your post pointed me in the right direction.

I temporarily fixed the problem by extracting that code from the plugin.
Find in includes/cron/cleanup.php
Code:
($hook = vBulletinHook::fetch_hook('cron_script_cleanup')) ? eval($hook) : false;
Add before
Code:
while ($thread = $vbulletin->db->fetch_array($threads))
{
$thread['open'] = 10;
$threadman =& datamanager_init('Thread', $vbulletin, ERRTYPE_SILENT, 'threadpost');
$threadman->set_existing($thread);
$threadman->delete(false, true, NULL, false);
unset($threadman);
}
Now "Top Thread Starters" will get updated every hour.