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

1.2 - Editor - Can I manually remove a cached draft post?

Discussion in 'General XenForo Discussion and Feedback' started by CyclingTribe, Jun 3, 2013.

  1. CyclingTribe

    CyclingTribe Well-Known Member

    I created a post that I didn't end up posting, but I'm still getting alerts to the thread and when I check back my draft post is pre-filled into the editor.

    I appreciate it will get auto-pruned in time, but is there any way I can manually remove the cached post?

    Cheers,
    Shaun :D
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Highlight and delete?
     
    HWS likes this.
  3. Lisa

    Lisa Well-Known Member

    I did that and it kept coming back to haunt me :D
     
  4. Mike

    Mike XenForo Developer Staff Member

    What Brogan says is correct. Drafts are only updated once per minute though.
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    It worked for me with Chrome on another thread.

    Which browser are you both using?
     
  6. Lisa

    Lisa Well-Known Member

    Chrome..... it could be I moved before the draft save kicked in... I just spotted it there a couple of times.. deleted it, left.. came back and it was there again. Disappeared since I actually replied to the thread I had the draft in. I figured it was a time-related save so didn't bother reporting it.
     
  7. Chris D

    Chris D XenForo Developer Staff Member

    Is it worth us having a button added to the editor that manually kicks off a draft? Sometimes we might actually be planning to come back to a post later, but need to stop what we're doing without waiting for the auto draft to kick in.

    Also, was there supposed to be a notification that the draft was saved? If so, I've not seen it.
     
  8. AlexT

    AlexT Well-Known Member

    Is or will there be a cronjob removing ancient drafts?
     
  9. Chris D

    Chris D XenForo Developer Staff Member

    There is.
     
  10. Mike

    Mike XenForo Developer Staff Member

    Not currently.

    Yes. They're only kept for 24 hours.
     
  11. Biker

    Biker Well-Known Member

    FireFox 21 on Linux. It doesn't go away when you delete it.

    24 hours? That's going to drive some OCD folks mental.

    Wait. This is stored server side?!!
     
  12. Lisa

    Lisa Well-Known Member

    I've come back three times now and found the draft I'd started back, even though I deleted it and hung around for a little while :D Had to reply just to get rid of it.
     
  13. CyclingTribe

    CyclingTribe Well-Known Member

    Firefox here too ... (y)
     
  14. Brogan

    Brogan XenForo Moderator Staff Member

    Yes.
    There was a discussion about it on the HYS thread.
     
    Jeremy likes this.
  15. Jeremy

    Jeremy XenForo Moderator Staff Member

    Missed the conversation about that in the HYS thread? I remember it being decently long.
     
  16. Biker

    Biker Well-Known Member

    Sorry. I'm not providing server space for lazy individuals to figure out they can use this to compose long posts and come back to it as long as it's under 24 hours.

    This option can be turned off in the ACP, yes?

    I wouldn't expect the HYS threads to be a discussion on whether something is good or not. I look to see what's on tap, and then ignore it, especially when they reach massive proportions as the majority of the posts are nothing more than "great!", "good job!", etc.
     
  17. AlexT

    AlexT Well-Known Member

    Change the cronjob to less than 24 hours. ;)
     
  18. CyclingTribe

    CyclingTribe Well-Known Member

    I think the feature is a very useful one, however previously when you clicked away from a thread your post was gone - pooooof - never to be seen again (which was a good thing if you'd composed a ranting or abusive reply but decide against posting it!!!).

    With a non-purgeable cache though there's potential for that same (I don't really want to post this) draft to be accidentally posted since any reply is added to the draft text.

    If it's possible to add a link to manually purge the cache (and it's not going to be too technical or demanding to do it), then I think it's a good suggestion - but equally turning the feature off or reducing the cron to every 10, 15, 30 mintues might equally do the job too if it proves to become a niggle for our members.

    Just wondered how it worked and whether there was a manual way of purging. (y)
     
  19. Chris D

    Chris D XenForo Developer Staff Member

    It's a cron. Run the cron manually or set it to a higher frequency.
     
  20. CyclingTribe

    CyclingTribe Well-Known Member

    Sure, I appreciate that - but I think it's also useful to discuss how these new features work (technically) and how they might impact on our membership and their use of our sites. (y)
     

Share This Page