Forum Replies Created

Viewing 15 replies - 16 through 30 (of 92 total)
  • While trying out a different plugin I discovered that I could fix my TML password reset problem simply by updating the permalinks. (Update but change nothing).

    Im running WordPress 4.4.2 TML 6.4.4 on a number of sites some SSL some not. I get the ‘Invalid Key’ message on all the sites. I have also tried testing it on one of my sites that only uses 4 plugins. I disabled all the plugins except TML.

    If I attempt to reset the password (Click ‘Lost Password’. Wait for email. Use link in email). I get the message ‘Your password reset link appears to be invalid. Please request a new link below’.

    Some of the services just display the message ‘Invalid Key’ (as opposed to’Your password reset link appears to be invalid….’. I’m not sure what determines which message you get. I dont use any of the optional modules.

    I’m with jpstones I can’t see anything in these threads that helps especially as the plugin has been updated a number of times since the post was started.

    Thread Starter Dillx

    (@dillx)

    Thread Starter Dillx

    (@dillx)

    Many Thanks for all your help.

    Thread Starter Dillx

    (@dillx)

    Thats great it works now.

    Is there anything that can be done about the delay ? So obviously it runs the woocommerce script the button appears then disappears.

    Thread Starter Dillx

    (@dillx)

    I think there must be a problem with my implementation. All that happens is that all jquery type activity for that area doesnt work any more.
    Nothing makes any difference even an empty jQuery function in the .js file. The file is being loaded as if I remove the code from the header it goes back to how it was.

    This is what I have.

    * Entry in header.php
    ———————————

    <script type=”text/javascript”>
    jQuery(document).ready(function(){
    jQuery(“.single_variation”).f14a_HideAddtoCartButton({
    });
    });
    </script>

    * Entry in functions.php
    ———————————

    function my_scripts_method() {
    wp_enqueue_script( ‘f14a-fp-slider’, get_template_directory_uri() . ‘/js/jcarousellite.js’, array(‘jquery’), ‘1.1’, true );
    wp_enqueue_script( ‘f14a_HideAddtoCartButton’, get_template_directory_uri() . ‘/js/f14a_HideAddtoCartButton.js’, array(‘jquery’), ‘1.1’, true );
    }
    add_action( ‘wp_enqueue_scripts’, ‘my_scripts_method’ );

    * Contents of f14a_HideAddtoCartButton.js
    ———————————————————-

    /* f14a_HideAddtoCartButton */
    /* if no variation being shown – hide add to cart button */
    jQuery( function( $ ) {

    $single_variation = jQuery( ‘.single_variation’ );

    $single_variation.on( ‘show_variation’, function() {
    jQuery( ‘.woocommerce-variation-add-to-cart’ ).show();});

    $single_variation.on( ‘hide_variation’, function() {
    jQuery( ‘.woocommerce-variation-add-to-cart’ ).hide(); });

    })

    Thread Starter Dillx

    (@dillx)

    Ok here’s my js file

    /* f14a_HideAddtoCartButton */
    /* if no default variation hide add to cart button */
    jQuery( function( $ ) {

    $single_variation = jQuery( ‘.single_variation’ );

    $single_variation.on( ‘show_variation’, function() {
    jQuery( ‘.woocommerce-variation-add-to-cart’ ).show();});

    $single_variation.on( ‘hide_variation’, function() {
    jQuery( ‘.woocommerce-variation-add-to-cart’ ).hide(); });

    })

    It is being loaded as if I remove the load command it goes back to how it was before. But have tried changing the show/hide values and it makes no difference.

    Thread Starter Dillx

    (@dillx)

    Ok so I’ve tried that. The result is that the button is always shown and when default variation does exist the price quanities etc arent shown. And the description, additional fields etc that were shown as tabs are now shown in full.

    Are we testing the right field ?

    Thread Starter Dillx

    (@dillx)

    Ok so it nearly works, but the script still overrides things.
    And so you get inconsistent results depending whether you are loading the whole page or just toggling the options.

    I dont know much about jquery. can you post an example here of whats needed for :-

    When variation is shown, show the button.
    When variation is hidden, hide the button.

    I’m sure it would be very helpful for others

    Thread Starter Dillx

    (@dillx)

    By default if you have a default variation you get style “” as below
    <div class=”woocommerce-variation single_variation” style=””>

    That would also do.

    Thread Starter Dillx

    (@dillx)

    Thats not what I want though. I want to show always show the block. For me its not really about the button. The button will take care of itself if I can get the block displayed everytime.

    ‘<div class=”woocommerce-variation single_variation” style=”display: block;”>’

    Thread Starter Dillx

    (@dillx)

    I think all my problems would be solved if I could get this line to always appear instead of it being changed to display:none when there is no default option set.

    ‘<div class=”woocommerce-variation single_variation” style=”display: block;”>’

    Thread Starter Dillx

    (@dillx)

    We want the area to appear and if you delete the element.style in firebug then the formatting is fine.

    The alternative is that the button doesnt appear if the area doesnt appear.

    We used to have the smallest quantity and the button displayed in that area irrespective of whether there was a default option selected for the product or not.

    Thread Starter Dillx

    (@dillx)

    Using Firebug you can see this.
    (the display:block is crossed out)

    ‘element.style {
    display: none;
    }
    .single_variation {
    background: #efebdd none repeat scroll 0 0;
    display: block;
    font-size: 1.3em;
    margin: 0;
    padding: 1.1em;
    position: relative;
    }

    The element.style is i think achieved by a script as sometimes you can see the area before it disappears.

    Thread Starter Dillx

    (@dillx)


    ### WordPress Environment ###

    Home URL: https://www.14atest.ragdog.co.uk
    Site URL: https://www.14atest.ragdog.co.uk
    WC Version: 2.5.2
    Log Directory Writable: ? /var/sites/1/14atest.ragdog.co.uk/public_html/wp-content/uploads/wc-logs/
    WP Version: 4.4.2
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    Language: en_US

    ### Server Environment ###

    Server Info: Apache
    PHP Version: 5.4.42
    PHP Post Max Size: 100 MB
    PHP Time Limit: 60
    PHP Max Input Vars: 1000
    SUHOSIN Installed: –
    MySQL Version: 5.6.21
    Max Upload Size: 100 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?

    ### Database ###

    WC Database Version: 2.5.2
    :
    woocommerce_sessions: ?
    woocommerce_api_keys: ?
    woocommerce_attribute_taxonomies: ?
    woocommerce_termmeta: ?
    woocommerce_downloadable_product_permissions: ?
    woocommerce_order_items: ?
    woocommerce_order_itemmeta: ?
    woocommerce_tax_rates: ?
    woocommerce_tax_rate_locations: ?

    ### Active Plugins (22) ###

    Akismet: by Automattic – 3.1.7
    Categories Images: by Muhammad Said El Zahlan – 2.5.2
    Contact Form 7 Honeypot: by Nocean – 1.8
    Contact Form 7: by Takayuki Miyoshi – 4.3.1
    Custom Taxonomies Menu Widget: by Ade Walker
    Studiograsshopper – 1.4

    Delightful Downloads: by Ashley Rich – 1.6.4
    MailChimp for WordPress: by ibericode – 3.1.1
    News-Ticker: by Daniel Sachs – 2.1.2
    Theme My Login: by Jeff Farthing – 6.4.4
    Ultimate Tag Cloud Widget: by Rickard Andersson – 2.7.2
    WooCommerce Dynamic Pricing: by Lucas Stark – 2.10.5 – 2.10.11 is available
    WooCommerce Smart Export: by Themology – 1.1.1
    WooCommerce Google Analytics Integration: by WooThemes – 1.4.0
    WooCommerce MailChimp: by Adam Anderly – 1.3.7
    WooCommerce PDF Invoices & Packing Slips: by Ewout Fernhout – 1.5.27
    WooCommerce Product Bundles: by WooThemes – 4.13.1 – 4.13.3 is available
    WooCommerce Table Rate Shipping: by Mike Jolley – 2.9.2
    WooCommerce: by WooThemes – 2.5.2
    WooThemes Helper: by WooThemes – 1.5.9
    Wordfence Security: by Wordfence – 6.0.24
    Yoast SEO: by Team Yoast – 3.0.7
    WP Customer Reviews: by Go Web Solutions – 3.0.8

    ### Settings ###

    Force SSL: –
    Currency: GBP (£)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2

    ### API ###

    API Enabled: ?
    API Version: 3.1.0

    ### WC Pages ###

    Shop Base: #6 – /shop/
    Cart: #7 – /cart/
    Checkout: #8 – /checkout/
    My Account: #10 – /my-account/

    ### Taxonomies ###

    Product Types: bundle (bundle)
    external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)

    ### Theme ###

    Name: Fourteenacre
    Version: 1.2
    Author URL:
    Child Theme: ? – If you’re modifying WooCommerce on a parent theme you didn’t build personally
    then we recommend using a child theme. See: How to create a child theme

    WooCommerce Support: ?

    ### Templates ###

    Overrides: –

Viewing 15 replies - 16 through 30 (of 92 total)