Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter ralph88

    (@ralph88)

    Hi there,

    Thanks for you reply.

    We it is working indeed, thanks. However we needed to put a query string into our redirect_url of ?apply=true so that when they are redirected back to a job page the apply overlay is loaded automatically.

    We traced this back to your regex on line 524 of super_socializer.php. We have had to amend the regex to allow query strings. Would you consider altering the regex in the core plugin as we couldn’t see another alternative?

    Our code now looks like this.

    /**
    * Validate url
    */
    function the_champ_validate_url($url){
    $expression = “/^(http:\/\/|https:\/\/|ftp:\/\/|ftps:\/\/|)?[a-z0-9_\-]+[a-z0-9_\-\.]+\.[a-z]{2,4}(\/+[\?\=a-z0-9_\.\-\/]*)?$/i”;
    return (bool)preg_match($expression, $url);
    }

    Thanks

    Ralph

    • This reply was modified 7 years, 7 months ago by ralph88.

    Were there any further developments on this? @heater Have you tested this? Logging in with LinkedIn is still not working on mobile. Would really appreciate any feedback.

    Hi @hivemindnetwork / @heateor

    We have just set up the plugin and have had the same reported by our client. Upon testing we have found that it is not working on safari mobile. We have tested it on an Iphone 6s and an Iphone 7.

    Team Heateor, would you mind testing it on Safari mobile?

    Thanks!

    Ralph

    Thread Starter ralph88

    (@ralph88)

    Thanks very much. Worked perfectly!

    Hi Dan,

    That would be great if you don’t mind. I can’t make it publicly available as Woothemes wouldn’t be too happy but I can give you login details to the staging site which you may be able to debug on? You’re welcome to take a backup if you’d prefer to debug on your local.

    Can you give me an email address or a way I can send you login info privately?

    Hi Dan,

    Sorry for the delay getting back to you.

    I’ve just tested it and yes it does, perfectly. I guess that means it might be something wrong with RBS? I’ve had a response from them saying that they can not help with third party integration.

    It’s odd that it saves the first method that I created with your plugin with the ID of “main” but not the one with the ID of “1453107824”. It doesn’t give any error message either it just says “Settings Saved”.

    Do you have any further suggestions by any chance?

    Cheers

    Ralph

    Hi Dan,

    Thanks very much for your helpful response, much appreciated.

    I tried deactivating and delete RBS to delete all data. Which seemed to reset the settings as when re-uploading and reactivating the settings seemed to be back to the default ones. However this did not fix the issue.

    I also look into the RBS code and saw a couple of options being set as below.

    update_option( ‘woocommerce_shipping_roles’,

    update_option( ‘woocommerce_role_methods_options’,

    However when searching for “woocommerce_shipping_roles” or “woocommerce_role_methods_options” in wp_options I could not find them at all. Also when doing a var_export($options) after it does a get_option before serving up the page it returns false. However still manages to save and show the other settings that are set. Weird.

    I tried creating a duplicate Shipping method in your plugin which would obviously have a new ID but that didn’t work either.

    I have emailed woothemes in the hope of some support! Not quite sure where to go from here.

    Thanks for your help. I you have any further thoughts it would be much appreciated!

    Cheers

    Ralph

    Hi there,

    I’ve done a bit more research into this so wanted to let you know what I’ve found.

    I reverted back to before I updated to WP 4.4.1 and all plugins and just updated yours. I still then found that after your plugin updated it was deactivated. I then reactivated it and checked the settings in Role Based Methods which were lost on the methods I had created with your plugin. I tried resaving them but again the settings weren’t being saved.

    I am running Role Based Methods 2.0.8 (latest version) and can see in their changelog the below which looks as though it could be connected as they have recently added more validation to the settings page.

    2015.10.27 – version 2.0.8
    * Adding in wc_clean for additional sanitization.

    2015.04.28 – version 2.0.7
    * Settings update sanitization

    What I also found that was interesting is that I have create two methods with your plugin. The first one with the ID of ” main ” ( formally ” WC_Weight_Based_Shipping_main ” before the update ) does actually save when saving it on its own or with some of the other methods. However when saving the settings with the second shipping method I created with your plugin the whole form fails validation and so the settings aren’t saved. I also tried just saving the second method on its own but it failed validation again.

    The second shipping method had an ID of ” WC_Weight_Based_Shipping_1407310776 ” before I updated it and is now just ” 1407310776 “

    To sum up it seems to be failing validation only when the second method is trying to be used in the settings. I think this might have something to do with the ID as it only accepts the first one but you’ll know better than me!

    Cheers

    Ralph

    Hi there,

    I have just updated all plugins and also WP to WP 4.4.1.

    I noticed that Weight Based Shipping was deactivated and so went to reactivate it. But I then noticed that it no longer seems to be compatible with Woothemes Role Based Methods plugin. I was using combination of yours and theirs to create certain shipping methods for logged in users (‘customer’ role) and different ones for ‘guest’ users.

    The bug seems to be when I try to assign the methods that I have created using your plugin in their plugin settings to a user role, it doesn’t save and the checkbox is unchecked after refreshing. I can send you a screenshot if you can let me know where to send it if that helps? I tried checking a few of the other checkbox for the standard methods and they worked fine.

    Also, I don’t know if this helps. But I noticed the ID under Woocommerce, Settings, Shipping, Shipping Methods seems to have changed from.

    ” WC_Weight_Based_Shipping_main ” to just ” main “

    Do you have any idea what this could be?

    Really looking forward to hearing from you and thanks in advance!

    Ralph

    I have also just experienced this. Would really appreciate it if somebody can help!
    They are both great plugins indeed!

    Thanks

    Ralph

    Thread Starter ralph88

    (@ralph88)

    Hi Jeroen,

    Thanks for your reply and sorry I must have missed the notification for your first response.

    I have actually managed to sort this now but really appreciate your support.

    Thanks!

    Ralph

    Thread Starter ralph88

    (@ralph88)

    Thanks, I will do.

    Thread Starter ralph88

    (@ralph88)

    My stupidity!

    I had double opt in configured and the email was going to junk. I have disabled double opt in so now updates straight away.

    I guess if it is a contact form you are attaching the check box too you don’t need to confirm their email.

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