Avatar on index
Re: Avatar on index
Great Snipper!
But I use eTech as a style, any tips how to use this snippet in eTech?
I think the part below is the part that needs a modding:
But I use eTech as a style, any tips how to use this snippet in eTech?
I think the part below is the part that needs a modding:
Code: Select all
<!-- IF S_DISPLAY_ONLINE_LIST -->
<br clear="all" />
{$CA_BLOCK_START}
{$CA_CAP2_START}<!-- IF U_VIEWONLINE --><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a><!-- ELSE -->{L_WHO_IS_ONLINE}<!-- ENDIF -->{$CA_CAP2_END}
<table class="tablebg" width="100%" cellspacing="{$CA_SPACING}">
<tr>
<!-- IF LEGEND -->
<td class="row1" rowspan="2" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
<!-- ELSE -->
<td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
<!-- ENDIF -->
Re: Avatar on index
Find:
Replace with:
Find:
Replace with:
Yes, you have to do the same twice 
Code: Select all
<img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" />
Code: Select all
<!-- IF S_USER_LOGGED_IN and USER_AVATAR -->{USER_AVATAR}<!-- ELSE --><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /><!-- ENDIF -->
Code: Select all
<img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" />
Code: Select all
<!-- IF S_USER_LOGGED_IN and USER_AVATAR -->{USER_AVATAR}<!-- ELSE --><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /><!-- ENDIF -->

Re: Avatar on index
Mr Stoker, I like it very much.
I chose as you said another place to put it, and a want to ask you if is it possible to get the 50% of the avatar image size?
Thank you
I chose as you said another place to put it, and a want to ask you if is it possible to get the 50% of the avatar image size?
Thank you
Re: Avatar on index
I mean to get users avatar in index exactly as Stoker wrote, but I want the avatar in its half size.
Thanks
Thanks
Re: Avatar on index
Set the width and height in the code
Code: Select all
<!-- IF S_USER_LOGGED_IN and USER_AVATAR --><td valign="top" style="padding-right:6px;" width="xx" height="xx">{USER_AVATAR}</td><!-- ENDIF --><td>
Last edited by Fire-Fox on 01 Apr 2010, 12:54, edited 1 time in total.
Re: Avatar on index
If you’re kind enough to write this down for me I’ll mach appreciate that.
Thanks again
Thanks again