Hi!
First of all, thanks for this great MOD!! Is is the best multi upload MOD!
I think, I've found two bugs (one important and one trivial) in member.php:
- Error occurs, if category ID '0' is selected:
search:
$cat_id = ($cat_id) ? $cat_id : (isset($HTTP_POST_VARS['cat_id']) ? intvall($HTTP_POST_VARS['cat_id']) : intvall($HTTP_GET_VARS['cat_id']));
and replace with:
$cat_id = ($cat_id) ? $cat_id : (isset($HTTP_POST_VARS['cat_id']) ? intval($HTTP_POST_VARS['cat_id']) : intval($HTTP_GET_VARS['cat_id']));
search:
$sql = "DELETE FROM ".IMAGES_TEMP_TABLE."
WHERE image_id = $image_id
";
$site_db->query($sql);
@unlink($old_media_path);
@unlink($old_thumb_path);
$msg .= "<br><b>".$i.".)</b> ".$lang['image_delete_success'].":";
and insert above:
$image_name = un_htmlspecialchars(trim($HTTP_POST_VARS['image_name_'.$i]));
Finally, I've got two question:
Is it possible to sort the images like this (in the form before the button 'send' is pressed):
- First added/selected image is number 1.)
- Second added/selected image is number 2.)
and not vice versa?
Can you create an automatically generation of the image names of all added images like this:
imagename_001, imagename_002, imagename_003, ...
You should only enter the base name 'imagename' and the numbers are added. Maybe with a checkbox to select this option.
Thanks!
Greetings
PS: Email file 'email/multi_upload_notify.html' is missing...!