Martin Tod
Forum Replies Created
-
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Widget not saving dataHave you had a chance to test it yet? And, if so, did it work?
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Caching – old tweets showingGreat to hear it works!
I had added some code in version 1.8.1 to tackle the non-expiring cache problem – so maybe that started working properly.
Either way, I’m glad the problem is solved!
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Caching – old tweets showingThe new development version should now clear the problem tweets if you set
no_cache=1, load the page and then removeno_cache=1.Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Caching – old tweets showingCurrently the default is
no_cache=FALSE. Changing it tono_cache=0means that the code runs the same way, but that thetext_cache_idgets a different ID – and so you avoid the transient that’s not lapsing.I’ve written a small bit of code that should clear a non-lapsing transient for which
no_cache=1– although I’ve not had a chance to fully test it yet. As soon as I have I’ll upload it as the Development version and let you know.In theory it means you could load the page once with
no_cache=1in your shortcode – and then remove it – and the problem should be resolved.Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Similar Plugin for Facebook?Not yet, I’m afraid.
Sorry about that.
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Caching – old tweets showing… although I will see if I can get the
no_cache=1setting to clear the transients as well – although that will need a bit of development.Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Caching – old tweets showingThis is a problem that occasionally occurs – and I can’t work out how unfortunately! In essence, the ‘transients’ that cache the HTML stop lapsing – which should be impossible.
If you add
no_cache=0to the shortcode, it’s no difference from the default settings but should solve the problem. It won’t cause any problems.Martin
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Caching – old tweets showingOne way to test this is to deliberately test an incorrect set of keys (by changing a letter) vs. the correct set on the settings page – and then comparing error messages!
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Caching – old tweets showingChanging any setting resets the short-term cache. Are you seeing no tweets if that happens?
You can also clear the main Tweet caches by setting
no_cache=1.If no tweets are showing up following a variable change, have the keys on the setting page changed? It sounds as if your site is not picking up tweets and so is relying on the cache
Martin
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] broke my themeMany thanks for the heads-up.
Nothing’s touched the display formatting for several versions, so I’m not sure what could have cause this. Which versions were you upgrading from?
I’m also not entirely sure how it could have broken anything – unless the theme has changed its JavaScript and is loading its own version of jQuery or jQuery Cycle. The symptoms you’re describing sound like a JavaScript clash, but it’s hard to tell.
What happens if you switch from version 1 to version 2 of the Rotating Tweets JavaScript – or vice-versa?
If you send me a link, I’m happy to look at the page to see if there is a tweak I can do to avoid the JavaScript clash (if that’s what the problem is).
Don’t you also have
show_media=1in your shortcode?I’m getting the same problem in Firefox – although not in Chrome. The information is still there, but it’s getting cut off at the bottom.
What happens if you switch to version 2 of the JavaScript on the Rotating Tweets settings page?
Best wishes,
Martin
I’m not sure it’s showing the publisher of the Tweet for any of them – if I’ve understood it correctly.
What shortcode are you using?
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Widget not saving dataIncidentally, the development version is here:
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Widget not saving dataI’ve uploaded a development version which should fix the problem.
It also includes a test of selective refreshing when previewing the site, although there are a few situations where this breaks and rotation doesn’t restart after updating the options.
I’m not sure what you mean… it should show all Tweets the same way.