• Resolved inge12

    (@inge12)


    I installed Author Image hoping it would display the image the way Gravatars are displayed for those authors without a Gravatar image.

    It didn’t work for me — perhaps because there is a conflict with the use of gravatars?

    The reason I say this is not for novices is that it looks like a bit of coding is required to make it work correctly.

    And now that I disabled the plugin and the author for whom I wished to use this plugin has registered with Gravatar, I still only get a blank instead of the image, just as I did when Author Image was installed.

    I did all of the following:
    I disabled the plugin,
    I uninstalled the plugin
    Deleted all plugin files.
    Deleted directory apparently installed by plugin.
    Disabled “Show Avatars” and enabled it again.
    Changed settings on default avatars.

    Nothing works, and the author’s gravatar still does not show up. Neither does a default gravatar show up for this author.

    I am not happy!

    Stay away from this plugin unless the author fixes the issue that does not restore original settings to blog when the plugin is disabled and deleted! (See responses to this message. If satisfactory, then my advice does not apply.)

    Oh, yeah … I registered for the support site, but after I deleted the plugin, an attempt to login returned this message “User not found” And, yes, I have the email message that says I was successfully registered, and I used the correct email address.

    If you’re good enough that you could write your own plugin, by all means try out this one!

    https://www.ads-software.com/extend/plugins/sem-author-image/

Viewing 3 replies - 16 through 18 (of 18 total)
  • Plugin Author Mike Koepke

    (@mike_koepke)

    @inge12

    I tried this out with the Weaver ii theme. First, YIKES on that theme! Talk about endless tweaking and options to be set. I couldn’t find any conflict with gravatars or the plugin.

    I was able to establish my gravatar for my login and have that show for posts (once I enabled the gravatars option under Posts Specifics). I enabled the Author Image plugin, edit my profile, upload and image and then have the image show in the sidebar. I also was able to drop the widget into the one of the Weaver widgets areas (like Blog Top widget Area) and have it show on a page.

    If you want to have the image show if no gravatar exists, you’d do something like in this forum thread. https://www.ads-software.com/support/topic/how-to-detect-if-theres-no-gravatar-and-pust-a-custom-message?replies=9

    <?php if(function_exists('get_avatar')) {
       if(validate_gravatar($comment->comment_author_email)){
            echo get_avatar($comment, '80');
       }
       else {
            echo get_avatar($comment, '80');
            echo '<div style="margin-left: 20px;">
             <a href="https://yourblog/minitutorial" title="How">(How?)</a> </div>';
            }
    }
    ?>

    Obviously it would be specific to how Weaver allows you to modify it’s behavior, but in the else block when no gravatar is found you’d call ‘<?php the_author_image();?>’ function. someone in the weaver forum could probably help you with the exaxt code needed.

    Mike

    Thanks Mike, but it does’nt work at all. In the past, I had the author image in the posts. May be it’s due to a new version of the theme, but nothing works with it.

    And with all the plugins using JQuerry, nothing works. And the editior of the theme never gave me a sloution to resolve my problem.

    I think I gonna try to find another nice theme who will works better. Thanks

    Plugin Author Mike Koepke

    (@mike_koepke)

    @inge12

    You’ve inspired me! What you originally posted about makes sense for this plugin. If I have uploaded an image for the author it should also use that as the gravatar for the author in posts and in comment submissions.

    So I’ve gone ahead and implemented the solution. The Author’s Image becomes your gravatar as well on the site. In your case where the author didn’t have a gravatar set, they can now upload a photo in their User Profile and it will be used by any theme that calls get_avatar(), like weaver ii.

    Mike

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Not for novices or the faint-hearted!’ is closed to new replies.