Replacing user avatar with icons

the_Predator

New member
Hello,
I'm curious as to how I could replace the user avatars in the thread listing with your usual new posts / no new posts icons?

I know that I can remove the avatars by changing them to display:none; but that just leaves an empty space, not really useful either.

Thanks in advance.
 
Hello,
I'm curious as to how I could replace the user avatars in the thread listing with your usual new posts / no new posts icons?

I know that I can remove the avatars by changing them to display:none; but that just leaves an empty space, not really useful either.

Thanks in advance.

You could try this: in the template thread_list_item

Find:
Code:
    <div class="listBlock posterAvatar">
        <span class="avatarContainer">
            <xen:avatar user="$thread" size="s" img="true" />
            <xen:if is="{$thread.user_post_count}"><xen:avatar user="$visitor" size="s" img="true" class="miniMe" title="{xen:phrase you_have_posted_x_messages_in_this_thread, 'count={xen:number $thread.user_post_count}'}" /></xen:if>
        </span>
    </div>

Replace:
Code:
<div class="listBlock posterAvatar">
    <span class="avatarContainer">
        <xen:if is="{$thread.isNew}">
        <img src="http://seastriper.com/forums/images/statusicon/forum_new.gif">
        <xen:else />
        <img src="http://seastriper.com/forums/images/statusicon/forum_old.gif">
        </xen:if>
    </span>
</div>

You'll have to mess with the spacing on them a bit but that should get you started.
 

Attachments

  • test.gif
    test.gif
    14.8 KB · Views: 26
Top Bottom