WordPress.org

Ready to get started?Download WordPress

Forums

Wordbooker
WooTumblog Compatibility (13 posts)

  1. Grievy
    Member
    Posted 3 years ago #

    I use a WooThemes Tumblog enabled theme for my blog and do a lot of mobile posting using their Express iPhone app.

    When posting an image entry via the app it saves the photo url into a custom field for display on the site itself. This prevents wordbooker from collecting the image and using it as the image displayed on facebook.

    Is there a way to work around this?

    http://wordpress.org/extend/plugins/wordbooker/

  2. Steve
    Member
    Plugin Author

    Posted 3 years ago #

    If its stored in the post_meta then you should be able to add it to a list of extra fields I search for images.

    If you open wordbooker.php and find the following line:

    $matches_ct[]=get_post_meta($post->ID, 'thumb', TRUE);

    and add after it:

    $matches_ct[]=get_post_meta($post->ID, 'your field name here', TRUE);

    It should work.

    If you tell me the name of the field I'll add it into the next release.

  3. Grievy
    Member
    Posted 3 years ago #

    From what I can see in the SQL database it is being stored in the metadata under the field image but this is a field the plugin is already looking in.

    I'll keep digging but I'm guessing maybe this isn't possible.

  4. Steve
    Member
    Plugin Author

    Posted 3 years ago #

    How odd - Can you turn on the advanced diagnostics and see if Wordbooker is finding that image - and more importantly isn't rejecting it.

  5. Grievy
    Member
    Posted 3 years ago #

    It gets a diagnostic message "Getting the thumbnail image" followed by "Getting the rest of the images" but still displays nothing on facebook.

  6. Grievy
    Member
    Posted 3 years ago #

    As a workaround is there perhaps a way to define a default image to be used if wordbooker can't find an image to use?

  7. Steve
    Member
    Plugin Author

    Posted 3 years ago #

    OK so its not finding the meta field that is holding the image - they are case sensitive so exactly what post_meta field is the woo function using.

    V2 adds support for a default image if non is provided in the post.

  8. Grievy
    Member
    Posted 3 years ago #

    I've found a bizarre twist to all this. The image does not show on the initial publish but if I edit the post and choose to re-publish it to facebook the image then appears.

    Sorry to keep on about this but this has got me really confused now.

  9. Steve
    Member
    Plugin Author

    Posted 3 years ago #

    I wonder if Wordbooker is getting in too early. You could try editing the add_action line in wordbooker.php:

    So find :

    add_action('publish_post', 'wordbooker_publish');
    add_action('publish_page', 'wordbooker_publish');

    and change those to:

    add_action('publish_post', 'wordbooker_publish',20);
    add_action('publish_page', 'wordbooker_publish',20);

    Which should push them right down the priority list.

  10. Grievy
    Member
    Posted 3 years ago #

    Still the same strange situation. No image by default, then it appears once I republish.

  11. Steve
    Member
    Plugin Author

    Posted 3 years ago #

    What's the priority level for the woo function?

    The only way round this in the short term might be to publish to your blog ONLY.

    Then go in and set the Force Republish flag, edit the post and then publish it you to your wall - I know its a pain but at least that way you don't get two wall posts.

    Does it happen if you do the initial publish from the WP back end or does it only do it when you use their app?

  12. Grievy
    Member
    Posted 3 years ago #

    From the backend it works first time, only problem is when using the mobile app. Its an issue I can live with anyway.

    Thanks for the brilliant plugin, looking forward to v2.

  13. Steve
    Member
    Plugin Author

    Posted 3 years ago #

    Hmm - as I don't have an iPhone I can't troubleshoot it but it sounds like part of the image handling just isn't getting processed in the normal flow of things.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags