1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

MG 1.1 Soft Deleted Media

Discussion in 'Media Gallery Support' started by PASS, Dec 22, 2015.

  1. PASS

    PASS Active Member

    Is there a way to quickly find all soft deleted media so I can hard delete items to regain disk space?
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    You would have to look in the database, in the xengallery_media table for items with a media_state of deleted.
     
  3. PASS

    PASS Active Member

    Oh! Thumbs down for that. ;) Time to make a feature or resource request then. @AndyB has a nice Show Deleted addon for soft deleted threads and posts that I use. Wonder how hard it would be to include media too.
     
    51463 likes this.
  4. PASS

    PASS Active Member

    Has this been addressed yet without having to mess directly with the database? I have a bunch of soft deleted media wasting disk space which can't be viewed anyway. There is no point in having it around.

    There should be a setting that allows the user to hard delete their images in the media gallery.
     
  5. Chris D

    Chris D XenForo Developer Staff Member

    No changes to report here.

    You can identify soft deleted media in the gallery if you have permission to view it and then hard delete them using inline moderation.
     
  6. PASS

    PASS Active Member

    How can I identify the soft deleted media without having to sort through 500+ pages?
     
  7. Chris D

    Chris D XenForo Developer Staff Member

    Well, you have to go through it page by page, but to make it easier you could increase the number per page to a higher amount in options. The faded items are the ones that are deleted. Inline moderation works over multiple pages.

    Still a bit of manual work but do-able and worth it if the disk space usage is that significant.
     

Share This Page