hehe
open modifyprofile Templates
--
find:
after that add:
Code:
<br><br><font
face="Tahoma">edit your signature :</font><p><font
face="Tahoma"></smallfont>no
<input type="radio"
name="editsig" value="no"
checked>
yes <input type="radio"
name="editsig" value="yes"
notchecked></font></p>
######
open member.php
find:
PHP Code:
} else if
(!preg_match('#^[a-z0-9]
+://#si', $homepage)) {
// homepage doesn't
match the [url]http://-style[/url]
format in the beginning --
possible attempted exploit
$homepage = '';
}
}
After that add:
PHP Code:
if($editsig==yes){
$DB_site->query("UPDATE user
SET
signature='".addslashes($sign
ature)."' WHERE
userid='$bbuserinfo[userid]'"
);
$DB_site->query("UPDATE user
SET sigrate=0 WHERE
userid='$bbuserinfo[userid]'"
);
}
find:
PHP Code:
,signature='".addslashes($sig
nature)."'
And delete that
again ##
find:
PHP Code:
,signature='".addslashes($sig
nature)."'
And delete that