PDA

View Full Version : Save Drafts (New Topics, New Reply, PM(s)) Updated March 04, 2005


why-not
01-20-2005, 10:00 PM
Save Drafts V 1.00

Has been released, see this thread...


https://vborg.vbsupport.ru/showthread.php?p=622294#post622294



c, ya...


Sonia

nexialys
01-21-2005, 09:03 PM
sonya, always teasing us, hey...

i'd be happy to have this hack now that i see someone else than me working on one.. ;)

BarHopper
01-21-2005, 09:27 PM
Look just what i need. I'd like a demo tho...Or screenshots.

why-not
01-21-2005, 10:49 PM
Look just what i need. I'd like a demo tho...Or screenshots.


You will see a full working demo tomorrow, and some pictures!


Sonia

docvader
01-22-2005, 01:08 AM
I'm up for installing this. Hope you get it put together soon!

nexialys
01-22-2005, 01:52 AM
oh, btw, Sonya... i hope your installer will have a text version... ;)

why-not
01-22-2005, 05:07 PM
Hi

I am working on getting my test server up, waiting for DNS to get updated then I will post some examples! Also someone asked me about how the permissions are set for the draft system! So while I am waiting for DNS stuff, I will try to explain the permissions!

The draft system uses vB permissions (groups and users), but also extends the permissions so that full control can be given for each option!

example

user A can save drafts for new replies, but not new posts, user B has same permission as user A in regards to saving drafts, vB group (2), but user B can also save attachments when making a new reply using the extended permissions that the draft control monitors! The draft control uses a simple Admin Panel that allows you to set permission by vB group or single user!

You can turn the full system off for everyone but vB group (6), but still limit options vB group (6) has. Options are also really refined, so full control for each type of save draft request can be limited!

Here is a complete overview of permissions for saving drafts! These are only for saving a draft, and do not contain the permissions for draft storage limits!

OVERVIEW PERMISSIONS (saving drafts!)


// the master switch

$vboptions['draft_on'] = 0; // turn the draft system off for all user except draft_group 2
$vboptions['draft_on'] = 1; // turn the draft system on

// master control (drafts allowed for new posts / new topic)

$vboptions['draft_new'] = 0; // new post drafts not allowed
$vboptions['draft_new'] = 1; // new post drafts is allowed


// master control (drafts allowed for new replies / quick replies)

$vboptions['draft_reply'] = 0; // new reply / quick reply, drafts not allowed
$vboptions['draft_reply'] = 1; // new reply drafts allowed, quick reply, drafts not allowed
$vboptions['draft_reply'] = 2; // quick reply drafts allowed, new reply, drafts not allowed
$vboptions['draft_reply'] = 3; // new reply drafts allowed, quick reply drafts allowed


// master control (drafts allowed for new pm / reply to pm)

$vboptions['draft_pms'] = 0; // new pm / reply pm, drafts not allowed
$vboptions['draft_pms'] = 1; // new pm drafts allowed, reply pm, drafts not allowed
$vboptions['draft_pms'] = 2; // reply pm drafts allowed, new pm, drafts not allowed
$vboptions['draft_pms'] = 3; // new pm drafts allowed, reply pm, drafts allowed


// master control (save attachments with draft[new topic, new post, reply to post)

$vboptions['draft_attach'] = 0; // do not save attachments if saving as draft
$vboptions['draft_attach'] = 1; // new topic/post save attachments allowed, reply to post save attachments not allowed
$vboptions['draft_attach'] = 2; // reply to post, save attachments allowed, new topic/post save attachments not allowed
$vboptions['draft_attach'] = 3; // reply to post, save attachments allowed, new topic/post save attachments allowed


// master control (users groups)

$vboptions['draft_group'] = 0; // no permission (draft system will be off limits to this qroup)
$vboptions['draft_group'] = 1; // has permission (draft system is on for this qroup only if the master switch is ON)
$vboptions['draft_group'] = 2; // has permission (draft system will be on for this qroup, even if the master switch is off!)

example (1) .... (user: admin)

2, 1, 3, 3, 3

value (1) = 2 <- $vboptions['draft_group']
value (2) = 1 <- $vboptions['draft_new']
value (3) = 3 <- $vboptions['draft_reply']
value (4) = 3 <- $vboptions['draft_pms']
value (5) = 3 <- $vboptions['draft_attach']

So user: admin, has full access to the complete drafts system, even when it is turned off!

example (2) .... (user: new_user)

0, 1, 3, 3, 3

value (1) = 0 <- $vboptions['draft_group']
value (2) = 1 <- $vboptions['draft_new']
value (3) = 3 <- $vboptions['draft_reply']
value (4) = 3 <- $vboptions['draft_pms']
value (5) = 3 <- $vboptions['draft_attach']

So user: new_user, can not access the drafts system, it does not matter if they have permission for secondary options!
Because the (1) option gives no access, and that option controls the other options!

example (3) .... (user: other_user)

1, 0, 1, 0, 2

value (1) = 1 <- $vboptions['draft_group']
value (2) = 0 <- $vboptions['draft_new']
value (3) = 1 <- $vboptions['draft_reply']
value (4) = 0 <- $vboptions['draft_pms']
value (5) = 2 <- $vboptions['draft_attach']

So user: other_user, can access the drafts system, but is limited to the following.

the draft systems master switch must be on for them to have access
new post drafts are not allowed
new reply drafts can be saved, but not quick reply drafts
saving drafts in PM(s) is not alloWed
saving attachments is only allowed when saving a new reply!



C, ya...


Sonia

why-not
01-22-2005, 05:20 PM
oh, btw, Sonya... i hope your installer will have a text version... ;)

Yes I will include this, just for you!


C, ya...

nexialys
01-22-2005, 06:03 PM
Yes I will include this, just for you!
C, ya...
* nexialys fall in love...


* nexialys 's wife look seriously to slap him on the head!

DrkFusion
01-23-2005, 12:13 AM
Very nice idea!
I will look it over in a few minutes. Again great idea and great job!

Tekton
01-24-2005, 03:09 AM
Got any images or a demo yet?

Tekton
01-26-2005, 02:11 AM
any news on this?

Princeton
01-26-2005, 11:58 AM
Saving the form "data" is such a great idea!!!
Can't wait to see this.

Clicks SUBSCRIBE :)

Tekton
02-04-2005, 02:28 AM
No news is good news? :/

Azhrialilu
02-05-2005, 07:49 PM
My members would kill for this *clicks install to keep informed*

agiacosa
02-18-2005, 11:39 AM
Hi,

My members have been asking for this too. Any news on the release?

Thanks.

yoyoyoyo
02-18-2005, 11:45 AM
ditto- did this get put on the backburner?

Tekton
02-18-2005, 02:03 PM
Last Activity: 22. Jan 2005 16:17

Wonder if something happened?

Titus
03-03-2005, 05:18 PM
I really want this too.

Oblivion Knight
03-06-2005, 08:58 AM
Apparantly this is going to be released later today.. :D

* Oblivion Knight keeps his fingers crossed

why-not
03-06-2005, 04:50 PM
Yes I am almost done with the step by step install guide! Once I have it finished I will be posting this new modification for vB 3.0./1/3/4/5/6/7! It will be be sometime today!

C, ya...

Sonia

Tekton
03-06-2005, 05:43 PM
Is there a test account for the live demo? Your forum doesn't seem to allow registration~

why-not
03-06-2005, 05:50 PM
read the sticky post on the demo forum!

Sonia

j_86
03-06-2005, 06:54 PM
User; test
Pw; test