geniuscrew
10-08-2002, 08:58 PM
Yep,
I'm modifying something again.
Could someone please check this code for me please because I keep getting errors.
It's Neo's Admin avatar options hack again =)
// ##### Admin / Mod Diff Upload Size
if ($bbuserinfo[usergroupid]==6) {
if ($imginfo[0]>$amw or $imginfo[1]>$amh) {
@unlink($filename);
eval("standarderror(\"".gettemplate("error_aabd")."\");");
}
} elseif {
if ($bbuserinfo[usergroupid]==7) {
if ($imginfo[0]>$mmw or $imginfo[1]>$mmh) {
@unlink($filename);
eval("standarderror(\"".gettemplate("error_mabd")."\");");
}
} else {
if ($imginfo[0]>$avatarmaxdimension or $imginfo[1]>$avatarmaxdimension) {
@unlink($filename);
eval("standarderror(\"".gettemplate("error_avatarbaddimensions")."\");");
}
}
// ##### Admin / Mod Diff Upload Size
I get this error
Parse error: parse error, unexpected '{', expecting '(' in /home/charmed/public_html/forum/member.php on line 1354
Thanx for any help
I'm modifying something again.
Could someone please check this code for me please because I keep getting errors.
It's Neo's Admin avatar options hack again =)
// ##### Admin / Mod Diff Upload Size
if ($bbuserinfo[usergroupid]==6) {
if ($imginfo[0]>$amw or $imginfo[1]>$amh) {
@unlink($filename);
eval("standarderror(\"".gettemplate("error_aabd")."\");");
}
} elseif {
if ($bbuserinfo[usergroupid]==7) {
if ($imginfo[0]>$mmw or $imginfo[1]>$mmh) {
@unlink($filename);
eval("standarderror(\"".gettemplate("error_mabd")."\");");
}
} else {
if ($imginfo[0]>$avatarmaxdimension or $imginfo[1]>$avatarmaxdimension) {
@unlink($filename);
eval("standarderror(\"".gettemplate("error_avatarbaddimensions")."\");");
}
}
// ##### Admin / Mod Diff Upload Size
I get this error
Parse error: parse error, unexpected '{', expecting '(' in /home/charmed/public_html/forum/member.php on line 1354
Thanx for any help