Changeset 1120630
- Timestamp:
- 03/25/2015 04:52:44 PM (11 years ago)
- File:
-
- 1 edited
-
simple-voting/trunk/README.txt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
simple-voting/trunk/README.txt
r1120612 r1120630 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 justone word: [voting].11 Simple voting and rating system. In simplest case you just need to insert in your text one word: [voting]. 12 12 13 13 == Description == … … 33 33 <br>This shortcode will just show the current article rating. 34 34 <br> 35 <br>If you have administrative privileges, then, while browsing through your articles, you will seenear each36 voting form the button with a title <strong>'You are admin. Check answers'</strong>. This button will allow35 <br>If you have administrative privileges, then, while browsing through your articles, near each 36 voting form you will see the button with a title <strong>'You are admin. Check answers'</strong>. This button will allow 37 37 admins to see the list of all votes for this subject. 38 38 <br> … … 54 54 <br> 55 55 <br>Immediately after voting, visitor (and information about his vote) could be sent to another web page. 56 <br>Just include URL of desired page somewhere in the subject name. 56 Just include desired URL somewhere in the subject name. 57 <br> 57 58 <br>Let's imagine, that after voting, you want to send visitor to the URL http://somesite.com/somepage.php 58 59 <br>To do so, you must write something like this: 60 <br> 59 61 <br><strong>[voting] http://somesite.com/somepage.php Subject name [/voting]</strong> 60 62 <br> 61 63 <br>Or something like this: 64 <br> 62 65 <br><strong>[voting] 63 66 <br>Another … … 89 92 (in our examples http://somesite.com/somepage.php). To this page also will be POSTed data, containing 90 93 following information about voting subject: 91 <br> 92 <br><strong>sv_vote</strong>: users vote (from 1 to 10)93 <br><strong>sv_textID</strong>: unique subject identifier, which consists of three letters and numeric ID.94 <br><strong>svUserName</strong>: user name95 <br><strong>svUserEmail</strong>: users Email96 <br><strong>svUserComment</strong>: users comment97 <br><strong>sv_nonce</strong>: one time security code, generated by the function: wp_create_nonce( 'simple-voting' ).98 <br> 94 95 * <strong>sv_vote</strong>: users vote (from 1 to 10) 96 * <strong>sv_textID</strong>: unique subject identifier, which consists of three letters and numeric ID. 97 * <strong>svUserName</strong>: user name 98 * <strong>svUserEmail</strong>: users Email 99 * <strong>svUserComment</strong>: users comment 100 * <strong>sv_nonce</strong>: one time security code, generated by the function: wp_create_nonce( 'simple-voting' ). 101 99 102 <br> 100 103 4. <strong>Database tables</strong> … … 110 113 == Screenshots == 111 114 112 1. This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from 113 the /assets directory or the directory that contains the stable readme.txt (tags or trunk). Screenshots in the /assets 114 directory take precedence. For example, `/assets/screenshot-1.png` would win over `/tags/4.3/screenshot-1.png` 115 (or jpg, jpeg, gif). 116 2. This is the second screen shot 115 1. Voting form. 116 2. Voting result. 117 117 118 118 == Installation ==
Note: See TracChangeset
for help on using the changeset viewer.