You are here

INSTALL.txt in Vote Up/Down 6

Same filename and directory in other branches
  1. 5 INSTALL.txt
[[ THIS FILE NEEDS TO BE UPDATED OR REMOVED ]]
**********************************************

Vote Up/Down Installation Documentation:
---------------------------------------------
Author - Ron Williams ron at ronsnexus dot com
Requires - Drupal 5/6
License - GPL (see LICENSE)


Requirements:
------------

You will need to download the following items:
  * Vote Up/Down http://drupal.org/project/vote_up_down
  * Voting API http://drupal.org/project/votingapi

To be able to automatically promote story links that have a specified
number of votes to the front page you also need to download these:
  * Actions http://drupal.org/project/actions
  * Voting Actions http://drupal.org/project/voting_actions

Recommended but not required modules:
  * Views http://drupal.org/project/views (for creating customized views
    of content)
  * User Points http://drupal.org/project/userpoints (if you wish to
    have users awarded points for submitting content or voting)
  * Content Recommedation Engine http://drupal.org/project/cre
    (to recommend nodes and users to other user bases on the voting.
    Use query type "VotingAPI Point System Query".)


Step By Step Installation for front page automatic promotion:
------------------------------------------------------------

01) Extract all files from the archives above.

02) Upload the Vote Up/Down, Voting API, Actions, voting_actions,
Views, and Userpoints directories to your modules directory.

03) In a web browser goto SITE_URL/admin/build/modules (SITE_URL being the url
for the drupal install) while logged in.

04) Enable the modules below:
* actions
* userpoints
* views
* vote_up_down
* voting_actions
* votingapi

When you later update these, and other, modules remember to run
SITE_URL/update.php. With Drupal 4.7 and later modules as well as core
Drupal can make use up the databas update function.

05) Goto SITE_URL/admin/user/access and enable the following items
* userpoints module (if enabled)
  * view userpoints (anonymous and authenticated)
* vote_storylink module
  * create storylinks (authenticated, only if you wish to allow your
    users to create there own storylinks for voting)
  * edit own storylinks (authenticated, only if you wish to allow your
    users to edit there own storylinks)
* vote_up_down module
  * use up-down vote (authenticated)
  * view up-down vote (anonymous and authenticated)

06) Goto SITE_URL/admin/build/actions and click list (this allows the actions
module to detect available actions).

07) Goto SITE_URL/admin/content/types/storylink
* Uncheck under workflow "promoted to front page"

08) Goto SITE_URL/admin/settings/vote_up_down
* Under types, check storylink.
* Under Vote widget settings for nodes, in the field below "Vote widget
  display", select disabled.
* Under Vote widget settings for comments, in the "Vote widget display"
  and "Link display of vote points", select do not display for both.

09) Goto SITE_URL/admin/settings/userpoints
* To enable credit for just voting and creating storylinks, enter the
  amounts you wish to give for them in the below fields.
  * "Points for posting a story link" and "Points for voting on a node
    (requires the Vote up/down module)".

10) Goto SITE_URL/admin/settings/voting_actions
* Under action set name, enter in a field "Promote node to front page"
  then press save.
  * Select edit and enter the following:
    - select points under value type
    - enter vote under tag
    - enter sum under function
    - select is greater than under comparison
    - enter the required number for front page promotion
    - under action select "Promote node to front page" and click save
    - under action select "Award userpoints from..." and click save

See also screenshot
"documentation/voting_actions_examples/Promote_to_front_page.png"

11) Goto SITE_URL/admin/settings/voting_actions
* Under action set name, enter in a field other than promote node to
  front page, "demote node from front page" then press save.
  * Select edit and enter the following:
    - select points under value type
    - enter vote under tag
    - enter sum under function
    - select is less than under comparison
    - enter the required number for front page demotion
    - under action select "Remove node from front page" and click save
    - under action select "Deduct userpoints from..." and click save

See also screenshot
"documentation/voting_actions_examples/Demote_from_front_page.png"

12) Upload node-storylink.tpl.php and template.php to the directory
of your theme (if you already have template.php, you will have to
combine them).

OBS! When using "node-storylink.tpl.php" you must turn off
"Vote widget display..." in "admin/settings/vote_up_down" to avoid
getting double voting widgets.

And You're done.


Last updated:
------------

File

