• Resolved codewarriorx

    (@codewarriorx)


    Hello Martin, I discovered a conflict between your plugin and Cyclone Slider 2. I thought it was similar to this problem but I couldn’t find any scripts being included incorrectly. Though the advice that worked was switching to version 2 of JQuery cycle. I’m not entirely sure where to put this information or if I should contact the author of Cyclone Slider 2. So I apologize if this isn’t the correct place.

    Thanks for making this great plugin!

    – Mike

    https://www.ads-software.com/plugins/rotatingtweets/

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Martin Tod

    (@mpntod)

    Hi Mike,

    You switch to version 2 of JQuery Cycle on the Rotating Tweets settings page when you switch to version 2 of the JavaScript.

    It may not work though because Cyclone Slide 2 also uses version of JQuery Cycle…

    Please let me know what happens!

    Martin

    Thread Starter codewarriorx

    (@codewarriorx)

    Hi Martin,

    The rotating tweets widget wasn’t working with Cyclone Slider 2 on version 1 of the JQuery cycle but does work with version 2.

    – Mike

    Plugin Author Martin Tod

    (@mpntod)

    I’ll see if I can make it automatically adjust to version 2 if Cyclone Slider 2 is present.

    Martin

    trymor

    (@trymor)

    I’ve been having the same problem, only when I switch Rotating Tweets to use cycle2, my next / prev buttons on my cyclone slider flash the next slide and skip to the one after that (though it works fine on autoplay). I’ve tried deregistering RT scripts but I’m afraid it’s a bit above my head. Any suggestions would be mightily appreciated (and do let me know if you need additional info)

    ~ Mor

    Plugin Author Martin Tod

    (@mpntod)

    I’d really need to see the page. The cycle is triggered by HTML code on the page and it sounds like the code for Cyclone Slider might be clashing with the Rotating Tweets code.

    trymor

    (@trymor)

    Thanks… as it’s still in development is there a way I can send it to you privately?

    Plugin Author Martin Tod

    (@mpntod)

    Sure. My contact details are accessible via https://www.martintod.org.uk

    Plugin Author Martin Tod

    (@mpntod)

    The issue is that jquery-cycle2 is being loaded twice – once by RT and once by Cyclone Slider 2.

    I need to take a quick look at how Cyclone Slider 2 uses it. There may be a quick fix here. I’ll take a look.

    Martin

    trymor

    (@trymor)

    Thanks Martin,
    I’ve sent you an email.

    Plugin Author Martin Tod

    (@mpntod)

    I think the solution in the development version may solve your problem.

    In essence, it uses the Cyclone Slider 2 scripts instead of the Rotating Tweets ones (lines 1763-1769 if you’re interested)!

    trymor

    (@trymor)

    Yay! The scripts were being loaded twice with this new code, though… So I removed the 3 lines that loaded the cyclone scripts, and also made sure the Rotating Tweets scripts are being loaded in the footer and Cyclone scripts in the header (otherwise rotating tweets wouldn’t work). I just copied those few lines into rotatingtweets.php and added rotatingtweets_v2_cyclone.js into the plugins js folder… Will this be part of your next plugin update? I ask because I’m wondering what will happen if I update the plugin via WordPress on the next release.

    Plugin Author Martin Tod

    (@mpntod)

    I’ve played around with it to try and stop it loading everything twice (but you might want to save your version before trying it!).

    I will be keeping the changes in the next ‘official’ version.

    trymor

    (@trymor)

    Works great! Thanks for this!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Conflict with Cyclone Slider 2 – temp solution’ is closed to new replies.