93
uhm, sorry. Stupid mistake
You need to look at edituser.php somewhere around line 271:
if ($op == 'avatarupload') {
if (!is_object($xoopsUser) || $xoopsUser->getVar('uid') != $uid ) {
redirect_header('index.php',3,_US_NOEDITRIGHT);
exit();
}
if ($xoopsConfigUser['avatar_allow_upload'] == 1 && $xoopsUser->getVar('posts') >= $xoopsConfigUser['avatar_minposts']) {
include_once XOOPS_ROOT_PATH.'/class/uploader.php';
[color=FF0000] $uploader = new XoopsMediaUploader(XOOPS_UPLOAD_PATH, [b]array('image/gif', 'image/jpeg', 'image/pjpeg', 'image/x-png', 'image/png'[/b]), $xoopsConfigUser['avatar_maxsize'], $xoopsConfigUser['avatar_width'], $xoopsConfigUser['avatar_height']);[/color]
I think you should add 'image/bmp', 'image/x-bmp', 'image/x-windows-bmp' but i'm no programmer either
On the other hand this is not global, it's just for uploading avatars