Plugin Directory

Changeset 523332


Ignore:
Timestamp:
03/25/2012 08:26:00 AM (14 years ago)
Author:
tosend.it
Message:

Version 1.0.5 released

Location:
simple-poll
Files:
2 edited
3 copied

Legend:

Unmodified
Added
Removed
  • simple-poll/tags/1.0.5/readme.txt

    r520176 r523332  
    44Requires at least: 3.3
    55Tested up to: 3.3.1
    6 Stable tag: 1.0.4
     6Stable tag: 1.0.5
    77
    88Plugin that allow admin to create infinite polls and registered users to express just one preference per poll.
     
    1515
    1616* Infinite polls
     17* Multiple polls per page
    1718* One preference per user
    1819* Customizable text
     
    28291. Configure it as you need.
    2930
    30 Please take just few seconds to rate this plugin and tell the others if it works or not.
     31Please take just few seconds to rate this plugin and tell the others how it works.
    3132
    3233== Frequently Asked Questions ==
    3334
     35= Why the plugin does not have it's own CSS? =
     36Because we think that the aspect of the polls must suite perfectly the theme settings and each theme has its rules for radio buttons, fieldsets and labels.
     37
     38= Can I allow anonymous vote? =
     39No, actually the plugin supports only authenticated users. Maybe we could implement into a next version.
     40
     41= Why I'm not able to change polls already rated by some users? =
     42We think that after one user has expressed it's preference anyone must change the answers.
     43So we have developed in this way.
     44
    3445= How can I ask support for this plugin? =
    35 We trust the plugin is really simple but, if the plugin is too complex for you, please use the support forum.
     46We trust the plugin is really simple but, if it is too complicated for you, please use the support forum.
    3647
    3748== Screenshots ==
     
    5667* Bugfix: Wrong defined label in Simple Poll Settings
    5768
     69= 1.0.5 (2012-03-25) =
     70* Improvement: Multiple polls per page are now allowed
     71* New: added some answers in the FAQ.
     72
    5873== Upgrade Notice ==
    5974
  • simple-poll/tags/1.0.5/toSendIt-SimplePoll.php

    r520176 r523332  
    22/**
    33 * @package Simple Polls
    4  * @version 1.0.4
     4 * @version 1.0.5
    55 */
    66/*
     
    99Description: Plugin that allow admin to create infinite polls and registered users to express just one preference per poll.
    1010Author: toSend.it di Luisa Mara
    11 Version: 1.0.4
     11Version: 1.0.5
    1212Author URI: http://tosend.it
    1313*/
     
    316316                    # We have not voted yet
    317317                   
    318                     if(isset($_POST) && count($_POST)>0 && isset($_POST['answer']) && is_numeric($_POST['answer'])){
     318                    if(isset($_POST)
     319                            && count($_POST)>0
     320                            && isset($_POST['answer'])
     321                            && is_numeric($_POST['answer'])
     322                            && isset($_POST['poll'])
     323                            && is_numeric($_POST['poll'])
     324                            && $_POST['poll'] == $id
     325                        ){
    319326                        $answer = $_POST['answer'];
    320327                       
     
    338345                                </fieldset>
    339346                                <p>
     347                                    <input type="hidden" name="poll" value="%1$d" />
    340348                                    <input type="submit" value="%s" />
    341349                                </p>
  • simple-poll/trunk/readme.txt

    r520176 r523332  
    44Requires at least: 3.3
    55Tested up to: 3.3.1
    6 Stable tag: 1.0.4
     6Stable tag: 1.0.5
    77
    88Plugin that allow admin to create infinite polls and registered users to express just one preference per poll.
     
    1515
    1616* Infinite polls
     17* Multiple polls per page
    1718* One preference per user
    1819* Customizable text
     
    28291. Configure it as you need.
    2930
    30 Please take just few seconds to rate this plugin and tell the others if it works or not.
     31Please take just few seconds to rate this plugin and tell the others how it works.
    3132
    3233== Frequently Asked Questions ==
    3334
     35= Why the plugin does not have it's own CSS? =
     36Because we think that the aspect of the polls must suite perfectly the theme settings and each theme has its rules for radio buttons, fieldsets and labels.
     37
     38= Can I allow anonymous vote? =
     39No, actually the plugin supports only authenticated users. Maybe we could implement into a next version.
     40
     41= Why I'm not able to change polls already rated by some users? =
     42We think that after one user has expressed it's preference anyone must change the answers.
     43So we have developed in this way.
     44
    3445= How can I ask support for this plugin? =
    35 We trust the plugin is really simple but, if the plugin is too complex for you, please use the support forum.
     46We trust the plugin is really simple but, if it is too complicated for you, please use the support forum.
    3647
    3748== Screenshots ==
     
    5667* Bugfix: Wrong defined label in Simple Poll Settings
    5768
     69= 1.0.5 (2012-03-25) =
     70* Improvement: Multiple polls per page are now allowed
     71* New: added some answers in the FAQ.
     72
    5873== Upgrade Notice ==
    5974
  • simple-poll/trunk/toSendIt-SimplePoll.php

    r520176 r523332  
    22/**
    33 * @package Simple Polls
    4  * @version 1.0.4
     4 * @version 1.0.5
    55 */
    66/*
     
    99Description: Plugin that allow admin to create infinite polls and registered users to express just one preference per poll.
    1010Author: toSend.it di Luisa Mara
    11 Version: 1.0.4
     11Version: 1.0.5
    1212Author URI: http://tosend.it
    1313*/
     
    316316                    # We have not voted yet
    317317                   
    318                     if(isset($_POST) && count($_POST)>0 && isset($_POST['answer']) && is_numeric($_POST['answer'])){
     318                    if(isset($_POST)
     319                            && count($_POST)>0
     320                            && isset($_POST['answer'])
     321                            && is_numeric($_POST['answer'])
     322                            && isset($_POST['poll'])
     323                            && is_numeric($_POST['poll'])
     324                            && $_POST['poll'] == $id
     325                        ){
    319326                        $answer = $_POST['answer'];
    320327                       
     
    338345                                </fieldset>
    339346                                <p>
     347                                    <input type="hidden" name="poll" value="%1$d" />
    340348                                    <input type="submit" value="%s" />
    341349                                </p>
Note: See TracChangeset for help on using the changeset viewer.