Changeset 1120519
- Timestamp:
- 03/25/2015 02:52:44 PM (11 years ago)
- File:
-
- 1 edited
-
simple-voting/trunk/README.txt (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
simple-voting/trunk/README.txt
r1120453 r1120519 1 1 === Plugin Name === 2 Contributors: (this should be a list of wordpress.org userid's)2 Contributors: seoringer 3 3 Donate link: http://seoringer.com/ 4 4 Tags: voting, rating … … 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 10 11 Simple voting and rating system. In simplest case you just need to insert in your text one word: `[voting]`.11 Simple voting and rating system. In simplest case you just need to insert in your text just one word: [voting]. 12 12 13 13 == Description == … … 20 20 Just insert in your article or page this simple shortcode: 21 21 22 [voting] 22 <strong>[voting]</strong> 23 23 24 24 This shortcode will be replaced with a voting form. This voting form will allow your visitors to rate current 25 25 article or page. It is a simplest and easiest way to use Simple Voting plugin. 26 You can also use another shortcode:26 </br>You can also use another shortcode: 27 27 28 [voted] 28 <strong>[voted]</strong> 29 29 30 30 This shortcode will show current article rating. 31 31 32 32 If you have administrative priviliges, then, while browsing through your articles, you will see near each voting 33 form and each voting result the button with a title `You are admin. Check answers`. This button 34 will allow admins to see the list of all votes for this subject. 33 form the button with a title 'You are admin. Check answers'. This button will allow admins to see the list of all votes for this subject. 35 34 36 That s all you need to know about simplest using of the Simple Voting plugin.35 That's all you need to know about simplest using of the Simple Voting plugin. 37 36 38 37 2. Voting for arbitrary subjects. … … 41 40 construction, like this: 42 41 43 [voting]Arbitrary subject name[\voting] 42 <strong>[voting]Arbitrary subject name[/voting]</strong> 44 43 45 Such block of code could be placed in any article or page, and will rate the same Arbitrary subject name.46 To show the rating of the Arbitrary subject name, use following shortcode:44 Such block of code could be placed in any article, and will rate the same 'Arbitrary subject name'. 45 To show the rating of the 'Arbitrary subject name', use following shortcode: 47 46 48 [voted]Arbitrary subject name[ \voted]47 [voted]Arbitrary subject name[/voted] 49 48 50 49 3. Voting with redirection (for experienced webmasters). … … 52 51 Immediately after voting, visitor (and information about his vote) could be sent to another web page. 53 52 Just include URL of desired page somewhere in the subject name. 54 Let s imagine, that after voting, you want to send visitor to the URL http://somesite.com/somepage.php53 Let's imagine, that after voting, you want to send visitor to the URL http://somesite.com/somepage.php 55 54 To accomplish this, you must write something like this: 56 55 57 [voting]http://somesite.com/somepage.php Subject name[ \voting]56 [voting]http://somesite.com/somepage.php Subject name[/voting] 58 57 59 58 Or something like this: … … 63 62 subject 64 63 http://somesite.com/somepage.php 65 [ \voting]64 [/voting] 66 65 67 66 Or just that: 68 67 69 [voting]http://somesite.com/somepage.php[ \voting]68 [voting]http://somesite.com/somepage.php[/voting] 70 69 71 70 Note that although in all these examples I used same URL (http://somesite.com/somepage.php), they are … … 75 74 of [voting] one. Like this: 76 75 77 [voted]http://somesite.com/somepage.php Subject name[ \voted]76 [voted]http://somesite.com/somepage.php Subject name[/voted] 78 77 79 78 [voted] … … 81 80 subject 82 81 http://somesite.com/somepage.php 83 [ \voted]82 [/voted] 84 83 85 [voted]http://somesite.com/somepage.php[ \voted]84 [voted]http://somesite.com/somepage.php[/voted] 86 85 87 86 After voting on any of these subjects, user will be sent to the given web page … … 94 93 svUserEmail users Email 95 94 svUserComment users comment 96 sv_nonce one time code, generated by the function: wp_create_nonce( "simple-voting"). This code used for security purposes, but you may ignore it.95 sv_nonce one time code, generated by the function: wp_create_nonce( 'simple-voting' ). This code used for security purposes, but you may ignore it. 97 96 98 97 4. Database tables. 99 98 100 99 Simple voting plugin stores all information in two database tables: 101 {db_prefix}simple_voting_subjects 102 {db_prefix}simple_voting_votes 100 <strong> 101 </br>{db_prefix}simple_voting_subjects 102 </br>{db_prefix}simple_voting_votes 103 </strong> 103 104 104 105 Thats all. Fill free to to ask any questions: [email protected]
Note: See TracChangeset
for help on using the changeset viewer.