Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vB Drupal Community Plumbing: Workflow module Details »»
vB Drupal Community Plumbing: Workflow module
Version: 1.00, by tamarian tamarian is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 10-04-2005 Last Update: 11-10-2005 Installs: 11
Uses Plugins
Additional Files  
No support by the author.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 10-05-2005, 04:24 AM
Daniel's Avatar
Daniel Daniel is offline
 
Join Date: Jul 2005
Location: USA
Posts: 707
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice. Will install once I get Drupal working...
Reply With Quote
  #3  
Old 10-24-2005, 10:05 PM
Zhen-Xjell's Avatar
Zhen-Xjell Zhen-Xjell is offline
 
Join Date: Oct 2005
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Finer granularity of perms?
Reply With Quote
  #4  
Old 11-10-2005, 07:35 PM
xing xing is offline
 
Join Date: Dec 2004
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Error in product XML sql:

PHP Code:
$BLE " . TABLE_PREFIX . " drupal_actions 
should be

PHP Code:
$BLE " . TABLE_PREFIX . "drupal_actions 
There should not be an empty space before drupal.

Problem exist in all the create queries within the XML file.
Reply With Quote
  #5  
Old 11-10-2005, 11:09 PM
tamarian tamarian is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xing
Error in product XML sql:
Confirmed and fixed, thanks.

Note to those who already installed that no need to upgrade, this only affects those who use a table prefix for vB
Reply With Quote
  #6  
Old 01-10-2007, 08:35 PM
Caerydd's Avatar
Caerydd Caerydd is offline
 
Join Date: Mar 2006
Location: UK
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just want to check, I'm using the drupal version of this module, is this any different?
Reply With Quote
Reply


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 11:33 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04734 seconds
  • Memory Usage 2,253KB
  • Queries Executed 19 (?)
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
  • (1)bbcode_code
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)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_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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete