Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter thaynejo

    (@thaynejo)

    By that I mean that the website you are given may be:

    tmiyoshi.example.com

    while the one I am given is:

    jthayne.example.com

    This allows us to know who is typing in the url and to show content based on that. But for me to use CF7, I need to be able to get the full URL in the form, and it currently is not being passed through.

    Thread Starter thaynejo

    (@thaynejo)

    I found the solution for my issue.

    I found that the key is that when the form is submitted, the “sent” class is added to the <form> tag. As such I added a test to see if it exists and redirects to the thank you page if it does.

    Added code:

    <script type="text/javascript">
    jQuery(function($){
      if (!$("form.wpcf7-form").hasClass("sent")) {
        $("form.wpcf7-form").submit();
      } else {
        window.location="url";
      }
    });
    </script>
    Thread Starter thaynejo

    (@thaynejo)

    I was able to sort this out. There was a hidden character in the javascript that was causing the datepicker to error out in chrome. This is resolved.

    Thread Starter thaynejo

    (@thaynejo)

    Not sure what happened with the single_image size missing then. This all existed prior to me. It is possible then that those images were uploaded before coupon creator was installed. Though why it was showing a smaller size on the previous versions, I am still stumped.

    No problem on the Ignore Expiration field value. I am just glad I figured it out. With 240+ sites all running the plugin, it was going to be a headache otherwise. lol.

    I appreciate the quick response and the offer to help. In the way of full disclosure as well, I did create a secondary plugin that allows for the Google UA code to be inserted in to the coupon print page. I realize this is part of the Pro version, so I am not releasing it to anyone else. We would look into upgrading the version instead, but the price is a bit prohibitive for us with the number of sites we have (and are growing at more than 10 per month).

    Thread Starter thaynejo

    (@thaynejo)

    Ok. So I found the issue. The problem is that the single-coupon image size does not exist on the previously uploaded images. My guess is that that was something that was removed in the upgrade from 1.80 while getting ready for pro. Either that or it was not a concern.

    I will need to manually go in an add it to the serialized array in order to get it working again unless you have another way to get the size added?

    I have already had to add a script to update the expiration value from ‘on’ to 1 when admin is loaded so that that feature is no longer broken during the upgrade. Making this change should not be too big a deal.

    Thanks.

    Thread Starter thaynejo

    (@thaynejo)

    You can view the issue here: https://*************.com/all-coupons/ (removed because solution found)

    It seems that the ‘single_coupon’ image size is only being applied to one of the coupons (the second one). Because of that, the correct url is not being applied to the remainder.

    Not sure what to do on this as it is within the loop, and they should all be generating the same way.

    Thread Starter thaynejo

    (@thaynejo)

    Thank you for your response. I will try and get my wife to switch from categories to tags so that this will be possible.

    Thanks again for the help.

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