Forums

[resolved] Add Local Avatars (6 posts)

  1. trils
    Member
    Posted 3 years ago #

    hello,

    i'm trying to get local avatars to work but i always get an error on the page.

    Warning: Missing argument 1 for get_avatar(), called in /usr/home/deb1053/domains/tlg.be/public_html/wp-content/themes/blue-glow/page.php on line 5 and defined in /usr/home/deb1053/domains/tlg.be/public_html/wp-content/plugins/add-local-avatar/avatars.php on line 45

    I have no idea what it means.

    i've read something about putting the code in the loop but can't really undestand what it means.

    I've tried to read the pages about the loop but its hard to understand it in english, as this is not my native tongue.

    Any help please.

    Thanks. :)

    http://wordpress.org/extend/plugins/add-local-avatar/

  2. AllenPapapetrou
    Member
    Posted 3 years ago #

    Hello trils,

    I got Avatars working on my blog's home page yesterday. I show the author's avatar in Article headers. Editing the theme's index.php file I insert:

    <?php echo get_avatar(get_the_author_ID()); ?>

    where I wanted the avatar to appear.

    Allen

  3. trils
    Member
    Posted 3 years ago #

    thanks a bunch, finally got evrything working as well. :)

    it seems that echo word is a big deal. ;)

    thanks again.

  4. DJ Charlie
    Member
    Posted 3 years ago #

    Different problem here...

    The avatars show up, but when any of my editors go to make a new post, we get a 500 (Internal Server) error. Of course, the post makes it to the front page anyway, but that error is -really- annoying!

    Any way to fix this?

  5. gpgiuit
    Member
    Posted 3 years ago #

    hello I've installed this plugin, but I now see my admin avatar, I have setted same avatar for other users, but it doesn't appear, appears the default avatar.

    And how can I modify avatar for each user?
    Can each user modify his avatar from himself?

    Thanks

  6. peterwsterling
    Member
    Posted 3 years ago #

    DJ Charlie: I don't think your 500 error problem is anything to do with this plugin!

    gpgiuit: Yes, you can now allow users to upload their own avatars. As for your problem, I don't really understand what you are saying. All of the options are on the Users > Avatars page... This is also where you can set individual avatars for your users. Good luck!

Topic Closed

This topic has been closed to new replies.

About this Topic