View Full Version : help in show print version
ceo_tfw
06-10-2002, 02:45 PM
I am looking for a way that when I print a thread in a forum that signatures are not included when you show a prinable version..
can anyone help me please
Xenon
06-10-2002, 03:19 PM
in printthread.php replace this:
if ($post[userid]==0) {
$post[username]=$post[postusername];
} else {
if ($post[showsignature] and $allowsignatures and trim($post[signature])!="" and ($bbuserinfo[userid]==0 or $bbuserinfo[showsignatures])) {
if (!isset($sigcache["$post[userid]"])) {
$post[signature]=bbcodeparse($post[signature],0,$allowsmilies);
eval("\$post[signature] = \"".gettemplate("postbit_signature")."\";");
$sigcache["$post[userid]"] = $post[signature];
} else {
$post[signature] = $sigcache["$post[userid]"];
}
} else {
$post[signature] = "";
}
}
with $post[signature] = "";
ceo_tfw
06-10-2002, 05:46 PM
thanks for that Xenon, and I thoought I'd ask, is your username have anything to do with xbtf (X-Beyond the Frontier) PC game,
just wondering, it is a great game
Xenon
06-10-2002, 05:51 PM
you're welcome
no, it's greek and meens something like the unknown ...
also i liked the name after my first chemistry lesson, so i took my lexicon and saw what it stands for, and then it became my nick since a very long time now :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.