Call me stupid, but what file is this you're referring to? I went through all the files and couldn't find this, or part of it, anywhere. /boggle
Quote:
05-04-03 at 08:12 PM LangTuDaTinh said this in Post #212
LOOK FOR THIS
PHP Code:
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] = "";
}
CHANGE TO THIS
PHP Code:
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] = '';
}
} else {
if ($signatureurl!="") {
eval("\$post[signature] = \"".gettemplate("postbit_signature")."\";");
}
// $post[signature] = "";
}
as u ca see, i added a new code in the last "else" code and comment out the code in there
PHP Code:
if ($signatureurl!="") {
eval("\$post[signature] = \"".gettemplate("postbit_signature")."\";");
}
if there is any error , pls let me know
thanks
|