Re-implement "Drafts" as normal posts visible only to the poster

https://www.phpbb.com/ideas/
Post Reply
v12mike
Registered User
Posts: 374
Joined: Thu Jul 09, 2015 5:03 pm

Re-implement "Drafts" as normal posts visible only to the poster

Post by v12mike » Thu Sep 12, 2019 3:54 pm

The current system for handling drafts is a bit of a unicorn, and lacks several features that users commonly want, such as BBCode support, attachment support, and probably others that I have not thought of yet.

In my experience, the users who most need to use the drafts facility are creating long, and complicated posts containing tables, attachment and formatting etc. For these posts, the existing drafts system is useless.

My proposal is to completely re-implement the inner workings behind the drafts UI such that drafts are edited in exactly the same way as normal posts, and are saved (as normal posts) with a new visibility flag value that makes them visible only to the user who creates them. This would have similarities to soft delete, but the user (and moderators) would have control of when to convert them to normal posts.
Last edited by v12mike on Thu Sep 12, 2019 6:31 pm, edited 1 time in total.

User avatar
david63
Registered User
Posts: 16540
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Re-implement "Drafts" as normal posts visible only to the poster

Post by david63 » Thu Sep 12, 2019 5:48 pm

Totally agree
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
warmweer
Registered User
Posts: 2741
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

Re: Re-implement "Drafts" as normal posts visible only to the poster

Post by warmweer » Thu Sep 12, 2019 6:06 pm

v12mike wrote:
Thu Sep 12, 2019 3:54 pm
In my experience, the users who most need to use the drafts facility are creating long, and complicated posts containing tables, attachment and formatting etc. For these posts, the existing drafts system is useless.
Which is why with long and complicated posts I try to (if I don't forget) write stuff in a text editor and then copy paste to preview.
And yes, is has happened that I've lost all formatting when saving a draft. I see no reason for a NO vote, nor for not voting, so 12 points (but only 1 yes) from the Belgian jury (I hope the other Belgian juries act similarly, scratch Belgian).
My board's not broken, it just went peculiar

User avatar
AbaddonOrmuz
Registered User
Posts: 690
Joined: Wed Dec 25, 2013 9:06 pm
Location: /dev/null
Name: Alfredo Ramos
Contact:

Re: Re-implement "Drafts" as normal posts visible only to the poster

Post by AbaddonOrmuz » Thu Sep 12, 2019 6:44 pm

This could help with this idea too:

viewtopic.php?f=436&t=2189611

Posts awaiting approval could be set as draft.

Both features seems that would do something very similar.
Some of my phpBB extensions: [ Imgur | SEO Metadata | Markdown ]
Check out all my extensions
Arch Linux user

v12mike
Registered User
Posts: 374
Joined: Thu Jul 09, 2015 5:03 pm

Re: Re-implement "Drafts" as normal posts visible only to the poster

Post by v12mike » Thu Sep 12, 2019 6:48 pm

I had forgotten about draft PMs (never had the need for them), but they should be dropped or reworked in a similar manner.

v12mike
Registered User
Posts: 374
Joined: Thu Jul 09, 2015 5:03 pm

Re: Re-implement "Drafts" as normal posts visible only to the poster

Post by v12mike » Thu Sep 12, 2019 6:52 pm

AbaddonOrmuz wrote:
Thu Sep 12, 2019 6:44 pm
This could help with this idea too:

viewtopic.php?f=436&t=2189611

Posts awaiting approval could be set as draft.

Both features seems that would do something very similar.
Funny that you should mention that, I have just completed coding of that feature (PR at: https://github.com/phpbb/phpbb/pull/5686) and while working on that I realised that a bit more work on the visibility code could also work for draft posts.

Drafts are more complicated (than unapproved posts) because the existing UI needs (in some aspects) to be respected, and existing drafts need to be migrated.

User avatar
Talk19Zehn
Registered User
Posts: 374
Joined: Tue Aug 09, 2011 1:10 pm
Contact:

Re: Re-implement "Drafts" as normal posts visible only to the poster

Post by Talk19Zehn » Fri Sep 13, 2019 8:13 am

Hi, I agree in principle with the basic proposals. +10

BTW: As far as i know ...
Note: The default function in phpBB ===> "... Save drafts..." ---> separates e.g. attachments and they are not included in the drafts, only continued by name! In the personal profile the user can manage drafts, but in this area these attachments from the drafts are not recorded.

In the ACP you will find such attachments as orphaned file attachments. At least it used to be that way. And in my opinion this is even a BUG from my point of view, which you already know from earlier times. The sense and purpose to manage these attachments in drafts in the orphaned file attachments does not open up to me so purely formally
.

Furthermore, it is very useful to revise the area for drafts.

Best Regards
World Meteorological Organization (WMO) Weather - Climate - Water
BTW: My own works - phpBB - read more: ongray-design-de or look here: phpBB VT Theme
Style: Star Trek - StarTrekExcerpts - Fan-Board

User avatar
Toxyy
Registered User
Posts: 699
Joined: Mon Oct 24, 2016 3:22 pm
Location: Namek
Contact:

Re: Re-implement "Drafts" as normal posts visible only to the poster

Post by Toxyy » Mon Oct 14, 2019 3:52 pm

v12mike wrote:
Thu Sep 12, 2019 3:54 pm
such as BBCode support, attachment support
Implemented these on another board myself, not really too difficult. Just some html wrappers IIRC for the bbcode bit.
I am a web developer/administrator, specializing in forums. If you have work you need done or are too lazy to do, pm me!

My extensions:
[3.2][BETA] Anonymous Posts || [3.2][BETA] Sticky Ad || [3.2][RC] Show User Activity ||
[3.2][DEV] User Delete Topics

v12mike
Registered User
Posts: 374
Joined: Thu Jul 09, 2015 5:03 pm

Re: Re-implement "Drafts" as normal posts visible only to the poster

Post by v12mike » Mon Oct 14, 2019 4:14 pm

Toxyy wrote:
Mon Oct 14, 2019 3:52 pm
v12mike wrote:
Thu Sep 12, 2019 3:54 pm
such as BBCode support, attachment support
Implemented these on another board myself, not really too difficult. Just some html wrappers IIRC for the bbcode bit.
Feel free to submit a patch.

Post Reply

Return to “phpBB Ideas”