The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vB Drupal Community Plumbing: Workflow module Details »» | |||||||||||||||||||||||||||
vB Drupal Community Plumbing: Workflow module
Developer Last Online: Nov 2023
This is an addon module for vB Drupal: Community Plumbing
This addon should work for both vB Drupal versions, the 3.0.x version and 3.5 version. The original version for Drupal will not work with vB Drupal, so this is a slightly modified version to make it work with vB Drupal. What does it do: vB Drupal comes with a basic workflow. Some usergroups may create content, and another usergroup may approve it for publication and/or promoting it to the front page. The workflow module adds additional levels (states and transitions) in the process of publishing content. The additional levels are configurable, and can range from one transition, to as many as you want. Orginal source: http://drupal.org/project/workflow License: GPL Installation: Import the product-drupal_workflow.xml file into your your vB product import page. Then upload the two directories (action and workflow) into your Drupal module directory (so they become subdirectories under the modules directory). The zip file contains the correct structure. Usage: It may take some time to get comfortable in creating states, transitions and arranging them into a workflow. Here's an excerpt from the readme.txt file: Code:
******************************************************************** D R U P A L M O D U L E ******************************************************************** Name: Workflow Module Author: John VanDyk <jvandyk at iastate dot edu> Drupal: 4.5 ******************************************************************** GETTING STARTED: Let's create a new workflow. Click on administer -> workflow and click on the "add workflow" tab. We'll start simple. Call our workflow "Draft-Done" and click Add Workflow. Now lets add some workflow states to our workflow. Click "add state" and enter "draft" and click the Add State button. Do the same for "done". So we've got a workflow with two states, "draft" and "done". Now we have to tell each state which other states it can move to. With only two states, this is easy. Click on the "transitions" link to the right of the "draft" state. The "From" column lists all states that may move to this state. The "To" column lists all states that we may move to from this state. Since we're keeping this simple, we will have the simplest possible workflow. Nodes in a "draft" state may move to a "done" state, and that's it. To set this up, click the checkbox next to "done" and click the Save Transitions button. Just for fun, click on the transitions link to the right of the "done" state. As expected, it shows that you can get to the "done" state from the "draft" state. Now let's tell Drupal which node types should use this workflow. Click on the "type mapping" tab. Let's assign the Draft-Done workflow to the story node type and click Save Workflow Mapping. Now we could add an action (previously configured using the actions module). If you have not configured your action yet, here's a quick guide: - go to administer -> actions - choose an action and click "Add new action" - configure the action and click Save. Note that the description field here will be used later on OK, back in the workflow module, click on the actions link to the right of your workflow. Add the action to the transition. Now create a new story by going to create content -> story. Note that there is no sign of workflow here because the story is in its initial state. Click submit to create the story. Now click the edit tab. Note that there is a select box for workflow with the "draft" state chosen. Changing the state to "done" and clicking Submit will fire the action you set up earlier. Show Your Support
|
Comments |
#2
|
||||
|
||||
Nice. Will install once I get Drupal working...
|
#3
|
||||
|
||||
Finer granularity of perms?
|
#4
|
|||
|
|||
Error in product XML sql:
PHP Code:
PHP Code:
Problem exist in all the create queries within the XML file. |
#5
|
|||
|
|||
Quote:
Note to those who already installed that no need to upgrade, this only affects those who use a table prefix for vB |
#6
|
||||
|
||||
Just want to check, I'm using the drupal version of this module, is this any different?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|