Open member.php, find:
// ############################### start get info ###############################
if ($action=="getinfo") {
$templatesused = "getinfo_sendpm,aol,icq,yahoo,getinfo_birthday,get info_customfields,getinfo" ;
include("./global.php");
Add below:
global $allowsignatures,$allowsmilies;
then find:
if ($userinfo[yahoo]!="") {
eval("\$userinfo[yahooicon] = \"".gettemplate("yahoo")."\";");
} else {
$userinfo[yahoo]=" ";
}
Add below:
if ($userinfo[signature]!="" AND $allowsignatures) {
$post[signature]=bbcodeparse($userinfo[signature],0,$allowsmilies);
eval("\$userinfo[signature] = \"".gettemplate("postbit_signature")."\";");
} else {
$userinfo[signature]="None";
}
Close member.php
Open the template User Info Display Templates -> Getinfo and place $userinfo[signature] where ever you want the signature to be displayed.
Done!
|