WordPress.org

Ready to get started?Download WordPress

Forums

Collapse-O-Matic
[resolved] Compatability w 3.5?? (23 posts)

  1. AMCS
    Member
    Posted 1 year ago #

    Hi, I've just upgraded a site I'm building to WordPress 3.5, and the Collapseomatic plugin seems to have stopped working. Can anyone give me an idea why??

    I'm meant to be launching this site in the New Year and was hoping to get the last few niggles out of the way this week... Have loved the plugin thus far, but no idea why it is not displaying now!

    The page I have the plugin working on is here

    http://wordpress.org/extend/plugins/jquery-collapse-o-matic/

  2. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    Hello AMCS,

    The plugin has been tested with 3.5 without 'niggles'. Can you post the exact shortcode you are using on the link you posted? We checked and there seems to be no JS errors, however ALL of your titles seem to be blank!

    Worry not, we'll get you squared away in plenty of time for your launch.

  3. AMCS
    Member
    Posted 1 year ago #

    Hi Baden, thanks for getting back to me so quick.

    There are multiple instances of the following shortcode on the page
    [expand title="<img src="http://www.limegreenmedia.net/htdocs_v2/wordpress/wp-content/uploads/2012/11/bma_h63.jpg" alt="" />" tag="div" targclass="bma" rel="client-highlander"]

    With several paragraphs of content between the [expand... and the [/expand] in each case. The targclass changes each time, as does the img src.

    What do you mean "ALL of your titles seem to be blank"??

  4. AMCS
    Member
    Posted 1 year ago #

    OK, seem to have fixed it.
    In the past I have had a few problems when updating the page, which were resolved by clearing the page HTML and reentering it from scratch (I have the HTML saved separately as the page is quite complicated).

    I have done the same again today, and this seems to have fixed the issue.

    Any idea why this is required?? Do other users have this porblem with the plugin?

  5. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    Ah, I think I see the problem: You are using double quotes inside your title value. Try this instead:

    [expand title="<img src='http://www.limegreenmedia.net/htdocs_v2/wordpress/wp-content/uploads/2012/11/bma_h63.jpg' alt='' />" tag="div" targclass="bma" rel="client-highlander"]

    See what I did there?

    Bad: title="<img src=" <-- Double Quotes
    Good: title="<img src=' <--Single Quote

    Give that a try and let us know how it goes for you.

  6. Nick Wingfield
    Member
    Posted 1 year ago #

    I've just updated Collapse-O-Matic plugin from version 1.4.9 to version 1.5.1 (WordPress is 3.5.1)

    As soon as I did so, Collapse-O-Matic stopped working. Wouldn't let me expand text.

    At the same time, another plugin (Meteor Slides) also failed. The image slider on the homepage became a blank grey box.

    I contacted the Meteor Slides forum and the author (JLeuze) said I had some Javascript errors on my site and suggested problem was another plugin.

    This is the site as JLeuze saw it:

    Homepage with missing slider: http://test8.nickwingfielddesign.co.uk

    Page where Collapse-O-Matic isn't working: http://test8.nickwingfielddesign.co.uk/planning-solutions/

    So I tried deleting the new version of Collapse-O-Matic (1.5.1) and restoring the old version (1.4.9). As soon as I did, both Collapse-O-Matic and Meteor Slides started working correctly.

    Hope this helps ...

  7. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    Nick: with 1.5.1 there is an issue with SOME installs and livequery. You, sadly, have one of those systems. Simply downgrade to version 1.4.9: http://downloads.wordpress.org/plugin/jquery-collapse-o-matic.1.4.9.zip and you should be golden.

    We'll get this sussed out for the next release. In the mean time, sorry for the wonkyness!

  8. Nick Wingfield
    Member
    Posted 1 year ago #

    Thanks Baden

    No problem for me to downgrade to 1.4.9

    Just wanted to give you some feedback in case it helped you make your revision.

    Great plugin by the way!

  9. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    thanks! it's folks like you that make it so.

  10. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    We just released version 1.5.2c that addresses the livequery issue. If you are brave or board, please download and upgrade to 1.5.2c from the Plugin Oven: http://plugins.twinpictures.de/plugins/collapse-o-matic/

  11. Nick Wingfield
    Member
    Posted 1 year ago #

    Hi Baden

    Just tried 1.5.2c

    I'm afraid it still doesn't work for me - and still stops Meteor Slides plugin from working

    Perhaps its just me?

    Anyway, no problem for me to go back to 1.4.9 - that works fine

  12. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    Hmm... Nick, which version of WP are you running?

  13. Nick Wingfield
    Member
    Posted 1 year ago #

    3.5.1

  14. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    OK.. we need to figure out what the what-what is causing this. We'll get back to you. Ooofa.

  15. Nick Wingfield
    Member
    Posted 1 year ago #

    Let me know if you want me to re-install 1.52c on my site so you can see problem.
    Only a test site so it doesn't matter if its not working for a while
    Currently its back to 1.4.9 and working fine

  16. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    Lets find a time where we can both work on this to minimize the wonkyness for your visitors.

  17. Nick Wingfield
    Member
    Posted 1 year ago #

    No problem Baden - whenever you like.

    My live site (http://www.projectplanservices.co.uk/planning-solutions/) seems to be working fine with Collapse-o-matic 1.4.9 and WordPress 3.5.1 so my visitors have no problem.

    Test site (http://test8.nickwingfielddesign.co.uk/planning-solutions/) is also working fine too because it is using same combination. But if it helps you I'll change it back to Collapse-o-matic 1.52c so you can see the problem that causes.

    No worries either way ...

  18. Nick Wingfield
    Member
    Posted 7 months ago #

    Hi Baden

    Just tried the latest version (1.5.4) - but I'm afraid I still get the same problems I described 9 months ago (see my first post above). I had the same problems with 1.5.3.

    So for the last 9 months I've had to stick with 1.4.9.

    I'm not saying I have any problems with 1.4.9 - it appears to be working fine for me - I'm not really sure what improvements I'm missing - but I just thought I should keep you informed for subsequent updates.

    Great plugin, by the way!

    Nick

    PS. I'm running WordPress 3.7.1. All other plugins are up to date

  19. Baden
    Member
    Plugin Author

    Posted 7 months ago #

    Hello Nick,

    Just took another look at your site and here is the problem:
    Simple Events Calendar 1.3.4 by Jerry G. Rietveld of Studio Stacks (www.studiostacks.com) is force-loading an ancient version of jQuery that overwrites the version that WordPress already loaded. If you look at your source you will see the following:

    <script type="text/javascript" src="http://jquery.bassistance.de/accordion/lib/jquery.js"></script>

    This is jQuery 1.2.3b from 2008.

    Please verify that when you de-activate the simple events calendar plugin our plugin works. We look forward to learning your results.

  20. Nick Wingfield
    Member
    Posted 7 months ago #

    Hi Baden

    Thanks for looking into my situation.

    I've just tried deactivating Simple Events Calendar 1.3.4 and updating Collapse-O-Matic.

    Unfortunately the problem is the same.

    I haven't changed it back yet so you can see for yourself:

    http://test8.nickwingfielddesign.co.uk
    Homepage now has grey box instead of Meteor Slides image slider

    http://test8.nickwingfielddesign.co.uk/planning-solutions/
    This is the page using Collapse-O-Matic. You'll see they don't open any more

    I'll leave the test site up like this until you get back to me.

    Once again, thanks for looking into this

    Cheers

    Nick

  21. Baden
    Member
    Plugin Author

    Posted 7 months ago #

    Wow, you have TWO MORE forced oudated jQuery loads:

    <script type="text/javascript" src="http://jquery.bassistance.de/accordion/lib/jquery.js"></script>

    and direct in your theme's header.php file:

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>

    Here is an article that should give you a better idea of what is going on:
    http://msyk.es/blog/prevent-jquery-wordpress-theme/

    If you want us to come in and fix your theme and plugins for you, please contact us at support [at] twinpictures [dot] de and reference this thread.

  22. Nick Wingfield
    Member
    Posted 7 months ago #

    Brilliant Baden! You’ve solved it!

    I read the article you directed me to.

    Then from footer.php, I deleted:

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>

    That didn’t change anything. So I looked at header.php.

    I deleted, a whole chunk of jQuery that all seemed to be about accordion:

    <script type="text/javascript" src="http://jquery.bassistance.de/accordion/lib/jquery.js"></script>
    	<script type="text/javascript" src="http://jquery.bassistance.de/accordion/lib/chili-1.7.pack.js"></script>
    
    	<script type="text/javascript" src="http://jquery.bassistance.de/accordion/lib/jquery.easing.js"></script>
    	<script type="text/javascript" src="http://jquery.bassistance.de/accordion/lib/jquery.dimensions.js"></script>
    	<script type="text/javascript" src="http://jquery.bassistance.de/accordion/jquery.accordion.js"></script>
    
    	<script type="text/javascript"><!--
    
    			// second simple accordion with special markup
    			jQuery('#tableSolutions .basic').accordion({
    				    autoHeight: true
    			});
    
    		//-->
    	</script>

    When I did this everything worked.

    Finally I reactivated Simple Events Calendar 1.3.4 - and it still worked!

    A couple of notes:

    1. I didn’t create the theme - I took over from someone else - but I’ll watch out for jQuery conflicts in future!

    2. I assumed the accordion stuff related to Collapse-O-Matic. But now I suspect it's from a similar plugin that I tried and discarded. I’m pretty sure I would have deleted it the correct way - so it's bad if it has left a load of unwanted code in the header!

    Anyway, problem solved - and I apologise for thinking for a moment that Collapse-O-Matic was the cause of the problem.

    MANY MANY THANKS

    Nick

  23. Baden
    Member
    Plugin Author

    Posted 7 months ago #

    Glad everything worked out for you!
    if you are happy and you know it: vote for pedro!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic