WordPress.org

Ready to get started?Download WordPress

Forums

WP Survey And Quiz Tool
Stop Stuffing the surveys (4 posts)

  1. robanna
    Member
    Posted 3 years ago #

    Is there already a feature to stop someone from submitting a survey multiple times (stuffing the box)?

    Since the IP is being tracking I would think it would be an easy addition if it's not already there. (easy for someone who knows what they're doing which is not me.)

    Thanks-
    Robanna

  2. Backie
    Member
    Posted 3 years ago #

    Not currently but I've added it to the list for the next release.

  3. robanna
    Member
    Posted 3 years ago #

    I see it was add to quizes but will you also be adding this feature to surveys too?

    Thank You!

  4. robanna
    Member
    Posted 3 years ago #

    I've edited the release to include limit_one for surveys also if you would like the changes.

    add to...pages/admin/survey/create.php near line 58

    <[Code moderated as per the Forum Rules. Please use the pastebin]

    added to wp-suvery-and-quiz-tool.php near 167

    'limit_one' VARCHAR( 3 ) NOT NULL DEFAULT 'yes',

    near 749

    if ( $oldVersion <= "1.3.27" ){
    $wpdb->query("ALTER TABLE '".WPSQT_SURVEY_TABLE."' ADD 'limit_one' VARCHAR( 255 ) NULL DEFAULT NULL");
    }

    add a file "limit.php" in ...pages/site/survey/

    <h1>Already Completed</h1>

    Thanks for your interest but you have already completed this survey.

    I think that's it but I might have forgotten something.

    I had to manually add the 'limit_one' row to my _wpsqt_survey table though.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic