After losing my post doing a preview last night I have start all over again, (a good reason for the draft system)
This is a complete rewrite of my old mod for 3.0.7
In this version, draft permissions have been given it's on admin panel. After listening to my clients I found they like it more this way.
About
The draft system allows for members to save messages and attachments when creating a new topic, reply or pm. If you can't finish posting because you need to do other important things you can just save the message and attachments and all your form settings. Then after, all you do is load the draft from your draft folder to continue editing it!
The draft system can be controlled by user groups or per user. It also controls permissions based on posting type (new topics, replies, pms). This allows you to turn on or off part of the system while allowing another part to run in normal mode.
You can even setup a rewards program and give draft permissions to users that have earned that benefit! If for nothing else, it will give your members another nice options that lets them have more control of their posting options while allowing you the administrator to not worry about the draft system becoming pain to manage, because you the administrator are given tools to manage the system with ease.
Inner Workings
1. Supports attachments (db, file) based
Will automatically switch modes based on the current storage type!
2. No extra query on the front end.
When a draft is set to be stored, the original (2) post queries are not used, and the draft system will run (1) or (2) queries, depending on the type (pm = 1, reply = 1, new topic = 1 with no attachments, 2 with attachments)! Draft permissions are also loaded with the cached permissions, so no query is added to load the draft permissions! Draft permissions are killed off if the current request does not contain a request that needs them.
3. Permissions are based on type (topic, reply, pm)
Each type can have a different set of permissions.
example
Code:
Can Save Drafts When Creating A New Post (Yes No)
Delete All New Post Draft Messages For This Group. (Yes No)
Can Save Attachments When Saving A New Post Draft (Yes No)
Allow Users To Override Group Settings (Yes No)
Display New Post Attachments Icons (Yes No)
Use The Original New Post Date (Yes No)
The Maximum New Post Title Length (###)
New Post Draft Folder Size (###)
Maximum New Post Results Per Page (###)
Screen Shots (admin)
gateway.png
This is the drafts gateway, it gives access to all options relating to the draft system
permissions.png
This is a view on the permissions windows, each permission is very well explained in each help topic.
stats.png
This is a view of the stats overview window, it gives you a simple run down of each folder and the over all usages!
Also access to each folder (type) can be accessed through the stats window.
folder.png
This shows you the folder view, so you can monitor the group, or a certain user, even advanced sorting and deleting options can be used in the folder window!
nav.png
This shows you where the drafts nav link will be hidden after the install
forum_folder.png
This show's a draft folder with (show attachment icons) on
user.png
This shows where the user (over-ride group) switches are in the user panel, at the bottom right
NOTES::
I will install this for anyone who needs it installed. Just PM me to discuss it! Any other questions just ask!
Save Drafts for vB 3.6.* will be released in a few days! After I have some skins to release
UPDATE
Added the control to reindex drafts when the Admin (KILLS) a user group! If you installed before July 30, 2006 9:45 AM EST, then just download the simple (update.zip) to add this option! Also the main install (drafts.zip) has been updated to add this option! It's just one new script edit!
Take Care
Sonia