Try this:
Run this query:
[SQL]ALTER TABLE usergroup ADD sigimg char(100)
[/SQL]
Open admin/usergroup.php, find:
PHP Code:
makeyesnocode("Viewable on <a href=\"../showgroups.php?s=$session[sessionhash]\" target=\"_blank\">Show Groups</a>?","showgroup",1);
Under Add:
PHP Code:
makeinputcode("Signature Image<br>file name and extension only","sigimg");
find:
replace with
PHP Code:
showgroup,sigimg,
find
replace with
PHP Code:
$showgroup,'".addslashes($sigimg)."'
Find:
PHP Code:
makehiddencode("showgroup",0);
}
under add
PHP Code:
makeinputcode("Signature Image<br>file name and extension only","sigimg",$usergroup[sigimg]);
find
PHP Code:
showgroup=".intval($showgroup).",
replace with
PHP Code:
showgroup=".intval($showgroup).",sigimg='".addslashes($sigimg)."',
Open admin/functions.php
find:
PHP Code:
eval("\$post[buddy] = \"".gettemplate("postbit_buddy")."\";");
under add
PHP Code:
eval("\$post[ugsig] = \"".gettemplate("postbit_ugsig"). "\";");
Create a new template 'postbit_ussig' with the the following contents:
Code:
<img src="{imagesfolder}/$usergroup[sigimg]">
Open template 'postbit_signature' and add anywhere you want