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

https://www.phpbb.com/ideas/
User avatar
3Di
Former Team Member
Posts: 14389
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

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

Post by 3Di » Fri Oct 25, 2019 8:05 am

Well, I am not at my PC but you could also use the class="rules" for a light red background.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
✒️ Black Friday 2019 @ The Studio ▪️◾️

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

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

Post by v12mike » Fri Oct 25, 2019 8:44 pm

I have just updated the demo site ( http://xmv6.uk/new_drafts_demo1/ ) to have "Load Drafts" buttons next to the "New Topic" and "Post reply" buttons. On the viewforum page the new button loads all of the current user's drafts in that forum, and on the viewtopic page, the button loads all of the current user's drafts in that topic.

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

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

Post by v12mike » Tue Oct 29, 2019 5:44 pm

I have updated the demo site with code that re-implements PM drafts. It was actually easier than post drafts because the PM system already has folders and most of the necessary elements in the style templates.

remember that this is currently prototype code, and there is scope for improvement.

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

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

Post by v12mike » Sun Nov 03, 2019 9:45 pm

I updated the demo site http://xmv6.uk/new_drafts_demo1 with some improvements to the UI for navigating draft posts and PMs, there are now buttons for editing or deleting drafts on the draft search results page and the PMs draft box.

I think that the feature is now more or less complete from a functional point of view (subject to feedback). There is still behind the scenes work to be done before it is ready for submission.

User avatar
3Di
Former Team Member
Posts: 14389
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

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

Post by 3Di » Tue Nov 05, 2019 1:03 am

v12mike wrote:
Fri Oct 25, 2019 8:00 am
I just tested this with some unapproved posts, and (using prosilver) I don't see this red background. Can you give an example of how to show it?
Sorry I was meant to say reported posts - just report a post and you will see.
2019-11-05 02_00_55-(1) test - 328-emoji.png
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
✒️ Black Friday 2019 @ The Studio ▪️◾️

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

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

Post by v12mike » Wed Nov 06, 2019 7:14 pm

OK that makes more sense.

I have however now changed the user interface so that drafts and non-draft messages don't appear on the same page, so the background differentiation seems less beneficial.

The demo site was broken for a couple of days after a minor mishap while editing, no back on-line.

Post Reply

Return to “phpBB Ideas”