Avatar on index
- Stoker
- Site Admin
- Posts: 3536
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
Avatar on index
Board rules! No PM support
-
- BBCoder I
- Posts: 3
- Joined: 18 Mar 2010, 10:08
- Contact:
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 -->
- Stoker
- Site Admin
- Posts: 3536
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
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 -->
Board rules! No PM support
-
- BBCoder I
- Posts: 3
- Joined: 18 Mar 2010, 10:08
- Contact:
Re: Avatar on index
Working! Thanks a lot..
- Makis
- BBCoder III
- Posts: 91
- Joined: 10 Mar 2010, 18:01
- BBCodes: 67
- Favourite MOD: Welcome On Index
- Location: Athens Greece
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
- Makis
- BBCoder III
- Posts: 91
- Joined: 10 Mar 2010, 18:01
- BBCodes: 67
- Favourite MOD: Welcome On Index
- Location: Athens Greece
Re: Avatar on index
I I suppose no...
Re: Avatar on index
How do you mean?
- Makis
- BBCoder III
- Posts: 91
- Joined: 10 Mar 2010, 18:01
- BBCodes: 67
- Favourite MOD: Welcome On Index
- Location: Athens Greece
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, 14:54, edited 1 time in total.
- Makis
- BBCoder III
- Posts: 91
- Joined: 10 Mar 2010, 18:01
- BBCodes: 67
- Favourite MOD: Welcome On Index
- Location: Athens Greece
Re: Avatar on index
If you’re kind enough to write this down for me I’ll mach appreciate that.
Thanks again
Thanks again