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
  #42  
Old 03-12-2005, 01:37 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:
Originally Posted by OrangeFlea
Sir, I'm having a hard time figuring out the instructions. For example:

Quote:
Save and Close 'drafts.sql', you now can load 'drafts.sql' into your forums database
Load it where exactly? In a specific folder? In my forum's folder? Can you assist?
Hi, sure, i would love to assist you.

I assume that you are using cpanel for maintaing your webhosting account. Please following the steps carefully.

1. Please loginto your cpanel account.

2. Go to My Sql database maintenance.

3. Towards the bottom click "phpmyadmin" link.

4. You will be shown the databases that you are using to run your website.

5. Now select the database where you have installed your forums.

6. In the right hand side. you will see a tab called SQL.

7. Click on it and it will ask to cut and paste the contents of drafts.sql OR you can simply provide the path to draft.sql in the relevant option just below the above cut-paste screen.

8. After pasting or selecting, click GO buttom and you are done as far as drafts.sql part is concerned.

Enjoy !!

PS: I am posting this message in the relevant thread so that other learned people can guide you even better. Regards
Reply With Quote
  #43  
Old 03-12-2005, 02:24 AM
OrangeFlea OrangeFlea is offline
 
Join Date: Aug 2004
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome, thanks!

One question, when modifying the pmnew_pm template, your instructions ask to look for:

<input type="submit" class="button" value="$vbphrase[preview_post]" accesskey="p" name="preview" tabindex="1" onclick="this.form.dopreview = true; return true;" />

but all I have in there is:

<input type="submit" class="button" value="$vbphrase[preview_message]" accesskey="p" name="preview" tabindex="1" onclick="this.form.dopreview = true; return true;" />

Same thing?
Reply With Quote
  #44  
Old 03-12-2005, 03:06 AM
why-not why-not is offline
 
Join Date: Feb 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

Yes it is the same thing, (button wise. The only thing that is different is the $vbphrase, yours uses 'preview_message', my example (install example) uses 'preview_post'! So both are the same but what the button will display!


So yes do the Find and Replace based on your button!

Like so

Find => in 'pm_newpm'

Code:
 <input type="submit" class="button" value="$vbphrase[preview_message]" accesskey="p" name="preview" tabindex="1" onclick="this.form.dopreview = true; return true;" />
Replace with => in 'pm_newpm'

Code:
 <input type="submit" class="button" value="$vbphrase[preview_message]" accesskey="p" name="preview" tabindex="1" onclick="this.form.dopreview = true; return true;" /> <if condition="$permissions[newpmdrafts]!=0"><input type="submit" class="button" name="draft" value="$vbphrase[save_draft]" /></if>

C, ya...

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

Sonia,

Hi! I installed everything, but I can't see the save draft button on my replies. I'm logged on as admin (where it's on by default) but there's nothing there. Heeeeeelllllpppp!!!!
Reply With Quote
  #46  
Old 03-12-2005, 10:38 AM
why-not why-not is offline
 
Join Date: Feb 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<i>Hi! I installed everything, but I can't see the save draft button on my replies. I'm logged on as admin (where it's on by default) but there's nothing there. Heeeeeelllllpppp!!!!</i>

Hi

What I mean in the install is that Admin permissions are setup to allow for full access to the Draft System. But even admin permissions are not loaded into the vB cache by default so read below to update the vB permissions cache! This is explained in the file 'after_install.txt', but I guess I did not explain it very well. I will update that file now!

Go to 'usergroups' and reload the groups so that the new permissions are added to the vBulletin permission cache! vBulletin uses a cache on permissions!

Follow me...

Go to >> Admin Panel!

Left menu >> click on 'Usergroups', Usergroups opens!!

click on 'Usergroup Manager', Usergroup Manager opens!!

now click on the 'Go' button for group 'Administrators'

User Group Manager (user group 6 => Administrators) opens!

Go all the way to the bottom of that page and find the button 'Update'

Click on that 'button => Update' to reload the permissions cache!

After everything will be shown on your forum for the Administrator group!

Today I am writing a full detailed help file that will list all the settings
and will give examples of setting up different groups with different
access right, please check back later for that. It will help you better
to understand what each option does!

The user group permissions (Help) already have details about each option
and what it does in relationship to other options in the Save Drafts
permissions group! But many have asked me to write a full detailed list
of examples of different groups so they can get a better understanding
what each permission option does!

I am almost done with this and will have it done today, so check back later
for that download!

C, ya...

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

Needed only if downloaded zip before 8:44 AM March 12, 2005)

It was reported that if the New Post folder is filled and someone wants to Save a draft in their New PM folder that is not filled, they can not access the Save Draft button to save the New PM. This only effects groups that have (#) limit on messages that they can be saved!


Fix! (file => ./private.php)

Find in => private.php

Code:
				if ( drafts_total ( $bbuserinfo['userid'], $permissions['usergroupid'], 1 ) >= $permissions['newpmmax'] )
				{
replace With

Code:
				if ( drafts_total ( $bbuserinfo['userid'], $permissions['usergroupid'], 3 ) >= $permissions['newpmmax'] )
				{

// end fix


Sonia
Reply With Quote
  #48  
Old 03-12-2005, 12:30 PM
Arial Arial is offline
 
Join Date: Feb 2005
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sonia, can you please get back to me. I didn't receive your email and for some reason PM' s no longer work to your account?

Thank you.
Reply With Quote
  #49  
Old 03-14-2005, 02:59 PM
Arial Arial is offline
 
Join Date: Feb 2005
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sonia

Please note I have taken the hack we discussed to another developer as you seem to be to busy to respond currently.
Reply With Quote
  #50  
Old 03-14-2005, 07:03 PM
OrangeFlea OrangeFlea is offline
 
Join Date: Aug 2004
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hack worked. It's brilliant.

When will we see the spell check hack, Sonia?
Reply With Quote
  #51  
Old 03-15-2005, 12:46 AM
why-not why-not is offline
 
Join Date: Feb 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by OrangeFlea
Hack worked. It's brilliant.

When will we see the spell check hack, Sonia?

One week, 5 days max, wait till you see the admin panel options it will have! It just won the Spell Checking Shoot Out (PC MAG), *fastest spell checker on the planet*, I just found out today!


C, ya...

Sonia
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:19 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.04641 seconds
  • Memory Usage 2,319KB
  • Queries Executed 27 (?)
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
  • (4)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_postinfo_query
  • fetch_postinfo
  • 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