Author Topic: Allow users to upload new version of same image?  (Read 2459 times)

0 Members and 1 Guest are viewing this topic.

Offline graficalicus

  • Full Member
  • ***
  • Posts: 235
    • View Profile
Allow users to upload new version of same image?
« on: April 26, 2005, 04:19:31 AM »
I'm looking for a way to allow users to update their images, rather than just uploading a new image. If they make changes or edits to an image and just want to update the already-uploaded one, they can't.

If I (as Admin) click [edit], I have the option of uploading a new image to replace the one there - I can't find the permission line that would allow a user to update their own image -

Maybe somewhere here in member.php:
Code: [Select]
if (!$comment_row || $comment_row['user_id'] <= USER_AWAITING || ($config['user_delete_comments'] != 1 && $user_info['user_level'] != ADMIN && $user_info['user_cat'] != $image_row['cat_id']) || ($user_info['user_id'] != $comment_row['user_id'] && $user_info['user_level'] != ADMIN && $user_info['user_cat'] != $comment_row['cat_id'])) {
    show_error_page($lang['no_permission']);

help, anyone?    :?:   thx....