View Full Version : Save Drafts (Remember Everything) Updated!
why-not
03-06-2005, 10:00 PM
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/showthread.php?p=628547&posted=1#post628547
That's it...
Sonia
why-not
03-07-2005, 01:08 PM
UPDATE AND FIXES: Save Drafts
Note: Update Times are quoted using 'EST -5 GMT)
start Update [1] (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
https://vborg.vbsupport.ru/showthread.php?p=623086&posted=1#post623086
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*
https://vborg.vbsupport.ru/showthread.php?p=623089&posted=1#post623089
end Update [1] (if downloaded zip before 1:19 AM March 9, 2005)
start Update [2] (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 (https://vborg.vbsupport.ru/showthread.php?p=623699#post623699)!
Also updated the zip file to reflect this, sorry for not seeing this!
end Update [2] (if downloaded zip before 1:15 PM March 10, 2005)
start Update [3] (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 (https://vborg.vbsupport.ru/showthread.php?p=624534#post624534)
Also updated the zip file to apply this change to the installer!
end Update [3] (if downloaded zip before 8:44 AM March 12, 2005)
Hi :)
Does this work for VB 3.07? I hope it does.
PS: What spell checker do you use on your site?
why-not
03-07-2005, 02:10 PM
Yes supports...
vB 3.0./1/2/3/4/5/6/7
all tested!!!
Sonia
why-not
03-07-2005, 02:30 PM
PS: What spell checker do you use on your site?
It my own design of a PHP_EXTENSION written in C, supports 23 language 16,000,000 plus words, spell checks 400,000 words a second, it's sessionless, so it can handle 1000(s) requests at one time! I plan on offering a free spell checking service that will run on a remote forum, I already do this for for my clients. All dictionarys loaded takes 8MB of space. Sorry it's only for Windows based servers! It has all kinds of features and plugs right into vB supporting all browsers and editors! Plus it has loads of options not found in any spell checker!
Auto correct (correct common word errors) ( over 4 million auto correct words 23 languages)
anytying
apparant
apparrent
appearence
appeares
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)
http://www.ya-right.com/translate.php
c, ya...
Sonia
Awesome!! Will install this tonight!
There will be an upgrade installer from v1 to v2 by the way right? :)
why-not
03-07-2005, 04:05 PM
Awesome!! Will install this tonight!
There will be an upgrade installer from v1 to v2 by the way right? :)
Yes...
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)!
Sonia
BarHopper
03-07-2005, 04:27 PM
This is excellant, well done.
agiacosa
03-07-2005, 10:19 PM
Thank you for doing this!
Lionel
03-08-2005, 03:52 AM
I am using version 3.07 and I can't find in newreply:
<input type="submit" class="button" value="$vbphrase[preview_post]" accesskey="p" name="preview" tabindex="1" onclick="this.form.dopreview = true; return true;" />
Lionel
03-08-2005, 05:45 AM
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?
Revan
03-08-2005, 05:56 AM
Very nice mod, I will be installing this when I get home :)
* Revan clicks install
It would be nice if you wrote an addon to integrate with the PM attachments mod too :)
WhSox21
03-08-2005, 06:14 AM
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?
Just trying to help out...
A blank page usually means a missing template.
Lionel
03-08-2005, 06:17 AM
I know. Thanks. I only have 2 new templates drafts_display and drafts_row_bit and both are in there.
Lionel
03-08-2005, 06:55 AM
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.
Invalid SQL: SELECT draft_id, hid, aid FROM drafts WHERE uid = 4 AND gid = 6 AND did = 1 ORDER BY tod DESC LIMT 5, 1000
mysql error: You have an error in your SQL syntax near 'LIMT 5, 1000' at line 1
mysql error number: 1064
Oblivion Knight
03-08-2005, 06:58 AM
Seems like a typo.. In Lionel's query, LIMT should be LIMIT.
Lionel
03-08-2005, 07:14 AM
Seems like a typo.. In Lionel's query, LIMT should be LIMIT.
You are right. I was able to fix it in the functions. Now, I am still trying to get profile.php folders to display. I installed the hack at least 3 times ...
why-not
03-08-2005, 10:44 AM
To fix a typo!!!
Open ./includes/functions_drafts.php
FIND THIS...
$qa = $DB_site->query ( "SELECT draft_id, hid, aid FROM " . TABLE_PREFIX . "drafts WHERE uid = " . $user[$i] . " AND gid = " . $old[0] . " AND did = " . $type . " ORDER BY tod DESC LIMT " . $new[2] . ", 1000" );
REPLACE WITH...
$qa = $DB_site->query ( "SELECT draft_id, hid, aid FROM " . TABLE_PREFIX . "drafts WHERE uid = " . $user[$i] . " AND gid = " . $old[0] . " AND did = " . $type . " ORDER BY tod DESC LIMIT " . $new[2] . ", 1000" );
Lionel
03-08-2005, 10:49 AM
Sonia, good morning... please help. The profile.php will not display the folders ... all templates are there
why-not
03-08-2005, 10:56 AM
Hi
Godd morning to you!!!!!
Please send me the following script that your forum is using!
newreply.php
newthread.php
private.php
profile.php
./includes
functions.php
functions_newpost.php
functions_user.php
Send them to me here!
fataqui@ya-right.com
Or PM access to your forum directory so I can fix what is wrong!
please tell me you are doing (send it to me or sending me access via pm), so I know to wait or just check my email!
Sonia
why-not
03-08-2005, 11:22 AM
Sonia, good morning... please help. The profile.php will not display the folders ... all templates are there
All fixed!
C, Ya...
Sonia
Lionel
03-08-2005, 11:25 AM
Thanks. I can't believe it took you 2 seconds to fix what I have been trying to do all night... :-)
yoyoyoyo
03-08-2005, 11:45 AM
great addition... many thanks for sharing!
OrangeFlea
03-08-2005, 02:51 PM
Awesome.
Not to go off-topic, but I'm looking more forward to your spell-checking utility. If you have any further information to donate regarding it, I'd love to hear it. I've been looking for a decent spell-checker for some time now.
Lionel
03-08-2005, 04:06 PM
This hack for sure is going to make it for the hack of the month. You got my vote!
Magic Spark
03-08-2005, 07:39 PM
Hi, Sonia!
I think I've found two bugs.
Could you please look into it.
1) I can't delete draft threads. There's an error in function draft_vars() I think.
My draft thread has no attachment. When I try to delete a draft - I get an mysql error.
2) I edit an draft thread, then hit preview, and then save that draft again.
After that I have two drafted threads with same content in my folder.
Thanks in advance.
EDIT:
I think the first bug is caused by my mysql version.
I have mysql v3.23.57. I think multiple delete (with left joins) is possible only with mysql 4 and higher. Correct me, if I'm wrong.
Is there a solution to get it running with 3.23.57?
why-not
03-09-2005, 04:10 AM
MYSQL VERSION 4 OR HIGHER ONLY
UPDATE (2) Save Drafts for MySQL Version 4 or higher!
Download the attached file...
rename it to...
functions_drafts,php
place it in your ./includes/ directory, over writing the old file!
Go to your Admin panel
Styles & Templates >> search in templates
search for 'drafts', select the template => 'drafts_display'
FIND THIS
<td class='thead' width='22%' style='white-space : nowrap'>$vbphrase[draft_edited_time]</td>
<td class='thead' width='58%' style='white-space : nowrap'>$vbphrase[draft_list_title]</td>
REPLACE WITH
<td class='thead' width='20%' style='white-space : nowrap'>$new_draft[nalink]$new_draft[nblink]</td>
<td class='thead' width='58%' style='white-space : nowrap'>$new_draft[nclink]$new_draft[ndlink]</td>
That is it, you now have added...
1. code clean ups typo(s)
2. column sorting on ( last edit time, post title / post message)
3. sorting into the navigation, so prev/next page follows the column sorting!
C, Ya...
Sonia
why-not
03-09-2005, 04:14 AM
MYSQL VERSION 3*
UPDATE (2) Save Drafts for MySQL Version 3*!
Download the attached file...
rename it to...
functions_drafts,php
place it in your ./includes/ directory, over writing the old file!
Go to your Admin panel
Styles & Templates >> search in templates
search for 'drafts', select the template => 'drafts_display'
FIND THIS
<td class='thead' width='22%' style='white-space : nowrap'>$vbphrase[draft_edited_time]</td>
<td class='thead' width='58%' style='white-space : nowrap'>$vbphrase[draft_list_title]</td>
REPLACE WITH
<td class='thead' width='20%' style='white-space : nowrap'>$new_draft[nalink]$new_draft[nblink]</td>
<td class='thead' width='58%' style='white-space : nowrap'>$new_draft[nclink]$new_draft[ndlink]</td>
That is it, you now have added...
1. code clean ups typo(s)
2. column sorting on ( last edit time, post title / post message)
3. sorting into the navigation, so prev/next page follows the column sorting!
C, Ya...
Sonia
Magic Spark
03-09-2005, 05:38 AM
Thank you so much for the fix for mysql 3. Highly appreciated.
Lionel
03-09-2005, 04:24 PM
I just had someone upgrade mysql to 4.0.23. That solves me all problems including the usergroup not updating because of the manage_draft
OrangeFlea
03-10-2005, 02:01 AM
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?
why-not
03-10-2005, 02:25 AM
Hi
Does your database use a table prefix?
Look in your ./includes/config.php file!
FIND THIS
// 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!
$tableprefix = '';
Sonia
OrangeFlea
03-10-2005, 08:23 AM
Yes, I found it:
// 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';
Neutral Singh
03-10-2005, 09:05 AM
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:
http://www.sikhphilosophy.net/sikhphilosophy/profile.php?do=drafts&folder=newpost
but then returns the following error:
Fatal error: Call to undefined function: draft_folders() in profile.php at some line.
Please guide me.
Thanks
why-not
03-10-2005, 11:15 AM
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
require_once('./includes/functions_register.php');
- REPLACE WITH script => profile.php
require_once('./includes/functions_register.php');
include_once ( './includes/functions_drafts.php' );
Again I am sorry for this over sight!
Sonia
OrangeFlea
03-11-2005, 12:03 AM
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.
Neutral Singh
03-11-2005, 05:52 AM
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 **
Neutral Singh
03-11-2005, 05:58 AM
Rated 5 ***** z :)
OrangeFlea
03-12-2005, 12:17 AM
I don't have a folder called "mysql". Do you mean /forum ?
why-not
03-12-2005, 01:05 AM
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
Neutral Singh
03-12-2005, 01:37 AM
Sir, I'm having a hard time figuring out the instructions. For example:
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
OrangeFlea
03-12-2005, 02:24 AM
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?
why-not
03-12-2005, 03:06 AM
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'
<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'
<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
OrangeFlea
03-12-2005, 03:48 AM
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!!!!
why-not
03-12-2005, 10:38 AM
<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
why-not
03-12-2005, 11:42 AM
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
if ( drafts_total ( $bbuserinfo['userid'], $permissions['usergroupid'], 1 ) >= $permissions['newpmmax'] )
{
replace With
if ( drafts_total ( $bbuserinfo['userid'], $permissions['usergroupid'], 3 ) >= $permissions['newpmmax'] )
{
// end fix
Sonia
Arial
03-12-2005, 12:30 PM
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.
Arial
03-14-2005, 02:59 PM
Sonia
Please note I have taken the hack we discussed to another developer as you seem to be to busy to respond currently.
OrangeFlea
03-14-2005, 07:03 PM
Hack worked. It's brilliant.
When will we see the spell check hack, Sonia?
why-not
03-15-2005, 12:46 AM
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
Lionel
03-15-2005, 01:02 AM
That hack is sure a superb hack. Sonia, thanks again!
OrangeFlea
03-15-2005, 01:17 AM
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
I don't mean to derail the purpose of this thread, but one more question regarding the spell check: you had said that it would work for only windows-based servers. My server runs on Unix....is there any hope for me?
why-not
03-15-2005, 02:25 AM
I don't mean to derail the purpose of this thread, but one more question regarding the spell check: you had said that it would work for only windows-based servers. My server runs on Unix....is there any hope for me?
It is off topic, so last time I will reply about this! I am porting it over right now, I still need to figure a way to get Unix/Linux to support my dictionary compression method as that is a very important part of the complete process. I could do away with compression on Uinx/Linux and do things like Ispell/Aspell, but say someone wants to support 15 languages, if I do it the Ispell/Aspell way, the person would need almost 150 to 200MB of storage just for the spell checking dictionaries. Using my compression it only takes 5MB to store the same dictionaries! When I get it done I will give you the RPM so you test it out, all you have to do is rebuild PHP with ABC Spell support!
Sonia
agiacosa
03-16-2005, 07:01 PM
Sonia,
For some reason when I save a new post it appears in the saved replies folder. Any thoughts?
why-not
03-21-2005, 03:36 AM
Tomorrow Night...
Version (2) will be released!
New Things....
Complete New Control Panel (removed old version from permissions menu)
Configure Permissions
Monitor folders
View Stats
View Folder
View Draft Attachments
A nice simple interface that gives you great control of this mod!
New Service related features
Added Quick Reply Support
User Folder Stats
User override group permissions (full support for full qroups and now full support for single user within groups permissions!)
Auto switching control to support (attachments in the database and on the file system)
Plugin Ucash/Ushop, users can purchase Draft Access
Plugin Multi Quote ( save all quotes in a quick reply)
Pulgin file attachments for quick reply
Like the old version (no extra database query is run for any forum action)
Saving a draft will run (1) query!
All admin panel actions never use more than (2) db calls, tested the db so both MySQL 3 and 4 are both supported!
Upgrade will remove some old phrases and add new ones so they are only called in the Admin Control Panel! A few simple script edits to support the single user permissions! Alter the usergroup table to put permissions in a single bitwise column instead of using 12 columns! Db script included, will not effect anything that is in your db or data related to your forum or the old draft system. Just using better logic to make it more system friendly. One new temple for the user folder stats!
Upgrade less than 5 minutes~
Full install ten, to twenty!
see the images!
Also one other mode I am done testing will also be released tomorrow!
C, ya...
Sonia
OrangeFlea
03-21-2005, 09:31 AM
Awesome, Sonia...can't wait!
mister
03-30-2005, 04:01 PM
Wondering if this is just delayed, or am I missing the version 2 release?
Thanks! This looks wonderful!
House_of_Crazed
03-30-2005, 08:34 PM
Yea, either I'm blind or something because I am not seeing the release of version 2. O_o lol
House_of_Crazed
03-30-2005, 11:26 PM
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 ...
ikastara
03-30-2005, 11:36 PM
nope.. just tested saving draft in my PM system, everything went just fine :)
or maybe i just lucky ?? :P
*can not wait for version 2! yay ! :D *
AlexanderT
04-06-2005, 12:57 PM
why-not any word on the update?
Most of the buttons that we need to find (such as)
<input type="submit" class="button" value="$vbphrase[preview_post]" accesskey="p" name="preview" tabindex="1" onclick="this.form.dopreview = true; return true;" />
Do not exist on an unmodifed VB 3.0.7 install.
ccplim
04-08-2005, 09:10 AM
I have just tried this hack on my test server. For some reason, it works for my new thread and replies but not for my private message.
Also, I get a "onclick="this.form.dopreview = true; return true;"/>" beside my save draft button during posting.
What have I done wrong? :rolleyes:
Sounds like a very useful hack .. I was hoping to use it but if you've installed Thread categorys (https://vborg.vbsupport.ru/showthread.php?t=61494&highlight=thread+categories) as I have, the template edits would create a problem 'cos the items listed in this hack instruction don't exist any longer.
sv1cec
04-23-2005, 11:40 AM
Any news of version 2 ? I just found this hack, and think it is interesting, but I do not want to install and then have to upgrade in a couple of days.
Given that the V2 announcement was about one month ago, is the author still around?
Rgds
mister
04-26-2005, 06:11 PM
I too am still very anxious to get this installed... it looks great.
Any progress or updates, why-not?
Thanks,
Brandon
Sounds like a useful hack, but the installation seems to be quite complicated. it'd be a pain installing, and for some reason, uninstall would be :(( ...
writing an installer woldnt be too hard for this one, hope he will have it available with the next release.
uae-style
04-29-2005, 05:56 PM
Any news of version 2 ? I just found this hack, and think it is interesting, but I do not want to install and then have to upgrade in a couple of days.
Given that the V2 announcement was about one month ago, is the author still around?
Rgds
....
sv1cec
05-07-2005, 02:10 PM
Great hack, just installed. One minor suggestion. In the User CP, the phrase "New Posts" should be changed to "New Threads", technically, in vB's lingo a post is a reply.
Minor technicality, but I thought I should let you know.
Also, I do not know why, but after the installation of this hack (and probably because you forced and suggest the rebuilding of the language) all my customized vB phrases were returned to their original state. I had to spend hours again, to re-customize them.
NOT APPRECIATED. :(
Rgds
uae-style
05-07-2005, 05:32 PM
Parse error: parse error, unexpected ']' in /xxxx/xxxxxx/public_html/forums/admincp/usergroup.php on line 416
:s
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.
sv1cec
05-07-2005, 06:04 PM
Most probably the error is a little before that line.
uae-style
05-08-2005, 12:26 AM
thanx guys, it was from the stupid dreamweaver.
BigIke
05-18-2005, 01:19 AM
For some reason I get this error when trying to post a new reply:
Parse error: parse error, unexpected $ in /homepages/1/d87297472/htdocs/maxruckus/newreply.php on line 715
Line 715 is this:
?>
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:
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?
Exitilus
06-05-2005, 11:27 PM
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 :|
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
yoyoyoyo
08-21-2005, 06:55 PM
The install info is riddled with errors and unnecessary spaces. For example, the instructions say in the forum edits for newreply.php to:
- 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 if ( $_POST['do'] == 'postreply' ) should be if ($_POST['do'] == 'postreply')and the instructions are filled with problems like that.
Can someone provide fixed/correct install info for this hack?
ambrosious
08-25-2005, 11:20 PM
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
MThornback
08-28-2005, 02:30 PM
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! :p
jdingman
12-22-2005, 01:21 AM
When will this be updated for 3.5.x? I'm looking for something exactly like this...
Any update on a 3.5 version?
Or is there anyone willing to assist to port this over?
lightwave
07-18-2006, 06:14 PM
I support the request for a 3.5.x version... my RPing carnivore users would appreciate it. :D
FYI at vB.com ... Save as draft (http://www.vbulletin.com/forum/showthread.php?t=185573) suggestion
Scott MacVicar wrote ..
"I looked at this yesterday and i've got some cool ideas for a quick implementation that I might release as a plugin for 3.6.0 once I get some time."
Eyes peeled for who will be first for 3.6 ;)
Augustino
09-23-2006, 10:55 PM
This modification is working for vBulletin 3.6.1?
ralle89
10-26-2006, 10:08 AM
where do I locate the edits folder?
phovanxua
11-20-2006, 05:21 PM
Does this draft work on 3.6.3 ?
phovanxua
11-20-2006, 05:59 PM
Well ...I found the way User can use User Note as a draft .
Go to ===> Quick Link ===> My Profile ===> and look at the left screen ===> user note ===> select User note ...and then post what ever you like ...It's will save in you profile as a draft .
To delete ...just click edit ...and then click at the box Delete ....that's it .
Done .
Kanustep
12-05-2006, 02:19 PM
This is really good hack! Please update!
Maksa
03-26-2007, 01:54 PM
will it work on vb 3.6.5 ?
yahoooh
04-29-2007, 09:11 PM
??????????????????
t3nt3tion
05-04-2007, 02:06 PM
This is for v3.0.x, wait for the 3.6
vithorius
02-12-2009, 12:56 PM
Sweet mod...!!! :up: :up: :up:
Thank you!
:up: :up: :up:
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.