Viewing 15 replies - 1 through 15 (of 35 total)
  • Need help same question aswell please!

    Plugin Author Sutherland Boswell

    (@sutherlandboswell)

    Have you double checked the settings page? “Save Thumbnails to Media Library” and “Automatically Set Featured Image” must both be set, but I assume they are since they’re showing up in the media library.

    Also, when you manually click “Search Again” on the post edit screen, the image won’t show up in the featured image window until the page has been refreshed.

    Thread Starter Kstylez

    (@kstylez)

    Yep I got both selected .. just double checked to be sure .

    I am also seeing this issue. I’ve got the latest version of the plugin 2.0.5 and I’m running WP 3.5.2. There are Video Thumbnails on the post and in Media Manager. I ran the debug tests and all works.

    The only clue I can give is that if I click on “Reset Video Thumbnail” on the post and THEN click on Update, the Featured Image is populated. I don’t think that’s how it was working originally.

    Thanks.
    Steve Gibson

    Thread Starter Kstylez

    (@kstylez)

    @completek i tried that too and was unable to get it to work .. thanks for ur suggestion

    Same problem here. Both options are checked, but the image isn’t set as featured in my posts… Bit weird.

    I think I found the problem we all get.

    I’m using another plugin called Auto Youtube Video Posts. If you have these two plugins installed, you will probably have this problem. This plug-in already sets a featured image but I don’t know if it’s buggy, but this plugin stores the ID of the Youtube picture.

    In the edit post page, WordPress doesn’t understand what’s happening and show the “Set featured image” link as if there was nothing.

    In the Video Thumbnails plugin this is a problem, because the third condition returns a value for the featured image and therefore doesn’t set the video thumbnail as the featured image :

    // Set attachment as featured image if enabled
    if ( $this->settings->options['set_featured'] == 1 && $this->settings->options['save_media'] == 1 && !get_post_thumbnail_id( $post_id ) ) {
    	set_post_thumbnail( $post_id, $attachment_id );
    }

    The best solution I found was to deactivate the buggy function of Auto Youtube Video Posts plugin.

    On line 31 of /core/video.php comment this two lines:

    //add_filter('post_thumbnail_html','WP_ayvpp_thumbnail');
    //add_filter('post_thumbnail_size','WP_ayvpp_thumbnail_size');

    You will have to reset and refresh all thumbnails in Mass Actions.

    Plugin Author Sutherland Boswell

    (@sutherlandboswell)

    Thanks for narrowing down where the conflict is probably coming from! Is everyone else experiencing this also using AYVP?

    Video Thumbnails should be disabling those filters already (check out /php/extensions/class-ayvp-thumbnails.php), but it’s possible that code is trying to remove the filters before they’ve been added. Also, I’m not really sure why disabling these filters would disable AYVP from setting the YouTube ID as the thumbnail ID, but I haven’t looked too deeply into it yet. I really think the developer of AYVP should reconsider storing a YouTube ID in the thumbnail ID field because of the possible conflicts like this it will cause. I’ll look into it some more to see if there’s anything I can do.

    Same problem here, I’m also using Auto Youtube Video Posts but the plugin description page specifically states that Video Thumbnails works with Auto Youtube Video Posts. There’s a disconnect here somewhere. Hey Emielb, I’m gonna attempt that fix but it looks kinda technical. Me and Technical usually don’t get along but thanks.

    I forgot to mention this solution was given by the author of Detube theme (in which both plugins are used), which is a quite skilled WordPress developer. This fix isn’t very pretty but do it’s job without altering AYVP functioning.

    @sondoo: this fix is quite easy to apply and can be reverted very easily, just by removing the //

    Here is a step-by-step how-to:
    (Always remember to make a backup before changes)

    1. In WordPress admin go to Plugins > Editor
    2. Select Automatic Youtube Video Posts in the right upper list
    3. Click on the file automatic-youtube-video-posts/core/video.php
    4. Change line 31 and 32 from:

    add_filter('post_thumbnail_html','WP_ayvpp_thumbnail');
    add_filter('post_thumbnail_size','WP_ayvpp_thumbnail_size');

    to

    //add_filter('post_thumbnail_html','WP_ayvpp_thumbnail');
    //add_filter('post_thumbnail_size','WP_ayvpp_thumbnail_size');

    5. Click on Update File button
    6. Go to Settings > Video Thumbnails > Mass Actions
    7. Clear all Video Thumbnails
    8. Scan Past Posts
    Done!

    You were right about the level of difficulty but unfortunately it didn’t help. I still have the same issue. I’m thinking of trying WP Video Tube. Any thoughts?

    @emielb — i tried that and all my thumbnails got wiped.

    Ok, I did this… it works but now my Posts by Tag plugin thumbnail is not working… please let me know how I can fix this. Thanks.

    Thread Starter Kstylez

    (@kstylez)

    Thanks for the suggestions @emielb but i had no luck .. its still not setting my pictures as a featured pic .. however it is still downloading to my media library and attaching to post …

    @daisychainsaw: That’s kinda weird. Sorry, I don’t know how Posts by Tag plugin works so I can’t help your for that.

    @kstylez: And what is the value stored in your database for featured image?

    —-

    I can’t edit my other post, but step 6 to 8 is not required if it’s not needed to set Video thumbnail as featured image in the past posts.

    Also I think I forgot to say you have to reset the Featured image value in your database, or temporary remove the third condition as mentioned before in order to set a new featured image in your existing posts. I don’t know why AYVP messes up this value.

    *** Of course, always backup before making changes in your database! ***

Viewing 15 replies - 1 through 15 (of 35 total)
  • The topic ‘No featured pics in pst’ is closed to new replies.