Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

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
  #72  
Old 05-07-2005, 05:35 PM
j_86 j_86 is offline
 
Join Date: May 2003
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you bothered to look on what is line 416 before posting?

You probably have just hit the ] key when pressing enter when doing the file edits, so go to the line and check.
Reply With Quote
  #73  
Old 05-07-2005, 06:04 PM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Most probably the error is a little before that line.
Reply With Quote
  #74  
Old 05-08-2005, 12:26 AM
uae-style uae-style is offline
 
Join Date: Jan 2005
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanx guys, it was from the stupid dreamweaver.
Reply With Quote
  #75  
Old 05-18-2005, 01:19 AM
BigIke's Avatar
BigIke BigIke is offline
 
Join Date: Aug 2004
Location: Norfolk, VA
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For some reason I get this error when trying to post a new reply:
Quote:
Parse error: parse error, unexpected $ in /homepages/1/d87297472/htdocs/maxruckus/newreply.php on line 715
Line 715 is this:
PHP Code:
?> 
Anyone know what the problem could be?

EDIT: I uploaded a saved copy of newthread.php and edited it, and I fixed the problem. However, now when I post a new reply, I get this message:
Quote:
1. Please complete both the subject and message fields. Press the back button, correct the problem and try again.
2.) The message you have entered is too short. Please lengthen your message to at least 2 characters.
Even though I didn't submit a message, I just clicked the "post a reply" button. Any ideas?
Reply With Quote
  #76  
Old 06-05-2005, 11:27 PM
Exitilus Exitilus is offline
 
Join Date: Jul 2004
Location: Spokane, WA
Posts: 432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by House_of_Crazed
By the way, is anyone having problems with saving drafts in their private messaging system??

My users are reporting that they are having problems.

Warning: implode(): Bad arguments. in /private.php on line 998
Warning: Invalid argument supplied for foreach() in /private.php on line 1031
Warning: Invalid argument supplied for foreach() in /private.php on line 1047

I just checked the edits, and everything is where they should be. lol ...
Anyone have any Idea about this one? The Above was another admin on our site. Still having the same issue :|
Reply With Quote
  #77  
Old 07-29-2005, 12:47 PM
MJM MJM is offline
 
Join Date: Jun 2002
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi sonia,
How's it going with V2?

Any plans for 3.5?

Anyone - How do you find current version working? - Using 3.07

I really need this, or rather, our members are desperate for this.

Hope to hear from somebody soon.

Thanks,

Mark
Reply With Quote
  #78  
Old 08-21-2005, 06:55 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The install info is riddled with errors and unnecessary spaces. For example, the instructions say in the forum edits for newreply.php to:
Quote:
- FIND IN script => newreply.php (1 time)
if ($_POST['do'] == 'postreply')
{
globalize($_POST, array(
'posthash' => STR_NOHTML,
'poststarttime' => STR_NOHTML
));

- REPLACE IN script => newreply.php (1 time)

if ( $_POST['do'] == 'postreply' )
{
if ( ! empty ( $_POST['draft'] ) )
{
$draftperms = draft_perms ( $bbuserinfo['userid'], $bbuserinfo['permissions'], 'newreply', 'post' );

if ( isset ( $draftperms['error'] ) )
{
$draftinfo = draft_errors ( $draftperms['error'], 'newreply' );
eval ( print_standard_error ( $draftinfo['page'] ) );
}
}

globalize ( $_POST, array ( 'posthash' => STR_NOHTML, 'poststarttime' => STR_NOHTML ) );
You can clearly see that
Code:
if ( $_POST['do'] == 'postreply' )
should be
Code:
if ($_POST['do'] == 'postreply')
and the instructions are filled with problems like that.


Can someone provide fixed/correct install info for this hack?
Reply With Quote
  #79  
Old 08-25-2005, 11:20 PM
ambrosious ambrosious is offline
 
Join Date: Jun 2004
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please contact me via email or PM. I would like to hire you to install this on my forum. Love the idea, way too daunting for me.

Thanks!

Ambro
Reply With Quote
  #80  
Old 08-28-2005, 02:30 PM
MThornback MThornback is offline
 
Join Date: Apr 2005
Location: Canada
Posts: 388
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm getting:

#1136 - Column count doesn't match value count at row 1

when I try and add the phrases in the drafts.sql file...i'm using the vb3_ prefix and I already edited all the spots were I should have...

help me!
Reply With Quote
  #81  
Old 12-22-2005, 01:21 AM
jdingman jdingman is offline
 
Join Date: Jul 2005
Location: Canada
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When will this be updated for 3.5.x? I'm looking for something exactly like this...
Reply With Quote
Reply

Thread Tools

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 01:24 AM.


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.06381 seconds
  • Memory Usage 2,313KB
  • 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
  • (2)bbcode_code
  • (1)bbcode_php
  • (4)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