Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Tomanow

    (@tomanow)

    Thank you!

    Thread Starter Tomanow

    (@tomanow)

    Ah, I solved the problem by inserting this:
    $(this).find('#slider').nivoSlider();

    after this:

    // Prepare
    var $this = $(this);

    in ajaxify.js

    Hopefully this helps someone.

    Naomi provided me with AMAZING support. If you need help with this plugin, I highly recommend sending Naomi a donation for her efforts! You will not regret it.

    Thread Starter Tomanow

    (@tomanow)

    I managed to solve the problem myself by inserting the php from the insert.php file into wp-stripe-functions.php near the end.

    Thanks again for this amazing plugin!

    Thread Starter Tomanow

    (@tomanow)

    Noel,

    Thank you for your response! I have built a rather large form on your plugin visible here but I have a few questions if you wouldn’t mind helping me!

    I am saving all the fields that are not in blue in a separate database (not wordpress). But when I use form action=”insert.php” to inject the data into the database, the sale does not go through. Thus I can either have the sale go through, or have no database entry. Do you know a way to get both to work simultaneously?

    Here is my insert.php code for reference:

    <?php
    
    $con = mysql_connect("localhost","HIDDEN","HIDDEN");
    if (!$con)
      {
      die('Could not connect: ' . mysql_error());
      }
    
    mysql_select_db("HIDDEN", $con);
    
    $sql="INSERT INTO jimmy_tb (first_name, last_name, address_1, address_2, city, state, postal_code, phone, email, golfdinner, dinneronly, sponsorhole, donation, comment, totalpaid, foursome_1, foursome_2, foursome_3)
    VALUES
    ('$_POST[wp_stripe_name]','$_POST[wp_stripe_lastname]','$_POST[wp_stripe_address_1]','$_POST[wp_stripe_address_2]','$_POST[wp_stripe_city]','$_POST[wp_stripe_state]','$_POST[wp_stripe_zip]','$_POST[wp_stripe_phone]','$_POST[wp_stripe_email]','$_POST[PROD_GODIN_275]','$_POST[PROD_DIN_100]','$_POST[PROD_SPONSOR_100]','$_POST[PROD_DONATION_1]','$_POST[wp_stripe_comment]','$_POST[wp_stripe_amount]','$_POST[wp_stripe_foursome_1]','$_POST[wp_stripe_foursome_2]','$_POST[wp_stripe_foursome_3]')";
    
    if (!mysql_query($sql,$con))
      {
      die('Error: ' . mysql_error());
      }
    echo "Form successfully submitted!";
    
    mysql_close($con)
    ?>
    
    <meta http-equiv="refresh" content="2;url=https://www.tomanow.com/jimmystraine/?page_id=31">

    Best,
    Tom

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