Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter evejuan

    (@evejuan)

    Thank you Tim W for your fast reply.

    I’ll try to code to change the name when it shows in page and flag. I’m going to search where it appears.

    If you know any pointer to start (file or mysql), I would be very grateful.

    Thank you again!

    Forum: Plugins
    In reply to: [WP-Polls] Avoid direct url
    Thread Starter evejuan

    (@evejuan)

    Thank you Lester for your fast reply.

    Ok, but can we modify any php file from the plugin to check the POST variables in the previous form or the previous page to activate the poll?

    Example:

    if ($_POST["email"]) {
        activatepoll();
    } else {
        echo "You must fill the previous form";
    }

    or

    if ($_SERVER['HTTP_REFERER']=="http://www.mydomain.com/form.php") {
        activatepoll();
    } else {
        echo "You must fill the previous form";
    }

    Best regards 🙂

Viewing 2 replies - 1 through 2 (of 2 total)