Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Save Drafts (Remember Everything) Updated! Details »»
Save Drafts (Remember Everything) Updated!
Version: 1.00, by why-not why-not is offline
Developer Last Online: Jun 2007 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 03-06-2005 Last Update: 03-11-2005 Installs: 25
DB Changes
 
No support by the author.

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!!!


Overview...

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!

Controls...

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!


http://forum.ya-right.com/

user: test
pass: test

ANY UPDATES OR FIXES ARE LISTED IN THE FIRST REPLY OF THIS THREAD


Other news

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)

https://vborg.vbsupport.ru/showthrea...d=1#post628547


That's it...

Sonia

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 03-10-2005, 02:01 AM
OrangeFlea OrangeFlea is offline
 
Join Date: Aug 2004
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you, or anyone else here, provide step-by-step instructions on how to "load 'drafts.sql' into my forums database"? from the phpmyadmin area or admincp?
Reply With Quote
  #33  
Old 03-10-2005, 02:25 AM
why-not why-not is offline
 
Join Date: Feb 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

Does your database use a table prefix?

Look in your ./includes/config.php file!

FIND THIS

Code:
// Prefix that your vBulletin tables have in the database.
// For example: $tableprefix = 'vb3_';
$tableprefix = '';

Post back what this line from your file, then we will go from there!

Code:
$tableprefix = '';

Sonia
Reply With Quote
  #34  
Old 03-10-2005, 08:23 AM
OrangeFlea OrangeFlea is offline
 
Join Date: Aug 2004
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, I found it:

Code:
// Prefix that your vBulletin tables have in the database.

// For example: $tableprefix = 'vb3_';

$tableprefix = '';



// Prefix that all vBulletin cookies will have

// For example

$cookieprefix = 'bb';
Reply With Quote
  #35  
Old 03-10-2005, 09:05 AM
Neutral Singh's Avatar
Neutral Singh Neutral Singh is offline
 
Join Date: Sep 2004
Location: Sikh Philosophy Network
Posts: 545
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, very important hack indeed ** Click Install **

I have one issue... just installed it... it shows the following error :

I have this option enable for admin only for testing...

when i click Save Draft button

it takes me to the following page:
but then returns the following error:
Quote:
Fatal error: Call to undefined function: draft_folders() in profile.php at some line.
Please guide me.

Thanks
Reply With Quote
  #36  
Old 03-10-2005, 11:15 AM
why-not why-not is offline
 
Join Date: Feb 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

Sorry, that was my fault. I updated my (version control system), when I had checked out (/save_drafts_1/edits/forum/profile.txt), so when I checked it back into the system, it did not know I had made changes!

Anyway...

I updated the zip file to fix this not being added to the install!


Just do this!


FIND THIS script => profile.php
Code:
require_once('./includes/functions_register.php');
- REPLACE WITH script => profile.php
Code:
require_once('./includes/functions_register.php');
include_once ( './includes/functions_drafts.php' );

Again I am sorry for this over sight!

Sonia
Reply With Quote
  #37  
Old 03-11-2005, 12:03 AM
OrangeFlea OrangeFlea is offline
 
Join Date: Aug 2004
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The zip doesn't work. I just tried to download it.

EDIT: Works now.

In the instructions, I find this list of directories to where the changes are made:

1. database (mysql folder)
2. language (language folder)
3. templates (template folder)
4. edits (edits folder)
4 A. admin
4 B. includes
4 C. Forum

How do I load the sql file into the forum's database? Step-by-step instructions would be nice.
Reply With Quote
  #38  
Old 03-11-2005, 05:52 AM
Neutral Singh's Avatar
Neutral Singh Neutral Singh is offline
 
Join Date: Sep 2004
Location: Sikh Philosophy Network
Posts: 545
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Again I am sorry for this over sight!

Sonia
Oh Common, no need for sorry, Sonia. Kudos !! This is simply an incredible facility for my members and works like a charm !!

Thanks a lot !!

** Aman, gladly clicks install 100 times **
Reply With Quote
  #39  
Old 03-11-2005, 05:58 AM
Neutral Singh's Avatar
Neutral Singh Neutral Singh is offline
 
Join Date: Sep 2004
Location: Sikh Philosophy Network
Posts: 545
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Rated 5 ***** z
Reply With Quote
  #40  
Old 03-12-2005, 12:17 AM
OrangeFlea OrangeFlea is offline
 
Join Date: Aug 2004
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't have a folder called "mysql". Do you mean /forum ?
Reply With Quote
  #41  
Old 03-12-2005, 01:05 AM
why-not why-not is offline
 
Join Date: Feb 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi OrangeFlea

If you tell me what you having trouble with, I can try to help. The zip file just contains the things you must do to install this mod! There is no refrence to (MySQL) being a directory on your forum, it is just place holder that tells you the files contained with in that directory, are related to MySQL!

To install the database table for the drafts system and to add phrases and default permissions you must load the file contained in the directory (MySQL) into your database!

To do this follow the directions in the readme file in that directory! After you have done exactly what the readme file (install.txt) says to do, you will need to copy the content of that file and use (phpmyadmin) and place the contents in the SQL text window then run the update! You may also use the upload option, click on 'SQL' and look at the bottom of that page, you will see a 'browse button', click on that to locate the 'drafts.sql' file on your system, after, click 'Go' (make sure *Compression* radio button is selected 'NO")!

If this is not what you are needing, then please explain what you are needing!

Sonia
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 08:09 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04606 seconds
  • Memory Usage 2,315KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete