View Full Version : Have a simple question....
Kold Blooded
12-13-2002, 02:15 PM
least i think it is porbably somethin simple
im still learnin and i need someone to tell me how to make it so that your signature only shows up the first time you post in a thread if you can hit me back with this quickly i would be sooooo greatful, you can also im me if that is easier my sn is Kold Lyriks...thanks
http://www.imagemagician.org/images...ign/FuxxFAM.jpg
Xenon
12-14-2002, 10:04 PM
hmm it's not that easy...
well we'll try ;)
open admin/functions.php
find: 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] = "";
}
and change it to: if (!isset($sigcache[$post['userid']] and $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] = "";
}
that should show up a sig just once per page...
once per thread, would be more difficult and would add a query per post, so you shouldn't do it ;)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.