$output = preg_replace("'{avatar=(.*?),(.*?)}'", ($row['avatar'] ? "<img src=\"".$row['avatar']."\" alt=\"image\" border=1 width=\"\\1\" height=\"\\2\" />" : ""),$output);alt=\"image\"$user_avatar[$row['username']] = ($row['avatar'] ? '<img src="'.$config_path_userpic_upload.'/'.$row['username'].'.'.$row['avatar'].'" alt="" border="0">' : '');FI-DD wrote:Head.php:
- Code: Select all
$user_avatar[$row['username']] = ($row['avatar'] ? '<img src="'.$config_path_userpic_upload.'/'.$row['username'].'.'.$row['avatar'].'" alt="" border="0">' : '');
What's the point of this hack anyway?
Isn't there a setting built in that lets you restrict avatar sizes to a certain width and height?
Return to Additional Downloads
Users browsing this forum: No registered users and 0 guests