INSTALL.txt
View source
  1. [[ THIS FILE NEEDS TO BE UPDATED OR REMOVED ]]
  2. **********************************************
  3. Vote Up/Down Installation Documentation:
  4. ---------------------------------------------
  5. Author - Ron Williams ron at ronsnexus dot com
  6. Requires - Drupal 5/6
  7. License - GPL (see LICENSE)
  8. Requirements:
  9. ------------
  10. You will need to download the following items:
  11. * Vote Up/Down http://drupal.org/project/vote_up_down
  12. * Voting API http://drupal.org/project/votingapi
  13. To be able to automatically promote story links that have a specified
  14. number of votes to the front page you also need to download these:
  15. * Actions http://drupal.org/project/actions
  16. * Voting Actions http://drupal.org/project/voting_actions
  17. Recommended but not required modules:
  18. * Views http://drupal.org/project/views (for creating customized views
  19. of content)
  20. * User Points http://drupal.org/project/userpoints (if you wish to
  21. have users awarded points for submitting content or voting)
  22. * Content Recommedation Engine http://drupal.org/project/cre
  23. (to recommend nodes and users to other user bases on the voting.
  24. Use query type "VotingAPI Point System Query".)
  25. Step By Step Installation for front page automatic promotion:
  26. ------------------------------------------------------------
  27. 01) Extract all files from the archives above.
  28. 02) Upload the Vote Up/Down, Voting API, Actions, voting_actions,
  29. Views, and Userpoints directories to your modules directory.
  30. 03) In a web browser goto SITE_URL/admin/build/modules (SITE_URL being the url
  31. for the drupal install) while logged in.
  32. 04) Enable the modules below:
  33. * actions
  34. * userpoints
  35. * views
  36. * vote_up_down
  37. * voting_actions
  38. * votingapi
  39. When you later update these, and other, modules remember to run
  40. SITE_URL/update.php. With Drupal 4.7 and later modules as well as core
  41. Drupal can make use up the databas update function.
  42. 05) Goto SITE_URL/admin/user/access and enable the following items
  43. * userpoints module (if enabled)
  44. * view userpoints (anonymous and authenticated)
  45. * vote_storylink module
  46. * create storylinks (authenticated, only if you wish to allow your
  47. users to create there own storylinks for voting)
  48. * edit own storylinks (authenticated, only if you wish to allow your
  49. users to edit there own storylinks)
  50. * vote_up_down module
  51. * use up-down vote (authenticated)
  52. * view up-down vote (anonymous and authenticated)
  53. 06) Goto SITE_URL/admin/build/actions and click list (this allows the actions
  54. module to detect available actions).
  55. 07) Goto SITE_URL/admin/content/types/storylink
  56. * Uncheck under workflow "promoted to front page"
  57. 08) Goto SITE_URL/admin/settings/vote_up_down
  58. * Under types, check storylink.
  59. * Under Vote widget settings for nodes, in the field below "Vote widget
  60. display", select disabled.
  61. * Under Vote widget settings for comments, in the "Vote widget display"
  62. and "Link display of vote points", select do not display for both.
  63. 09) Goto SITE_URL/admin/settings/userpoints
  64. * To enable credit for just voting and creating storylinks, enter the
  65. amounts you wish to give for them in the below fields.
  66. * "Points for posting a story link" and "Points for voting on a node
  67. (requires the Vote up/down module)".
  68. 10) Goto SITE_URL/admin/settings/voting_actions
  69. * Under action set name, enter in a field "Promote node to front page"
  70. then press save.
  71. * Select edit and enter the following:
  72. - select points under value type
  73. - enter vote under tag
  74. - enter sum under function
  75. - select is greater than under comparison
  76. - enter the required number for front page promotion
  77. - under action select "Promote node to front page" and click save
  78. - under action select "Award userpoints from..." and click save
  79. See also screenshot
  80. "documentation/voting_actions_examples/Promote_to_front_page.png"
  81. 11) Goto SITE_URL/admin/settings/voting_actions
  82. * Under action set name, enter in a field other than promote node to
  83. front page, "demote node from front page" then press save.
  84. * Select edit and enter the following:
  85. - select points under value type
  86. - enter vote under tag
  87. - enter sum under function
  88. - select is less than under comparison
  89. - enter the required number for front page demotion
  90. - under action select "Remove node from front page" and click save
  91. - under action select "Deduct userpoints from..." and click save
  92. See also screenshot
  93. "documentation/voting_actions_examples/Demote_from_front_page.png"
  94. 12) Upload node-storylink.tpl.php and template.php to the directory
  95. of your theme (if you already have template.php, you will have to
  96. combine them).
  97. OBS! When using "node-storylink.tpl.php" you must turn off
  98. "Vote widget display..." in "admin/settings/vote_up_down" to avoid
  99. getting double voting widgets.
  100. And You're done.
  101. Last updated:
  102. ------------