The Official vBulletin Modifications Site
My Save Drafts Version 1
Supports: vB 3.0./1/2/3/4/5/6/7 TESTED
MySQL support for Version 4 or higher and now full support for MySQL version 3* to!!!
The *Save Draft Sub System* is designed to allow members to save (New Posts, New Replies, New PMs) as a draft! This allows for saving a message that you might not be able to finish at the present time, but want to not lose that message!
The *Save Draft System* does more than just *save the message*...
1. Save Message
2. Remembers all form options (icons, subscriptions, disabled this or enabled that)
3. Allows for saving Attachments
4. Allows for unlimited (edits) before posting or sending message
5. Remembers (topic, post, forum you are replying to)
6. UserCP, folder views (lists messages with easy controls to manage all drafts)
Save Drafts Controls (Forum Display)
Save draft controls "Save Draft" and "Folder Views" are only visible to members that have permission to use that control! If a member has saved his/her maximum allowed drafts for a certain folder, then that control is closed. They will not be able access it.
Save Drafts Controls (Admin Display)
Because the Save Draft System, is based not only group permissions, you can limit what groups can do! One group can save all types of messages (new Post, New Replies and New PMs) while the other can only save maybe (New PMs). The control extends it's self the same way for saving (Attachments).
Instead of making a Admin Panel that would very complicated due the nature of multi permissions, I have made the admin panel simple to use, but even with the simplity of the control, the combinations that the control gives you, offers you many options with simple ease of use as it's design logic was intended!
Turn the draft system on per folder (New Posts, New Replies, New PMs) per group
Turn the draft system off per folder (New Posts, New Replies, New PMs) per group
On shut down per folder, do what? ( soft shut down [no delete], hard shut down [full delete]) per group
Allow for saving attachment per folder (New Posts, New Replies, New PMs) per group
Allow for setting a message storage limit per folder (New Posts, New Replies, New PMs) per group [unlimited = 0, ### = maximum message saves allowed]
Allow for original draft date for posting the message! (this is for mods, admins only, should always be set to (no)) (part of the extended panel V2)
This is a difficult mod to install, if you don't feel comfible editing scripts. I will install it for anyone that asks me to! Have any questions just ask!
See attachments for different views, also demo is here!
ANY UPDATES OR FIXES ARE LISTED IN THE FIRST REPLY OF THIS THREAD
1. Next update will include a full Admin Panel page for the draft system ( stats, user manager [over-ride group control]) many options! (implementing)
2. Next update will include import / export feature (done XML/zip) (export all/selected/attachments)
3. Next update will include full support for quick reply! (done, testing now) Also allow for attachments (option)
4. next update will include a user option to save draft as... (done, testing now)
5. Next update will include, automaticly reassigning a reply draft when a topic has been moved or deleted (implementing)
5 A. If moved the draft will be set to the new thread that the post was moved to! (done, testing now)
5 B. If the post or topic were deleted then the reply draft will be reassigned to the new draft folder! (implementing)
VERSION (2) INFO (release March 22 4:00PM EST)
UPDATE AND FIXES: Save Drafts
Note: Update Times are quoted using 'EST -5 GMT)
start Update  (if downloaded zip before 1:19 AM March 9, 2005)
Update Type: Improve System
1. Made (2) versions of the functions_drafts.php file (mySQL Version 3, Mysql Version 4)
2. Cleaned up all the typo(s) in both files!
3. Did away with a few queries!
4. Greatly improved the code flow in functions_drafts.php file
5. fixed the negative error when a negative value is passed as a next page id!
6. Added column sorting on ( last edit time, post title / post message)
7. Added sorting into the navigation, so prev/next page follows the column sorting!
8. updated the zip file (added mySQL Version 3 and Mysql Version 4 specific functions_drafts.php) files!
Upgrading from Save Drafts Version (1) Mysql Version 4 (use this link!)
Update is very simple, will take less than a minute of your time...
MYSQL VERSION 4 OR HIGHER ONLY
Upgrading from Save Drafts Version (1) Mysql Version 3 (use this link!)
Same as above, very simple to update, will take less than a minute of your time...
MYSQL VERSION 3*
end Update  (if downloaded zip before 1:19 AM March 9, 2005)
start Update  (if downloaded zip before 1:15 PM March 10, 2005)
Update Type: Install Missing needed (Find & Replace)
Thanks (amanpartaps) for finding this!!!
Fixed: Missing a include file() in the install Find & Replace (profile.txt)
You can find the fix for it here!
Also updated the zip file to reflect this, sorry for not seeing this!
end Update  (if downloaded zip before 1:15 PM March 10, 2005)
start Update  (if downloaded zip before 8:44 AM March 12, 2005)
Update Type: Code (Fix)
Problem: PM (over limit) permission not working, using 'new post' permission instead!
You will find the fix here
Also updated the zip file to apply this change to the installer!
end Update  (if downloaded zip before 8:44 AM March 12, 2005)
Does this work for VB 3.07? I hope it does.
PS: What spell checker do you use on your site?
Auto correct (correct common word errors) ( over 4 million auto correct words 23 languages)
smart suggestions (learns how you type)
offers you suggestions based on how you type, the more you use it the better it get at learning your style writing!
It's just one of the many PHP extensions I have designed!
Here is another one my projects!
Translation ( a translation server written as a PHP extension, uses the same dictionaries as the spell checker)
Awesome!! Will install this tonight!
There will be an upgrade installer from v1 to v2 by the way right? :)
full install, and upgrade step by step how to! Version (1) to Version (2) will only be (2) template edits, and (1) script edit (newreply) to support quick reply and then you only need to change the new (functions_drafts.php) file that will contain all the the logic!
Version (1) contains all the function calls that version (2) will plugin into! Making the upgrade very easy. In other words, version (2) gateway has been bulit into version (1)!
This is excellant, well done.
Thank you for doing this!
I am using version 3.07 and I can't find in newreply:
I managed to install. But when I submit, it takes me to a blank page profile.php?do=drafts&folder=newpost
I looked in db, draft was there. I have the 2 new templates drafts_display and the bits. I triple checked the changes in profile php, the draft page simply will not display. Any idea please?
Very nice mod, I will be installing this when I get home :)
/me clicks install
It would be nice if you wrote an addon to integrate with the PM attachments mod too :)
A blank page usually means a missing template.
I know. Thanks. I only have 2 new templates drafts_display and drafts_row_bit and both are in there.
I get a mysql error when I try to increase the draft folder in usergroup. When I put a dollar in front of manage_drafts, I don't get it, but nothing happens.
|All times are GMT. The time now is 14:17.|
Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright ©2001 - , vbulletin.org. All rights reserved.