| 1 |
A mini "Voting Actions module" with hardcoded rules:
|
| 2 |
---------------------------------------------------
|
| 3 |
Author - Fredrik Jonsson fredrik at combonet dot se
|
| 4 |
Requires - Drupal 5
|
| 5 |
License - GPL (see LICENSE)
|
| 6 |
|
| 7 |
|
| 8 |
Overview:
|
| 9 |
--------
|
| 10 |
This is mini "Voting Actions module" with hardcoded rules as a interim
|
| 11 |
solution since the Voting Actions module has a number of unresolved bugs.
|
| 12 |
|
| 13 |
http://drupal.org/project/voting_actions
|
| 14 |
|
| 15 |
Only use it if you know what you are doing!
|
| 16 |
|
| 17 |
There are three hardcoded voting actions:
|
| 18 |
|
| 19 |
* Promote to front page if there are at least x number of votes and
|
| 20 |
the node is not already promotet.
|
| 21 |
Runs actions action_node_promote' and 'action_vote_up_down_userpoints_add
|
| 22 |
|
| 23 |
* Remove from front page if there are less than x number of votes and
|
| 24 |
the node is promotet.
|
| 25 |
Runs actions 'action_node_unpromote' and 'action_vote_up_down_userpoints_remove'
|
| 26 |
|
| 27 |
* Unpublish if there are less than x number of votes and the node is published.
|
| 28 |
Runs action 'action_node_unpublish'
|
| 29 |
|
| 30 |
The only thing that can be configures is x number of votes.
|
| 31 |
|
| 32 |
|
| 33 |
Installation and configuration:
|
| 34 |
------------------------------
|
| 35 |
Installation is as simple as creating a directory named 'vote_action' in your
|
| 36 |
'modules' directory and copying the files there, then enabling the
|
| 37 |
module at 'administer >> modules'.
|
| 38 |
|
| 39 |
For configuration options go to 'administer >> settings >> voteaction'.
|
| 40 |
|
| 41 |
|
| 42 |
Last updated:
|
| 43 |
------------
|
| 44 |
$Id: README.txt,v 1.1 2007/06/05 06:38:43 frjo Exp $
|