• Resolved runseven

    (@runseven)


    Hi,

    I am using both the 12 Step Meeting List plugin, and ACF(Advanced Custom Fields) plugin on a website.

    Both are required plugins for the website.

    Yesterday, I added a time picker to a custom post via ACF, but the picker was not working on the post. It is Jquery based. I went through and deactivated plugins 1 by 1, and discovered that it would work when the 12 Step Meeting List was deactivated. I am not getting any console errors, so I don’t think it is a jquery issue.

    Is this something that you can look into? I will of course notify ACF as well.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter runseven

    (@runseven)

    Update: I’ve also tested this on other sites using both plugins and have the same problem.

    Plugin Author tech2serve

    (@tech2serve)

    I might be able to try to set up a site similar to yours, but it won’t be until late this week at the earliest. Please give me more details about the time picker so I can duplicate that. Was ACF a paid for plugin?

    Please keep me posted on what ACF (especially if paid) has to say.

    wendydunning

    (@wendydunning)

    I’ve actually had this problem with another plugin that uses a time picker as well. The author of that plugin suggested this:” The easiest, and quickest way, would be for the developers of that plugin to only enqueue their admin javascript on the actual pages that they need them”

    I didn’t know how big a request this would be and the site I’m using them on needs both, so the guy told me which lines to put an “if statement” in there lines 38-49 of the functions.php file. I have been updating that every time this plugin gets updated, which BLESS YOU, has been very frequent recently – but it has been kind of hard to keep it updated on my end so that both work.

    If it’s not too much to ask-with the next update- could that be done? I know you are working VERY hard to keep this plugin updated with the current health crisis evolving – just a request.

    Might not even be the same problem, but I thought I would put my 2 cents worth in. thanks!

    wendydunning

    (@wendydunning)

    Sorry, I should have posted this before…

    if (is_admin()) {
    //dashboard page assets
    if(isset($_REQUEST[‘post_type’]) && ‘tsml_meeting’ === $_REQUEST[‘post_type’]) {
    wp_enqueue_style(‘tsml_admin’, plugins_url(‘../assets/css/admin.min.css’, __FILE__), array(), TSML_VERSION);
    wp_enqueue_script(‘tsml_admin’, plugins_url(‘../assets/js/admin.min.js’, __FILE__), array(‘jquery’), TSML_VERSION, true);
    wp_localize_script(‘tsml_admin’, ‘tsml’, array(
    ‘ajaxurl’ => admin_url(‘admin-ajax.php’),
    ‘debug’ => WP_DEBUG,
    ‘google_maps_key’ => $tsml_google_maps_key, //to see if map should have been called
    ‘mapbox_key’ => $tsml_mapbox_key,
    ‘nonce’ => wp_create_nonce($tsml_nonce),
    ));
    }
    } else {

    This change has fixed the problem every time in my case.

    Thread Starter runseven

    (@runseven)

    hey, thanks to both of you!

    Wendy, I will try your work around for now. I’ll let you two know here if that works for me as well.

    Thanks!

    Thread Starter runseven

    (@runseven)

    Ok, works for me too!

    Thank you both, Daniel

    Plugin Author tech2serve

    (@tech2serve)

    @wendydunning, thank you for chiming in on this. We’ll look into the change, but no promises. Since this only appears to be an issue with the time picker, I’d have to make sure the real issue isn’t being masked with the change that then opens us up to other issues.

    Do you have a child theme on your site? An alternative may be to add the modified function in question to your own child theme’s functions.php and then it wouldn’t be overwritten. Of course, any changes we make to that particular block of code would get ignored.

    wendydunning

    (@wendydunning)

    Hey, no problem. Like I said- I didn’t know how big a change I was requesting and I certainly don’t want to make anyone’s job harder. I have checked into the child theme. Working on it!! Thanks for all you do-AWESOME.

    W.

    Plugin Author tech2serve

    (@tech2serve)

    @runseven @wendydunning

    Good news! Someone smart on our dev team was able to put in a change for how we enqueue that should resolve this conflict issue. The fix (fingers crossed) will likely come out in the next release.

    wendydunning

    (@wendydunning)

    I think you’re ALL Genius with a BIG G. Thanks and fingers and toes crossed!!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Plugin Conflict’ is closed to new replies.