Drafts

Is there any way to delete draft posts (which are saved automatically)?
I can't locate delete button.

Best Answer

Answers

  • madbilly
    madbilly Super User
    Good question! I can't find that button either...
  • naufrago
    naufrago ✭✭✭✭
    edited November 2018
    I dig into the matter and I think it's a matter of configuration as discussed on Vanilla Forums.

    For the moment, users have only right to edit own comments, and only within the first hour. After one hour, it remains forever unless deleted by forum moderators.

    https://open.vanillaforums.com/discussion/36051
    https://open.vanillaforums.com/discussion/comment/161632
  • madbilly
    madbilly Super User
    The only way I can find to remove those "stuck" drafts is to actually use them to post another comment to a discussion - a good excuse for socialising!
  • navs
    navs ✭✭✭
    As of now there is no way to delete drafts through the web or mobile app.
    Hope to see it available soon. @arttuaa please look into this.
  • Still we don't have delete button for draft.
  • wyk
    wyk ✭✭✭✭
    & no options to view who is behind the reaction in mobile mode... While its easy with computer.
  • naufrago
    naufrago ✭✭✭✭
    wyk said:
    & no options to view who is behind the reaction in mobile mode... While its easy with computer.
    Mobile mode lacks a lot features and existing features are buggy. As it is a paid service, Vanilla must deal with all of those bugs 
  • madbilly
    madbilly Super User
    Good point about the mobile mode features. I've not had chance to look, is there a dedicated discussion on this? If so it could be good to start one...
  • naufrago
    naufrago ✭✭✭✭
    edited December 2018
    I found the way to remove drafts in the browser. You need to open page source code from the browser context menu (RMB in Firefox for example). And then looking for string like this:
    /vanilla/drafts/delete/*****/*many_random_letters*?Target=drafts
    and click on that link right in the source window. This action will remove on of your drafts

    Work fine for me!

    P.S. For some reason element that should remove draft is hidden by default due css-styles conflict. So you can edit that styles to making the "X" at the every draft visible.
    Thank @alexium 67

    I do like digging in codes, but didn't think of this :) 
    Good catch!

  • nitheesh
    nitheesh ✭✭✭✭
    edited December 2018
    They are set to display as none for the delete button using CSS


    And also need to set the Delete link z-index as 1, otherwise, you can't able to click the delete button

    Or you can directly click on the link from the page source code (@alexium 67 was explained very well, please check the above comment).

    Note @HMD_Laura, If you guys are disabled this for any security reasons, then please remove the link from the source code. otherwise, anyone can delete the draft using the developer tools or from page source code.
  • nitheesh said:
    They are set to display as none for the delete button using CSS


    And also need to set the Delete link z-index as 1, otherwise, you can't able to click the delete button

    Or you can directly click on the link from the page source code (@alexium 67 was explained very well, please check the above comment).

    Note @HMD_Laura, If you guys are disabled this for any security reasons, then please remove the link from the source code. otherwise, anyone can delete the draft using the developer tools or from page source code.
    Woow... it's work for me... Thanks @nitheesh and  @"alexium 67"
  • Great!!! it's work for me...  :)

    Thanks @alexium 67 and @nitheesh
  • nitheesh said:
    They are set to display as none for the delete button using CSS


    And also need to set the Delete link z-index as 1, otherwise, you can't able to click the delete button

    Or you can directly click on the link from the page source code (@alexium 67 was explained very well, please check the above comment).

    Note @HMD_Laura, If you guys are disabled this for any security reasons, then please remove the link from the source code. otherwise, anyone can delete the draft using the developer tools or from page source code.
    Woow... it's work for me... Thanks @nitheesh and @"alexium 67"
  • madbilly
    madbilly Super User
    Thanks @alexium 67 and @nitheesh for investigating and sharing the solutions.

    @arttuaa may be able to fix this?