BuddyDev

Search

[Resolved] Orphan Media

  • Participant
    Level: Initiated
    Posts: 10
    Minoo on #3004

    Hello Brajesh,

    Can you tell me please how and when an orphan media is supposed to be deleted when the option to delete it is tuned on in the settings ?

    I have a lot of them and there are not automatically deleted.

    Also can you tell me if there is a roadmap for a root gallery ?

    Thank you !

  • Keymaster
    (BuddyDev Team)
    Posts: 21520
    Brajesh Singh on #3007

    Hi Minoo,
    The orphan media deletion option is not active at the moment. we will be pushing some update in future to allow deletion. The option is there, not the actual code to delete it.

    The root Gallery is already there. Please visit MediaPress->settings and enable Sitewide Gallery. If you want your user to be able to create root gallery, please use [mpp-create-gallery] and it will allow users to create root galleries.

    Hope that helps.

  • Participant
    Level: Initiated
    Posts: 10
    Minoo on #3010

    Thank you very much for your answer 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 21520
    Brajesh Singh on #3011

    Hi Minoo,
    Just wanted to update. I have added the functionality to delete orphaned media now. testing at the moment and will be pushing in an hour to the development repo.

  • Keymaster
    (BuddyDev Team)
    Posts: 21520
    Brajesh Singh on #3014

    Hi Minoo,
    Just committed the auto deletion of orphaned media using cron job.
    https://github.com/buddydev/mediapress/commit/efb2e0495b014e898047cf27e9b2e55e02ff06bb
    Marking this topic as resolved.

    It will be available as part of MediaPress 1.0.4 (Hopefully coming very soon).

    Thank you
    Brajesh

You must be logged in to reply to this topic.

This topic is: resolved