WordPress.org

Ready to get started?Download WordPress

Forums

Tweet Blender
Tweet blender not loading tweets (18 posts)

  1. Zemkad
    Member
    Posted 2 years ago #

    Yesterday I have updated one of the web sites that I manage to wordpress 3.2.1 and Tweet blender stopped working.

    Here it is: http://cutec.org/

    It says that no tweets can be found for the queries provided even though it was working fine before.

    http://wordpress.org/extend/plugins/tweet-blender/

  2. kirilln
    Member
    Plugin Author

    Posted 2 years ago #

    Hello,
    checked your site and see 2 javascript errors in your theme that seem to be blocking Tweet Blender execution. You can use FireFox with Firebug to check them out.

    Everything else seems to be set up and configured properly.

  3. Zemkad
    Member
    Posted 2 years ago #

    Dear Kirill,

    Thank you for the suggestion. The problem is difficult to debug because it is related to the jQuery plugins.

    I have tried 2 configurations for my theme. First one:

    <?php
    wp_enqueue_script('jquery');
    wp_enqueue_script('cufon', get_stylesheet_directory_uri() . '/js/cufon.js');
    /*wp_enqueue_script('Myriad', get_stylesheet_directory_uri() . '/js/Myriad_Pro_700.font.js');*/
    wp_enqueue_script('Effects', get_stylesheet_directory_uri() .'/js/effects.js');
    wp_enqueue_script('easing', get_stylesheet_directory_uri() . '/js/jquery.easing.1.1.js');
    wp_enqueue_script('carousal', get_stylesheet_directory_uri() . '/js/jcarousel.js');
    ?>
    <?php
    	/* We add some JavaScript to pages with the comment form
    	 * to support sites with threaded comments (when in use).
    	 */
    	if ( is_singular() && get_option( 'thread_comments' ) )
    		wp_enqueue_script( 'comment-reply' );
    
    	/* Always have wp_head() just before the closing </head>
    	 * tag of your theme, or you will break many plugins, which
    	 * generally use this hook to add elements to <head> such
    	 * as styles, scripts, and meta tags.
    	 */
    	wp_head();
    ?>

    Slider works but Tweet Blender doesn't. It needs manual updating.

    After the removal of this block your plugin works well while the slider on our page does not:

    <?php
    wp_enqueue_script('jquery');
    wp_enqueue_script('cufon', get_stylesheet_directory_uri() . '/js/cufon.js');
    /*wp_enqueue_script('Myriad', get_stylesheet_directory_uri() . '/js/Myriad_Pro_700.font.js');*/
    wp_enqueue_script('Effects', get_stylesheet_directory_uri() .'/js/effects.js');
    wp_enqueue_script('easing', get_stylesheet_directory_uri() . '/js/jquery.easing.1.1.js');
    wp_enqueue_script('carousal', get_stylesheet_directory_uri() . '/js/jcarousel.js');
    ?>

    I assume that your plugin uses the version of jQuery that is not provided by WordPress. Would it be possible to substitute the calls to those files for the "standard" wordpress functions?

    Basically, I do not know where to go from here because it seems to be the calls to the jQuery libraries that mess things up :(

  4. kirilln
    Member
    Plugin Author

    Posted 2 years ago #

    @Zemcad: Tweet Blender uses the version of jQuery that ships with WP. You'll see the call to wp_enqueue_script('jquery'); in tweet-blender.php

    I'd help you figure this out but would need temp admin access and possibly FTP access. If you can provide that, just email details to tweetblender AT gmail DOT com and I'll take a look at your theme.

  5. kromedesign
    Member
    Posted 2 years ago #

    We're also having issues with tweet blender not loading posts... oddly though it loads them first time around, then the only way it will load them again is if you deactivate the plugin - and activate it again. We were wondering if it might be a caching issue - we've bought the tweet caching plugin and have it running alongside W3 Total Cache

  6. kirilln
    Member
    Plugin Author

    Posted 2 years ago #

    @kromedesign: what's the url of the site? W3 Total Cache could definitely have something to do with it but I'd need to look at the site to see what's up

  7. kromedesign
    Member
    Posted 2 years ago #

    it's http://www.cloudsoftcorp.com/category/blog/ - we've tried taking off W3 cache on their dev site but still seem to be having the issue. I've assumed when it says 'once on load' in the widget that should be every time the page loads it will try and refresh?

  8. kromedesign
    Member
    Posted 2 years ago #

    oh - and thanks for looking :-) !!!

  9. kromedesign
    Member
    Posted 2 years ago #

    We've also tried saving out the cached tweets to a CSV and loading them into the dev site - but it jsut says all 13 record generated errors. The CSV looks fine in excel ...

  10. pie123
    Member
    Posted 2 years ago #

    Hello thx for the plugin, it's all properly installed, works fine..
    But i have the same issue, If w3 total cache is on, it's not loading tweets, when i disable w3 it all works fine, in the w3 total cache there is a rule for things not to cache "plugins", but thats not working.

  11. kirilln
    Member
    Plugin Author

    Posted 2 years ago #

    @kromedesign: sorry it took forever but I just looked at your site in FF and do see the recent tweets. As far as import errors, can you send me that CSV? I'd like to see what's up. I'm at tweetblender AT gmail DOT com

    @pie123: what's the url of your site?

    I'll do some additional testing with W3 total cache before next release.

  12. kromedesign
    Member
    Posted 2 years ago #

    A quick update this end - the plugin did seem to start working, which was great. However we think it may haveconflicted with W3 total cache - causing 500 errors on the server. So - we've had to remove it for now :-( .. which stopped the 500 errors - a real shame as it's a great plugin!!

  13. pie123
    Member
    Posted 2 years ago #

    I just tested it..

    For me its only causing issues when you enable "minify" with js minify: in w3total cache

    You can set minify on enable, but manual, then the tab on top click minify and disable JS minify settings, does that work ?

  14. kromedesign
    Member
    Posted 2 years ago #

    Ah - we'll give that a go!

  15. kromedesign
    Member
    Posted 2 years ago #

    Settings set - we'll give that a little while and check for 500 errors and errors in the server log - fingers crossed, thanks for the heads up!

  16. kirilln
    Member
    Plugin Author

    Posted 2 years ago #

    @pie123: thanks for the update. I think w3total cache is trying to minify my JS files which are already minified and that's the root cause of this. I'll dig more and v3.4.0 should work OK without conflicts

  17. kromedesign
    Member
    Posted 2 years ago #

    Hi Kirilln, the minify settings in w3 total cache didn't seem to fix the issue ... however we went into 'advanced settings' and ticked 'Disable data caching' to on .. and we now see to have no 500 errors on the page.

    I'm not sure how that will affect the performace of the plugin or if it will impact on the cached tweets stored by the additional caching plugin?

  18. jcx1028
    Member
    Posted 2 years ago #

    Kirilln, I had Tweet Blender in the sidebar of http://www.skyrimming.com for a few days and was liking it immensely until it decided to stop displaying any tweets. I am getting Javascript errors that appear to be caused by the Google ads on the page... could this be causing the problem? Other than that, I also installed W3 Total Cache, but if I remember correctly, Tweet Blender stopped working even before I minified the JS.

    Any suggestions? Any help you can provide is greatly appreciated.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic