Martin Tod
Forum Replies Created
-
Excellent!
Something’s happening with the Minify script which means that it’s dropping Rotating Tweets from the page. It’s in the HTML for the section that reads
<script type="text/rocketscript" data-rocketsrc='http://agence-logo.fr/agencelogo/wp-content/plugins/bwp-minify/min/?f=agencelogo/wp-content/themes/konzept/modules/functions/portfolio.js,agencelogo/wp-includes/js/comment-reply.min.js,agencelogo/wp-content/plugins/bj-lazy-load/js/bj-lazy-load.min.js,agencelogo/wp-includes/js/wp-embed.min.js,agencelogo/wp-content/plugins/rotatingtweets/js/jquery.cycle.all.min.js,agencelogo/wp-content/plugins/rotatingtweets/js/rotating_tweet.js,agencelogo/wp-content/plugins/kiwi-logo-carousel/third-party/jquery.bxslider/jquery.bxslider.js&x59790'></script>but shows in the console as:
<script type="text/rocketscript" data-rocketsrc="http://agence-logo.fr/agencelogo/wp-content/plugins/bwp-minify/min/?f=agencelogo/wp-content/themes/konzept/modules/functions/portfolio.js,agencelogo/wp-includes/js/comment-reply.min.js,agencelogo/wp-content/plugins/bj-lazy-load/js/bj-lazy-load.min.js,agencelogo/wp-includes/js/wp-embed.min.js,agencelogo/wp-content/plugins/kiwi-logo-carousel/third-party/jquery.bxslider/jquery.bxslider.js&x59790" data-rocketoptimized="true"></script>Many thanks.
If you want a Carousel, you need to be using version 2 of the Rotating Tweets JavaScript – it’s an option on the settings page. This might solve the problem.
Otherwise, it’s quite hard to see what might be causing the problem since the page is quite heavily minified! Does the page work properly if you switch minify off?
There’s a warning on the Shortcode Content Slider, but that shouldn’t be enough to crash the JavaScript.
Martin
The problem is that the Twitter API only allows you to a really short time period for searches (normally 7 days).
Rotating Tweets does use caching to increase this period over time (by keeping older tweets) – but if the kind of tweets you’re looking for are fairly infrequent then you tend not to see many to begin with. There’s no real solution to this unfortunately – apart from patience.
A workaround is to use favourites to capture all the references to you that you like.
Martin
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Possible to ignore our User?The problem is that the API only allows you to a really short time period for searches (normally 7 days) – and only one Tweet is showing up for the period in question.
Rotating Tweets does use caching to increase this period over time (by keeping older tweets) – but if the kind of tweets you’re looking for are fairly infrequent then you tend not to see many to begin with. There’s no real solution to this unfortunately – apart from patience.
A workaround is to use favourites to capture all the references to you that you like – but I can see that both the accounts in question are already using their favourites list fairly actively!
Martin
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Possible to ignore our User?Try something like:
[rotatingtweets search='modgirlmktg mandymodgirl -from:modgirlmktg -from:mandymodgirl' tweet_count='30' show_media='1' timeout='4000']Martin
- This reply was modified 9 years, 4 months ago by Martin Tod.
FYI. The most recent .pot file is here, but it dates from version 1.7.14 of the plug-in.
Here’s my post.
In the mean time, you can start translating here.
- This reply was modified 9 years, 5 months ago by Martin Tod. Reason: Add a suggested step
You need to go here! I’ll try to get you approved to commit language changes.
Martin
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Follow button not displayingIn theory, I could write my own button (probably not very hard to do…)!
Martin
It seems to be back at the previous size currently.
Rotating Tweets normally sizes to the size of the biggest Tweet – and Tweets have recently got bigger!
It might be possible to address this by using the older shorter Tweet format (although this will mean cutting off the end of the Tweet in some cases – and some people don’t want this) or, for example, by shortening links.
Have you had a particularly big Tweet recently that might have done this? Is there a way of changing the way it displays to address this?
If it’s not this, does it help if you change the JavaScript setting on the Rotating Tweets settings page?
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Caching periodAbsolutely. Until someone does 5 more tweets and they get replaced.
There is an occasional problem where Tweets that have been deleted continue to appear as part of a search… Is that your issue?
Martin
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Microsoft Edge FormattingNo coding required.
Try going to the Settings/Rotating Tweets section in the admin section. There’s an option to change the version of JavaScript that’s being used.
Does that work for you?
Forum: Plugins
In reply to: [Rotating Tweets (Twitter widget and shortcode)] Caching periodThe caching only affects how often the data is collected from Twitter, not how long the Tweets are shown for. They’re only shown if they qualify under the settings of the widget or shortcode – for example, if they’re one of the most recent 5 Tweets (if that’s what you’ve asked to be shown).
They only disappear when they no longer qualify to be shown.
Martin