Quote:
Originally posted by Lucky
Any chance of getting this hack to work for all instances, such as You last visited: 02-26-2002 12:43 AM.
|
Lucky:
This instance requires on additional hack. Here it is:
In index.php, around line 250, find this block of code:
PHP Code:
if (isset($bbforumview[$forum['forumid']]) and $bbforumview[$forum['forumid']]>$bbuserinfo['lastvisit']) {
$userlastvisit=$bbforumview[$forum['forumid']];
} else {
$userlastvisit=$bbuserinfo['lastvisit'];
}
After this block, just insert the following line:
PHP Code:
$bbuserinfo['lastvisitdate'] = vbdate($dateformat, $bbuserinfo['lastvisit']);
This should fix this particular instance. Thanks for the tip!
Slowly but surely, the exceptions to this hack are finding there way out of the woodwork. There shouldn't be more than one or two more after this one -- if any.