hmm, its exactly the same as my lines:
PHP Code:
if (!$forum[allowicons] or $post[iconid]==0) {
if ($showdeficon) {
$post[icon]='<img src="{imagesfolder}/icons/icon1.gif" border="0" alt="">';
}
} else {
/*
unset ($iconwidth);
unset($iconheight);
$imginfo=@getimagesize($post[iconpath]);
if ($imginfo[2]==1 or $imginfo[2]==2) { // We have a .gif or .jpg
$iconwidth = "width=\"$imginfo[0]\"";
$iconheight = "height=\"$imginfo[1]\"";
}
*/
$post[icon]="<img src=\"$post[iconpath]\" alt=\"$post[icontitle]\" border=\"0\">";
}
if ($post[userid]!=0) {
if ($post[usergroupid]==6) {
$post[username]="<font color=red>".$post[username]."</font>";
}
if ($post[usergroupid]==5 || $post[usergroupid]==7) {
$post[username]="<font color=blue>".$post[username]."</font>";
}
if ($post[usergroupid]==9) {
$post[username]="<font color=gray>".$post[username]."</font>";
}
unset($onlinestatus);
if ($post['lastactivity'] > $datecut and !$post['invisible'] and $post['lastvisit'] != $post['lastactivity']) {
eval("\$onlinestatus = \"".gettemplate("postbit_online")."\";");
} else {
eval("\$onlinestatus = \"".gettemplate("postbit_offline")."\";");
}
this are the lines, where the hack is integrated....
can you please post also the exact errormessage?