Hi Ross,
I looked at the source code of that link you gave us. You simply don't have the display set (show/hide).
Looks to me like you skipped the part of editing admin/functions.php (or maybe forgot to upload it, or maybe uploaded it to the wrong dir?).
Open admin/functions.php and Find:
Code:
if ($post[dateline]>$bbuserinfo[lastvisit]) {
$post[foldericon]="<img src=\"{imagesfolder}/posticonnew.gif\" border=\"0\" alt=\"New Post\">";
} else {
$post[foldericon]="<img src=\"{imagesfolder}/posticon.gif\" border=\"0\" alt=\"Old Post\">";
}
REPLACE that with:
PHP Code:
// Contract Old Posts in Thread (v1.0)
global $display, $HTTP_USER_AGENT;
if ($post[dateline]>$bbuserinfo[lastvisit]) {
$post[foldericon]="<img src=\"{imagesfolder}/posticonnew.gif\" border=\"0\" alt=\"New Post\">";
if (!$display) {
$pe = "show";
$ph = "none";
}
} else {
$post[foldericon]="<img src=\"{imagesfolder}/posticon.gif\" border=\"0\" alt=\"Old Post\">";
if (!$display) {
if ($bbuserinfo[hideposts]=="1") {
$pe = "none";
$ph = "show";
} else {
$pe = "show";
$ph = "none";
}
}
}
if ($display=="none") {
$pe = "none";
$ph = "show";
} elseif ($display=="show") {
$pe = "show";
$ph = "none";
}
if (strstr($HTTP_USER_AGENT,"MSIE")) {
eval("\$plusimg = \"".gettemplate("postbit_plusimg")."\";");
eval("\$minusimg = \"".gettemplate("postbit_minusimg")."\";");
} else {
$plusimg = "";
$minusimg = "";
}
// Contract Old Posts in Thread (v1.0)
Let us know if it worked out.
Cheers,
Bira