Sutherland Boswell
Forum Replies Created
-
Forum: Plugins
In reply to: [Foursquare Venue] [Plugin: Foursquare Venue] OauthA quick search on Google shows that this is a bug with foursquare. You’ll have to contact their support, which I believe is support@foursquare.com
Forum: Plugins
In reply to: [Foursquare Venue] [Plugin: Foursquare Venue] OauthFrom the plugin’s settings page:
Before using this plugin, you’ll have to set up a free Foursquare API key. Visit foursquare.com/oauth, click “Register a new consumer,” then enter the name of your site, your site’s address, and for “Callback URL” just enter your site’s address again. You’ll be given two keys, “Client ID” and “Client Secret,” which need to be copied and pasted into the matching fields on this page.
Forum: Plugins
In reply to: [Google+ Importer] [Plugin: Google Importer] duplicate importsI was taking care of a timezone bug that was causing some posts to be scheduled in the future, and it looks like this was causing duplicate posts. I’ll be releasing v1.1.1 that will hopefully solve this issue with the timezone fix.
I probably should include an option to increase how many posts back it imports, and importing all past posts is something I’ve planned on adding when I find the time. Another possibility that would also fix the issue of having too many posts in one hour would be to simply having it keep checking next page of results from Google+ until it runs into a post it has already imported.
As for the missing posts, I’d have to take a look to try to figure out what might be causing them to be missed.
Forum: Plugins
In reply to: [Google+ Importer] [Plugin: Google Importer] duplicate importsI’ve heard about this issue from another user and I’d like to resolve it, but I haven’t been able to figure out what is causing the problem for those users. The plugin is supposed to prevent this from happening by storing the Google+ activity ID in a custom field. If you’d like to help me troubleshoot what’s happening in your case please contact me.
Forum: Plugins
In reply to: [Foursquare Venue] [Plugin: Foursquare Venue] OauthYou need to follow the directions on that page to register an application with foursquare and then enter your API credentials on the plugin’s settings page.
Assuming you’ve already modified the plugin for the custom field, all I think you’ll need to do is add a line right after
update_post_meta( $the_post_id, '_videoembed', $video_url);withget_video_thumbnail($the_post_id);If a featured image is already set, Video Thumbnails won’t replace it. If your theme is using
the_post_thumbnail()and the other plugin is also using the official post thumbnail API, there shouldn’t be any way for two images to appear. What is the other plugin?Forum: Plugins
In reply to: auto generate thumbnail from video by scanning whole post – lost plug-inAh, I just realized you’re using
get_post_meta()twice for each source and asking for the wrong field the second time, try this.// gets custom field data $vimeoid = get_post_meta($post_id, 'vimeo_id', true); if($vimeoid) { $markup = 'http://vimeo.com/'.$vimeoid; } else { $youtubeid = get_post_meta($post_id, 'youtube_id', true); if($youtubeid) { $markup = 'http://www.youtube.com/watch?v='.$youtubeid; } } $new_thumbnail = null;Forum: Plugins
In reply to: auto generate thumbnail from video by scanning whole post – lost plug-inI think you’re pretty close, try changing ‘http://youtu.be/’ to ‘http://www.youtube.com/watch?v=’
I don’t think it currently checks for youtu.be links, but it’s something I should add. PS – Donations are always welcome!
Forum: Plugins
In reply to: [Video Thumbnails] [Plugin: Video Thumbnails] Can't Find YouTube ThumbnailsI think you’re pretty close, try changing
'http://youtu.be/'to'http://www.youtube.com/watch?v='I don’t think it currently checks for youtu.be links, but it’s something I should add.
I think there may be something wrong with the method I’m using to create the settings page, as I’ve heard about the same issue with one of my other plugins. I’ve had a hard time figuring it out (since it works on my installation I have no way to test), but I’ll look into the docs to see if I can figure this out.
If any other devs are reading this and might know why the plugin’s settings page isn’t appearing for some people, please let me know!
Forum: Plugins
In reply to: auto generate thumbnail from video by scanning whole post – lost plug-inHey Adam,
I think you were really close to getting it working when you tried the change you mentioned. Like you mentioned, since the field only has the Vimeo ID you need to make one more small change. Instead of changing it to this:
// Gets the post's content $video_key = 'vimeo_id'; $markup = get_post_meta($post_id, $video_key, true); $new_thumbnail = null;Try changing it to this:
// Gets the post's content $video_key = 'vimeo_id'; $markup = 'http://vimeo.com/'.get_post_meta($post_id, $video_key, true); $new_thumbnail = null;Now the plugin should know it’s from Vimeo.
You don’t have to change anything in the plugin, it has to be in your theme. For example:
<img src="timthumb.php?src=<?php video_thumbnail(); ?>&h=180&w=120" width="180" height="120" />