Unfortunately, this hack also suffers from the "never updating IIPs" for those who have active boards. Everytime someone loads this page, it resets the date variable so that an IIP never times out as long as people are hitting the page within the interval.
To fix this, I added the code below (in bold) to the sidebarpal.php:
[] $dbh -> finish_sth($sth);
if ($RefCache && $user['U_Status'] = "Administrator") {
$LastCacheTime = 0;
}
if ( $date > ($LastCacheTime+600) ) $LastCacheTime = 0;
if (empty($forcepublic)) {
[/]
then a little lower:
[] }
if ( $LastCacheTime != 0 ) $date = $LastCacheTime;
$date_q = addslashes($date);[/]
Basically, I'm telling the IIPs to do a refresh ever 10 minutes. Putting LastCacheTime to 0 forces a refresh and I have all the defaults set to 15 minutes.
I know its a little kludgy, but otherwise the pages never update (unless nobody is on my site for 15 minutes!)