Sutherland Boswell
Forum Replies Created
-
Forum: Plugins
In reply to: [Google+ Importer] [Plugin: Google Importer] Google Plus PagesHey there! You shouldn’t have any trouble using it with Pages. Just follow the instructions like you would for a normal account, but use the page’s ID number (which can also be found in its URL) in place of your user ID.
Forum: Plugins
In reply to: [Video Thumbnails] [Plugin: Video Thumbnails] Not working, or?How are you embedding your videos?
Forum: Plugins
In reply to: [Video Thumbnails] Video Thumbnails and Blip.tvHey there,
Blip’s URLs are non-standard as far as I can tell (unlike YouTube), so the only way the plugin can detect a video from Blip is using the embed code. This should be a pretty easy fix, just try replacing line 122 (in v1.8)
$markup = get_post_meta( $post_id, $video_key, true );with
$markup = wp_oembed_get( get_post_meta( $post_id, $video_key, true ) );I’ll try to release an update soon that will fix this, just look for a mention in the changelog.
Forum: Plugins
In reply to: [Video Thumbnails] [Plugin: Video Thumbnails] can't activate the plugincURL is the way the plugin gathers information from several outside video services, and how the plugin saves the thumbnails to your server. I’d talk to your hosting provider (or search Google for threads about your host and cURL) to see if it can be activated on your site.
Thanks, but unfortunately I don’t have the time to develop a plugin for this purpose. Luckily it is a common need so there are a lot of threads and tutorials for doing it in your theme, here’s a good one.
Can you try adding a slash to the end of the URL when trying to load the settings page? Ex:
http://yoursite.com/wp-admin/options-general.php?page=video-thumbnail-options/Another user pointed out that this fixed the problem for him, and if it works for you I should be able to find the bug.
You’ll need Post Thumbnails enabled in your theme (where you’ll set the size) and then you can use the sample code from this page:
<?php if ( has_post_thumbnail()) : ?> <a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" > <?php the_post_thumbnail(); ?> </a> <?php endif; ?>Here’s a tutorial to get post thumbnails to show up on Facebook.
The thumbnail is already stored in a custom field named
_video_thumbnail, so I’d recommend modifying the theme to use that field instead. You should find something likeget_post_meta($post->ID, "thumb", true);in your theme files which could be changed toget_post_meta($post->ID, "_video_thumbnail", true);@unexpectedwebsites had you modified the code in a previous version? Automatic Youtube Video Posts only stores the YouTube video’s ID instead of an embed code or URL, which means the plugin doesn’t know it’s from YouTube. You’ll have to change the line
$markup = get_post_meta( $post_id, $video_key, true );
to
$markup = 'http://youtube.com/watch?v=' . get_post_meta( $post_id, $video_key, true );
and set the custom field value to_tern_wp_youtube_video. Let me know if that doesn’t work.@microo12345 you should only enter something in the custom field setting if your video is being stored in a custom field instead of the regular post content
Glad it fixed the problem, I’ll be sure to include a mention in the changelog. Sorry about the excess thumbnails, in the future I plan on adding some custom metadata to the video thumbnails so that they can all be wiped in case of a failure like this.
I had someone contact me about this problem and I offered a possible solution but never heard back, maybe you can test it out. Edit the plugin file and replace this section:
// Check to see if thumbnail has already been found and still exists as a file if( ( ($thumbnail_meta = get_post_meta($post_id, '_video_thumbnail', true)) != '' ) && wp_remote_retrieve_response_code(wp_remote_head($thumbnail_meta)) === '200' ) { return $thumbnail_meta; }with this:
// Check to see if thumbnail has already been found and still exists as a file if( ( $thumbnail_meta = get_post_meta($post_id, '_video_thumbnail', true)) != '' ) { return $thumbnail_meta; }Forum: Plugins
In reply to: [Video Thumbnails] [Plugin: Video Thumbnails] Thumbs stopped working?…If downgrading doesn’t solve the problem then the timing with the update must have been a coincidence, are you copying and pasting the embed code from YouTube or just using the video’s URL? I’m trying to recreate the problem so the more details the better.
Forum: Plugins
In reply to: [Video Thumbnails] [Plugin: Video Thumbnails] Thumbs stopped working?…Can you try replacing video-thumbnails.php with this version and let me know if it fixes the problem?
If it doesn’t, for now I’d recommend going back to version 1.7.6 until I can find what is causing the problem.
Also, how are you embedding the videos?