Follow vBSEO on Twitter
vBulletin Modifications
  • Forums
  • Add-Ons
  • Template Modifications
  • Styles
  • Graphics
  • Tutorials
  • Support Center
  • Register
  • vBulletin SEO

Member Log In

Site Navigation

  • Register
  • Members List
  • Social Groups
  • Search
  • Today's Posts
  • Mark Forums Read

Latest Modifications

  • [vB 3.6.x] StopSpam
    By: flappi282
  • [vB 3.8.x] vBulletin Chat Addon for...
    By: 123flashchat
  • [vB 3.5.x] 404 Page Redirect To...
    By: Ak Worm
  • [vB 3.8.x] 404 Page Redirect To...
    By: Ak Worm
  • [vB 4.0.x] 404 Page Redirect To...
    By: Ak Worm

Latest Template Mods

  • [vB 3.8.4] Images PassWordBox...
    By: cRs!MP
  • [vB 3.8.4] Footer Follow Ups
    By: Ak Worm
  • [vB 3.7.2] Worldofwarcraft blue...
    By: Mikeyodesigns
  • [vB 3.7.0] My Links
    By: blind-eddie
  • [vB 3.7.0] Pop-Up Warning Before...
    By: Thelonius Beck

Latest Styles

  • [vB 3.8.4] CompletevB - Skylight
    By: DreadKnight
  • [vB 3.8.3] [vB 3.8.4] Barcelona...
    By: hoiquantinhoc.com
  • [vB 3.8.3] Natures Walk by vBSkin...
    By: Chri5
  • [vB 3.8.3] Green Theme
    By: Robdog
  • [vB 3.8.2] Unreal T 3 - vB3.8.x
    By: Butcher

Latest Graphics

  • [vB ] [anim.]Team Ranks
    By: cRs!MP
  • [vB ] Abstract Circles (3...
    By: cRs!MP
  • [vB ] PlayStation Rank Images
    By: cRs!MP
  • [vB 3.6.12] Heavy Stroked Button...
    By: Shelley
  • [vB ] Minature Ranks.
    By: Shelley
vBulletin Modifications » vBulletin Modifications » vBulletin 3.5 / 3.6 Hack Releases » Major Additions - vB Save Drafts for vB (3.6.[5,6,7]) & PL1
Reply

 

  • Thread Tools
Download Options
You Must Register First
To Download This Modification

Report A Bug
Bugs
No bugs found in the system. If you have found a bug, please report a bug here
Submit A Bug | View All Bugs
  
Not Supported
[vB 3.6.7] Major Additions - vB Save Drafts for vB (3.6.[5,6,7]) & PL1 (55)
Released: 06-08-2007, 08:00 PM
Modification Information: Version: 2.0.124
Author: xyz
Last Online: 06-12-2007
Installer Included: 0 Additional queries added to database: 0 Template Edits: 5
File Edits: 9 New Files: 3 New Phrases: 145

Code Hack
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



Screenshots
Screenshots
File Type: png ajax_draft_permissions.png (55.7 KB, 156 views)
File Type: png admin_over_view.png (18.6 KB, 188 views)



Old 06-12-2007, 05:36 PM   #2
Lionel
vB Newbie

Activity Longevity
0/20 19/20
Today Posts
0/3 sssssss21
Location: Miami
Lionel is on a distinguished road
Status: Offline Default
in both version we are missing the function drafts_check and that throws an error in preview newthread
Reply With Quote Installed
Old 06-12-2007, 05:53 PM   #3
Lionel
vB Newbie

Activity Longevity
0/20 19/20
Today Posts
0/3 sssssss21
Location: Miami
Lionel is on a distinguished road
Status: Offline Default
Actually in newthread and newreply there was a typo the function should be draft_check and not drafts_check
Reply With Quote Installed
Old 06-13-2007, 03:31 AM   #4
CMGU
vB Newbie

Activity Longevity
0/20 10/20
Today Posts
0/3 sssssss37
CMGU is on a distinguished road
Status: Offline Default
missing the function drafts_check
Reply With Quote Installed
Old 07-30-2007, 07:45 PM   #5
Junkie
vB Newbie

Activity Longevity
0/20 12/20
Today Posts
0/3 ssssssss2
Junkie is on a distinguished road
Status: Offline Default
Am I supposed to replace every instance of 'xx_prefix_' in the drafts sql file with my table prefix, for instance 'vb_prefix_'. Also, how do I load 'drafts.sql' into my forums database?
Reply With Quote Installed
Old 07-30-2007, 10:01 PM   #6
Junkie
vB Newbie

Activity Longevity
0/20 12/20
Today Posts
0/3 ssssssss2
Junkie is on a distinguished road
Status: Offline Default
I think I have this working now. The only problem I have encountered so far is when I save Draft Permissions I get this error:

Warning: main(/home/mydatabase/public_html/forums./includes/functions_databuild.php) [function.main]: failed to open stream: No such file or directory in /admincp/drafts.php on line 87

Fatal error: main() [function.require]: Failed opening required '/home/mydatabase/public_html/forums./includes/functions_databuild.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/fantasyf/public_html/gforums/admincp/drafts.php on line 87
Reply With Quote Installed
Old 10-28-2007, 08:27 PM   #7
Lionel
vB Newbie

Activity Longevity
0/20 19/20
Today Posts
0/3 sssssss21
Location: Miami
Lionel is on a distinguished road
Status: Offline Default
you have a "dot" that doesn't belong
/forums./incl
Reply With Quote Installed
Old 10-28-2007, 10:43 PM   #8
EyeBall
vB Newbie

Activity Longevity
0/20 9/20
Today Posts
0/3 sssssss10
EyeBall is on a distinguished road
Status: Offline Default
seems to be good mod, i hope i face no errors. will try it

Last edited by EyeBall; 10-29-2007 at 09:42 PM.
Reply With Quote Installed
Old 11-23-2007, 11:13 AM   #9
alsb0r
Junior Member

Activity Longevity
0/20 13/20
Today Posts
0/3 ssssssss1
alsb0r is on a distinguished road
Status: Offline Default
Quote:
Originally Posted by EyeBall View Post
seems to be good mod, i hope i face no errors. will try it
same him solw ????????
Reply With Quote Installed

Reply

« AdminCP home page mod | vbArticles »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Rules



All times are GMT. The time now is 02:48 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Transverse Styles
  • Top
  • Archive
  • vBSEO
  • Contact Us
LinkBack
LinkBack URL LinkBack URL
About LinkBacks About LinkBacks
Bookmark & Share
Digg this Thread! Digg this Thread!
Add Thread to del.icio.us Add Thread to del.icio.us
Bookmark in Technorati Bookmark in Technorati
Furl this Thread! Furl this Thread!