The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Save Drafts (New Topics, New Reply, PM(s)) Updated March 04, 2005 Details »» | |||||||||||||||||||||||||||
Save Drafts (New Topics, New Reply, PM(s)) Updated March 04, 2005
Developer Last Online: Jun 2007
Save Drafts V 1.00
Has been released, see this thread... https://vborg.vbsupport.ru/showthrea...294#post622294 c, ya... Sonia Show Your Support
|
Comments |
#2
|
|||
|
|||
sonya, always teasing us, hey...
i'd be happy to have this hack now that i see someone else than me working on one.. |
#3
|
|||
|
|||
Look just what i need. I'd like a demo tho...Or screenshots.
|
#4
|
|||
|
|||
Quote:
You will see a full working demo tomorrow, and some pictures! Sonia |
#5
|
||||
|
||||
I'm up for installing this. Hope you get it put together soon!
|
#6
|
|||
|
|||
oh, btw, Sonya... i hope your installer will have a text version...
|
#7
|
|||
|
|||
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!) Code:
// 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 |
#8
|
|||
|
|||
Quote:
C, ya... |
#9
|
|||
|
|||
Quote:
[/high] [high]* nexialys 's wife look seriously to slap him on the head![/high] |
#10
|
||||
|
||||
Very nice idea!
I will look it over in a few minutes. Again great idea and great job! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|