Parker what version are you on?!?
The vinyl code for 2.2.1 in forumdisplay.php is (lines 307-314):
Code:
// look at thread limiting options
$datecut="";
$stickyids="";
$stickycount=0;
if ($daysprune!=1000) {
$checkdate = time() - ($daysprune*86400);
$datecut='AND lastpost >= '.$checkdate;
}
// get number of sticky threads for the first page
// on the first page there will be the sticky threads PLUS the $perpage other normal threads
// not quite a bug, but a deliberate feature!
if ($pagenumber==1) {
$datecut.=' AND sticky=0';
Adding the lastvisit option would change it to:
Code:
// look at thread limiting options
$datecut="";
$stickyids="";
$stickycount=0;
if ($daysprune!=1000) {
[high] if ($daysprune=='-2') {
$datecut='AND lastpost >= '.$bbuserinfo[lastvisit];
} else {[/high]
$checkdate = time() - ($daysprune*86400);
$datecut='AND lastpost >= '.$checkdate;
[high]}[/high]
}
// get number of sticky threads for the first page
// on the first page there will be the sticky threads PLUS the $perpage other normal threads
// not quite a bug, but a deliberate feature!
if ($pagenumber==1) {
$datecut.=' AND sticky=0';
(change hilighted)