Ticket #598 (closed defect: fixed)

Opened 1 year ago

Last modified 9 months ago

Upload icons don't match up with allowed upload file types.

Reported by: drmiketemp Assigned to: somebody
Priority: normal Milestone: WPMU 2.0
Component: component1 Version: 2.0
Severity: normal Keywords: media, file, types, upload
Cc:

Description

The four icons at the top right of the editor that allow endusers to upload media do not match up with allowed upload types. For example, if you disallow mp3s, movs and the rest, you still get icons to upload Audio and video. This will create confusion for those endusers who continue to upload disallowed filetypes, get the "Doesn't meet security settings" and wonder why if they see an icon, why isn't it allowed.

Considering how many file types there are on the net, I have to admit that I don't see a way of creating a filter that would check to see what file tpyes are allowed and, therefore, allow which icons to display. Also you may have confusion as to what type of file does with what icon. (ie Which one do you use for *.txt files? Is the mp3 audio or video? etc.)

Maybe four sets of on/off switches in Site Admin -> Options to choose which icons to display?

Change History

04/18/08 20:29:01 changed by drmiketemp

  • summary changed from Upload icons don't match up with upload file types. to Upload icons don't match up with allowed upload file types..

Oops, typo.

04/19/08 07:59:09 changed by donncha

  • status changed from new to closed.
  • resolution set to fixed.

Instead of showing all 4 icons, I added code to only show the "Media" icon. That will avoid problems with file types. Fixed in [1251]

08/13/08 19:07:17 changed by webmaestro

  • keywords set to media, file, types, upload.
  • status changed from closed to reopened.
  • version changed from 1.0 to 2.0.
  • resolution deleted.
  • milestone changed from WPMU 1.0 to WPMU 2.0.

Another option would be to add a 'Limit Media Upload options' checkbox or radio button group to /wp-admin/wpmu-options.php adjacent to the Upload File Types: field, so you can still allow for the additional of the "Add an Image", "Add Video", "Add Audio" and "Add Media" buttons.

Clay

09/22/08 16:44:57 changed by donncha

  • status changed from reopened to closed.
  • resolution set to fixed.

Fixed in [1493] by making the media buttons configurable on the Site Admin options page.