Forums

Avatar / Gravatar Qusetion (8 posts)

  1. zukny
    Member
    Posted 9 months ago #

    I noticed when I change the Default Avatar under the "settings" - discussion tab to something different then the roam2rome standard ( comment )

    It shows that I have adjusted it in the dashboard page, but it doesnt show up in the comments box.

    Also when I added the profile-pic plugin.. I Can see those pictures in the dashboard ( admin area ) but I cant see them in the comments area.

    I think something in the comments php is keeping the default avatar from being over-rided to another avatar. and im lookin for code or some wya to fix this problem

  2. cipote
    Member
    Posted 9 months ago #

    zukny,
    This points to your theme not being compatible with avatar/gravatar. Have you testing this using the default theme?

  3. zukny
    Member
    Posted 9 months ago #

    agh! your right, I just switched to the default theme..... They came up fine!..

    This isnt the only flaw I have found in my theme, its actually starting to get annoying. If i Just knew Php / html i could fix my problems

  4. zukny
    Member
    Posted 9 months ago #

    do you by any chance know the code to put in to fix my question?

  5. cipote
    Member
    Posted 9 months ago #

    Here is info about adding support for Avatars.

    Is there a reason why you don't get a them that is compatible with the version of WordPress you are using?

    You could use the above url to change the code; I found it easier to change themes! ;-)

    Good luck!

  6. zukny
    Member
    Posted 9 months ago #

    hey thanks for the linkk, i ll look through it now , and hopefully i ll figure it out! i ll let you know how it goes.

    supposedly the person that created the theme is working on the new version right now. its the Coffee Desk theme.

    I am sticking with the theme, because it really really works well with my idea.

  7. zukny
    Member
    Posted 9 months ago #

    Hey, Just getting back to you. I tried, I failed! lol.

    The complex thing, is my gravatar is working, but it wont recognize the (profile-pic) plugin, nor will it recognize the (gravatar-monster) option in the settings - discussions folder.

    its complex.. but i think the problem is here in my comments area

    <?php
    $email = $comment->comment_author_email;
    $default = "http://roam2rome.com/wp-content/uploads/2008/07/avtar11.gif"; // size in pixels squared
    $rating = "PG"; // [G | PG | R | X]
    $grav_url = "http://www.gravatar.com/avatar.php?gravatar_id=
    " . md5($email) . "&default=" . urlencode($default) . "&size=" . $size."&rating=".$rating;
    ?>

    <div class="comment_user<?php echo $commentalt; ?>">
    <div class="user_avatar"><img src="<?=$grav_url ?>" height="<?=$size ?>" width="<?=$size ?>" alt="User Gravatar" /></div>
    <div class="user_infos"

    ashame i dont have an understanding of php.. nor do i understand why im using an image on someone elses server as my default.. but hey

  8. zukny
    Member
    Posted 5 months ago #

    Has anyone figured out how to show the avatar/gravatar on the Coffee Desk theme yet?
    I have seen a lot of people using the theme, but no one seems to have figured it out. I will gladly show anyone my Html/php if they have some time to help me.

    Everything shows up well in the dash and on my forum plugin, just not the comments area.

Reply

You must log in to post.

About this Topic