/[drupal]/contributions/modules/vote_up_down/INSTALL.txt
ViewVC logotype

Contents of /contributions/modules/vote_up_down/INSTALL.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.6 - (show annotations) (download)
Fri Jul 13 12:23:08 2007 UTC (2 years, 4 months ago) by frjo
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-BETA1, DRUPAL-6--1-0-BETA2, HEAD
Branch point for: DRUPAL-6--1
Changes since 1.5: +3 -2 lines
File MIME type: text/plain
Fix for Vote widget display in issue #159072. The widget did always show in the teaser.
1 Vote Up/Down 5.x installation documentation:
2 ---------------------------------------------
3 Author - Ron Williams ron at ronsnexus dot com
4 Requires - Drupal 5
5 License - GPL (see LICENSE)
6
7
8 Requirements:
9 ------------
10
11 You will need to download the following items:
12 * Vote Up/Down Package http://drupal.org/project/vote_up_down
13 * Links Package http://drupal.org/project/links
14 (only needed with storylink module)
15 * Voting API http://drupal.org/project/votingapi
16
17 To be able to automatically promote story links that have a specified
18 number of votes to the front page you also need to download these:
19 * Actions http://drupal.org/project/actions
20 * Voting Actions http://drupal.org/project/voting_actions
21
22 Recommended but not required modules:
23 * Views http://drupal.org/project/views (for creating customized views
24 of content)
25 * User Points http://drupal.org/project/userpoints (if you wish to
26 have users awarded points for submitting content or voting)
27 * Content Recommedation Engine http://drupal.org/project/cre
28 (to recommend nodes and users to other user bases on the voting.
29 Use query type "VotingAPI Point System Query".)
30
31
32 Step By Step Installation for front page automatic promotion:
33 ------------------------------------------------------------
34
35 01) Extract all files from the archives above.
36
37 02) Upload the vote up/down, links, votingapi, actions, voting_actions,
38 views, and userpoints directories to your modules directory.
39
40 03) In a web browser goto SITE_URL/admin/build/modules (SITE_URL being the url
41 for the drupal install) while logged in.
42
43 04) Enable the modules below:
44 * actions
45 * links
46 * userpoints
47 * views
48 * vote_storylink
49 * vote_up_down
50 * voting_actions
51 * votingapi
52
53 When you later update these, and other, modules remember to run
54 SITE_URL/update.php. With Drupal 4.7 and later modules as well as core
55 Drupal can make use up the databas update function.
56
57 05) Goto SITE_URL/admin/user/access and enable the following items
58 * userpoints module (if enabled)
59 * view userpoints (anonymous and authenticated)
60 * vote_storylink module
61 * create storylinks (authenticated, only if you wish to allow your
62 users to create there own storylinks for voting)
63 * edit own storylinks (authenticated, only if you wish to allow your
64 users to edit there own storylinks)
65 * vote_up_down module
66 * use up-down vote (authenticated)
67 * view up-down vote (anonymous and authenticated)
68
69 06) Goto SITE_URL/admin/build/actions and click list (this allows the actions
70 module to detect available actions).
71
72 07) Goto SITE_URL/admin/content/types/storylink
73 * Uncheck under workflow "promoted to front page"
74
75 08) Goto SITE_URL/admin/settings/vote_up_down
76 * Under types, check storylink.
77 * Under Vote widget settings for nodes, in the field below "Vote widget
78 display", select disabled.
79 * Under Vote widget settings for comments, in the "Vote widget display"
80 and "Link display of vote points", select do not display for both.
81
82 09) Goto SITE_URL/admin/settings/userpoints
83 * To enable credit for just voting and creating storylinks, enter the
84 amounts you wish to give for them in the below fields.
85 * "Points for posting a story link" and "Points for voting on a node
86 (requires the Vote up/down module)".
87
88 10) Goto SITE_URL/admin/settings/voting_actions
89 * Under action set name, enter in a field "Promote node to front page"
90 then press save.
91 * Select edit and enter the following:
92 - select points under value type
93 - enter vote under tag
94 - enter sum under function
95 - select is greater than under comparison
96 - enter the required number for front page promotion
97 - under action select "Promote node to front page" and click save
98 - under action select "Award userpoints from..." and click save
99
100 See also screenshot
101 "documentation/voting_actions_examples/Promote_to_front_page.png"
102
103 11) Goto SITE_URL/admin/settings/voting_actions
104 * Under action set name, enter in a field other than promote node to
105 front page, "demote node from front page" then press save.
106 * Select edit and enter the following:
107 - select points under value type
108 - enter vote under tag
109 - enter sum under function
110 - select is less than under comparison
111 - enter the required number for front page demotion
112 - under action select "Remove node from front page" and click save
113 - under action select "Deduct userpoints from..." and click save
114
115 See also screenshot
116 "documentation/voting_actions_examples/Demote_from_front_page.png"
117
118 12) Upload node-storylink.tpl.php and template.php to the directory
119 of your theme (if you already have template.php, you will have to
120 combine them).
121
122 OBS! When using "node-storylink.tpl.php" you must turn off
123 "Vote widget display..." in "admin/settings/vote_up_down" to avoid
124 getting double voting widgets.
125
126 And You're done.
127
128
129 Last updated:
130 ------------
131 $Id: INSTALL.txt,v 1.5 2007/06/07 23:39:22 frjo Exp $

  ViewVC Help
Powered by ViewVC 1.1.2