vB Save Drafts for vB (3.6.[5,6,7]) & PL1
Version
Save Drafts 2.0.124
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.
Other Notes
Besides updating this for vBulletin 3.6.*, I have also added a complete rewrite of the administrator logic, it's very fast even on the biggest of boards. I also updated $variable handling in all functions because PHP does not free allocated memory for $variables within functions unless they are
unset(), so now every variable within functions not being used is removed.
AJAX SUPPORT (Auto Save)
From the many emails I've gotten many have asked about adding a auto save feature. Others have asked me not to include it, so I have created (2) versions, (1) with the auto save feature and the other without it! I am only releasing the one without here. But you can freely email me and I will gladly send you a copy of the AJAX supported version.
The reason why I didn't combine them because there is a big difference in the back end (the (3) new save draft scripts), the templates are the same, the only other changes have to do with adding a single JavaScript file called vbulletin_drafts.js, which is the event listener for the Save Draft System!
Like I said if you want the AJAX version, just email me, you will find my email in the main folder
read.txt file...
If you need this installed, then email or PM me and I will happy to do it for you, it only takes me a few minutes to install it...
Screens are below...
Instead of uploading more screens, please see this post for screens of the Save Draft System.
Save Drafts V2, vB3.5.4 (remembers everything)
I have attached (2) screens to this post because it shows the AJAX permissions, and the new over view window, that allows the administrator to view user saved draft messages or attachments!
ajax_draft_permissions.png
Shows the Draft permissions panel with the new AJAX auto save option
admin_over_view.png
Show the popup window where the administrator can view members draft folders and get detailed information about the Save Draft System (ie: message, attaches, total size) the Save Draft System is using, plus you can manage all drafts from there.
June 12, 2007, 6:28 PM EST
Fixed the typo(s) for the function call drafts_check => draft_check
Thanks for the report, Lionel
Next I won't rename functions when converting stuff without checking those things!
Later
Sonia