Forum Replies Created

Viewing 15 replies - 1 through 15 (of 31 total)
  • Thread Starter oxygensmith

    (@oxygensmith)

    Hey, apologies for the late reply.

    That’s really good to hear. Analytics is showing our Universal and GA4 properties as connected. Before GA4 display is ready, does that mean I can configure the Site Kit plugin with our Universal Analytics property, GA4 will still collect data? I’m just asking because our visit data seems really different between GA4 and Universal Analytics (UA is recording far fewer visits, whereas GA4 is showing the expected visits).

    Cheers, Rob

    Thread Starter oxygensmith

    (@oxygensmith)

    Amazing, thank you!

    Thread Starter oxygensmith

    (@oxygensmith)

    We figured it out. Our page caching plugin was interfering. We just excluded the page from the cache and all was well.

    Reply to aside: Well ’cause OUR SIDE is more correct, and popular hahaha ?? (Just kidding, I honestly think the other side’s concerns aren’t wholly invalid, I just disagree with the solutions)

    Thread Starter oxygensmith

    (@oxygensmith)

    Awesome. I am comfortable writing PHP. It would even be great if there was a filter for this. But an option of course would make it accessible to everyone (if the option could be set by admins only).

    I second the need for a V3 implementation; I think it should come as an option with at least the paid version. But it would really be something if it was across all GiveWP offerings by default.

    Forum: Plugins
    In reply to: [Age Gate] Feature Requests

    Hey Phil,

    I know this is a series of tall orders possibly, but:

    – I would love to see an optional location dropdown that you can turn on (countries, US states, Canadian provinces).
    – In said location options, I would love to have the ability to only let a selection of locations into the site.
    – In said location options, I would love to be able to set a default location as the initial location choice.
    – And I would love an option for the plugin to ‘geolocate’ the user when they first arrive at the site.

    Pro / premium version? ?? If not maybe I will fork and begin work on this…

    Thanks, R

    oxygensmith

    (@oxygensmith)

    Thanks @sampryor and @61pixels for your code, and @bigfuzz for your report – this also has been messing with our development.

    oxygensmith

    (@oxygensmith)

    Hey Chris or anyone with this issue,

    I needed to do the same thing, and I accomplished it with a plugin called Shortcode in Menus.

    Then I just used GLT’s shortcode to put flags in the menu like this, by dropping this code into the menu item made from a Custom Link (in the ‘Navigation Label’ field):

    [ glt language=”French” label=”Fran?ais” image=”yes” text=”no” image_size=”24″ ]

    The URL I used was simply “#”.

    I had to then tweak some CSS in my child theme to get margins / padding matching with the rest of the menu.

    Hope this helps!

    Rob

    Thread Starter oxygensmith

    (@oxygensmith)

    Hey Gmail SMTP – any updates? We’re still getting this error.
    What might the “other issues” be? How could I avoid getting the plugin, or the server, to not use XOAUTH2 for the validation?

    Thread Starter oxygensmith

    (@oxygensmith)

    Hi there and apologies for the delay in responding.

    Here’s information from the Server Info tab.

    We are presently using port: TLS and 587.

    OS: Linux hosting.uber-cloud.com 3.10.0-327.18.2.el7.x86_64 #1 SMP Thu May 12 11:03:55 UTC 2016 x86_64
    PHP version: 5.6.25
    WordPress version: 4.7.3
    WordPress multisite: No
    openssl: Available
    allow_url_fopen: Enabled
    stream_socket_client: Available
    fsockopen: Available
    cURL: Available
    cURL Version: 7.38.0, OpenSSL/1.0.1e

    Thread Starter oxygensmith

    (@oxygensmith)

    Yeah, I have tried that, but on this particular server,

    — it hides the errors,
    — but it doesn’t send the email.

    When I go to test the email with the testing panel, I get this feedback:

    SERVER -> CLIENT: 250-hosting.uber-cloud.com Hello hosting.uber-cloud.com [149.56.182.144]250-SIZE 52428800250-8BITMIME250-PIPELINING250-AUTH PLAIN LOGIN250-CHUNKING250 HELP
    Auth method requested: XOAUTH2
    Auth methods available on the server: PLAIN,LOGIN
    SMTP Error: Could not authenticate.
    CLIENT -> SERVER: QUIT
    SMTP -> get_lines(): $data is “”
    SMTP -> get_lines(): $str is “221 hosting.uber-cloud.com closing connection”
    SERVER -> CLIENT: 221 hosting.uber-cloud.com closing connection
    Connection: closed
    SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

    Would this mean that the SSL certificate is configured incorrectly?

    Thread Starter oxygensmith

    (@oxygensmith)

    Sorry I didn’t get back to this right away. Thanks for the reply! I will try this solution in the next few days.

    Thread Starter oxygensmith

    (@oxygensmith)

    Awesome! This last way to do the code works for me. I’m not sure why do_shortcode doesn’t display anything for me, but as long as this alternative works, I’ll be fine. Thank you so much!

    Thread Starter oxygensmith

    (@oxygensmith)

    Hey there mra13,

    Here’s what I figured out that the issue is.

    Embedding the shortcode normally in a page or post, normally, works:

    [wp_cart_button name="Test Product" price="19.95"]

    But I don’t use the shortcode in the post. Because I’ve been using the plugin more programmatically, I’ve been using it to generate product listings and so on. So I have the site owner enter a price in a field, and I reproduce the form that the shortcode creates on the page in a loop to show products.

    So the products are entered as a custom post type and a custom field holds the price – that gets stored in the variable $the_price and rendered.

    That lets me create pages like this:

    https://woodsbodygoods.com/thegoods/
    https://woodsbodygoods.com/products/lip-shimmer/
    (Note: Right now because the store is closed, I made the “Add to Cart” buttons that my code generated go away)

    When the plugin didn’t check for price validation, that used to work great.

    So I’ve run some tests.

    Just reproducing the form still works no problem, if I do this:

    <p><strong>A great product</strong> ($29.95)</p>
    <div class="wp_cart_button_wrapper">
    <form method="post" class="wp-cart-button-form" action="" style="display:inline" onsubmit="return ReadForm(this, true);" >
    <input type="submit" value="Add to Cart" /><input type="hidden" name="wspsc_product" value="Test Product" />
    <input type="hidden" name="price" value="29.95" /><input type="hidden" name="shipping" value="0" />
    <input type="hidden" name="addcart" value="1" />
    <input type="hidden" name="cartLink" value="https://woodsbodygoods.com/test-page/" />
    <input type="hidden" name="product_tmp" value="Test Product" />
    <input type="hidden" name="item_number" value="" />
    <input type="hidden" name="hash_one" value="a0709891fbffed660233b1bcf7f7a66f" />
    </form>
    </div><!-- ends button-wrapper -->

    But because I need to move the price in there programmatically, I’ve added the first line and changed the second line in the form:

    $the_price = 29.95;

    <input type="hidden" name="price" value="<?php echo $the_price; ?>" />

    As soon as I do this, the form renders okay, but I get the price validation failure when I click the add to cart button. Basically, replacing the hard coded value with a variable throws it.

    As a different approach to this whole problem could work, I’ve also tried rendering the form using PHP’s do_shortcode command with [wp_cart_button name=”Test Product” price=”19.95″] in it, but it does not seem to work for me – nothing renders.

    Any thoughts?

    Thanks!

    Thread Starter oxygensmith

    (@oxygensmith)

    Hi there mra13,

    I’ve re-updated to version 4.10 of the plugin, cleared the cache in three different browsers, and still get the error when I click “Add to Cart” on the https://woodsbodygoods.com/thegoods page.

    Might it be a conflict with another plugin?

    Or with the way the prices are entered in the custom field? Does the software expect a strict price value in the format of 00.00? What exactly is “price validation” doing?

    Thanks again!

Viewing 15 replies - 1 through 15 (of 31 total)