Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Forum: Plugins
    In reply to: User Photo Gravatar

    Hi,

    I replaced it how surfalot told, but with my theme Atahualpa it doenst work. All I get is a the avatar picture, although the user I tested have an user photo.

    thanks
    itachy

    Hi,

    I have also problem with the loop, I use the theme Atahualpa.
    And in the index.php of it I have put the following code, but nothing changed.

    <?php if (have_posts()) : ?>
    		<?php while (have_posts()) : the_post(); ?>
    <?php
    if(get_query_var('author_name')) :
    $curauth = get_userdatabylogin(get_query_var('author_name'));
    else :
    $curauth = get_userdata(get_query_var('author'));
    endif;
    echo $curauth;
    ?>
     <?php userphoto_the_author_photo() ?>
     <?php userphoto_thumbnail($curauth, $before = '', $after = '', $attributes = array(), $default_src = '') ?>
    			<?php if (is_last_post()) {?>
    				<div class="post-last" id="post-<?php the_ID(); ?>">
    			<?php } else { ?>
    				<div class="post" id="post-<?php the_ID(); ?>">
    			<?php } ?>
    
    <div class="heading"><a href="<?php the_permalink() ?>" rel="bookmark"> <?php userphoto_the_author_thumbnail() ?></a><h2><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2></div>
    
    				<div style="clear: left;"></div>
    				<div class="entry">

    I think I put in the wrong loop, but I found any other loop. 🙂
    I’ll hope somebody of you can help me.

    thanks
    itchay

Viewing 2 replies - 1 through 2 (of 2 total)