Avatar on index
Re: Avatar on index
Here it is
Code: Select all
<!-- IF S_DISPLAY_ONLINE_LIST -->
<!-- IF U_VIEWONLINE --><h3><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h3><!-- ELSE --><h3>{L_WHO_IS_ONLINE}</h3><!-- ENDIF -->
<table><tr><!-- IF S_USER_LOGGED_IN and USER_AVATAR --><td valign="top" style="padding-right:6px;">{USER_AVATAR}</td><!-- ENDIF --><td>
<p>{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /><!-- IF TOTAL_GUESTS_ONLINE -->{GUESTS_PAST_24}<br /><!-- ENDIF --></td></tr></table>{LOGGED_IN_USER_LIST}
<!-- IF not S_IS_BOT --><br />
<br />{USERS_24HOUR_TOTAL}: <!-- BEGIN lastvisit -->{lastvisit.USERNAME_FULL}<!-- IF not lastvisit.S_LAST_ROW -->, <!-- ENDIF --><!-- END lastvisit -->
<!-- ENDIF -->
<!-- IF LEGEND --><br /><em>{L_LEGEND}: {LEGEND}</em><!-- ENDIF --></p>
<!-- ENDIF -->
<!-- IF S_DISPLAY_BIRTHDAY_LIST and BIRTHDAY_LIST -->
<h3>{L_BIRTHDAYS}</h3>
<p><!-- IF BIRTHDAY_LIST -->{L_CONGRATULATIONS}: <strong>{BIRTHDAY_LIST}</strong><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF --></p>
<!-- ENDIF -->
<!-- IF NEWEST_USER -->
<h3>{L_STATISTICS}</h3>
<p>{TOTAL_POSTS} • {TOTAL_TOPICS} • {TOTAL_USERS} • {NEWEST_USER}</p>
<!-- IF not S_IS_BOT -->
<h3 id="24hour_stats">{L_24HOUR_STATS}</h3>
<p>{24HOUR_POSTS} • {24HOUR_TOPICS} • {24HOUR_USERS}</p>
<!-- ENDIF -->
<!-- ENDIF -->
Re: Avatar on index
Try this instead:
Code: Select all
<!-- IF S_DISPLAY_ONLINE_LIST -->
<!-- IF U_VIEWONLINE --><h3><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h3><!-- ELSE --><h3>{L_WHO_IS_ONLINE}</h3><!-- ENDIF -->
<table><tr><!-- IF S_USER_LOGGED_IN and USER_AVATAR --><td valign="top" style="padding-right:6px;">{USER_AVATAR}</td><!-- ENDIF --><td>
<p>{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /><!-- IF TOTAL_GUESTS_ONLINE -->{GUESTS_PAST_24}<br /><!-- ENDIF --></p></td></tr></table>{LOGGED_IN_USER_LIST}
<!-- IF not S_IS_BOT -->
<p>{USERS_24HOUR_TOTAL}: <!-- BEGIN lastvisit -->{lastvisit.USERNAME_FULL}<!-- IF not lastvisit.S_LAST_ROW -->, <!-- ENDIF --><!-- END lastvisit --></p>
<!-- ENDIF -->
Re: Avatar on index
The Results

When you start getting bored, say it

When you start getting bored, say it
Last edited by Makis on 07 Apr 2010, 15:33, edited 1 time in total.
Re: Avatar on index
I forgot something, try this instead:
Code: Select all
<!-- IF S_DISPLAY_ONLINE_LIST -->
<!-- IF U_VIEWONLINE --><h3><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h3><!-- ELSE --><h3>{L_WHO_IS_ONLINE}</h3><!-- ENDIF -->
<table><tr><!-- IF S_USER_LOGGED_IN and USER_AVATAR --><td valign="top" style="padding-right:6px;">{USER_AVATAR}</td><!-- ENDIF --><td>
<p>{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /><!-- IF TOTAL_GUESTS_ONLINE -->{GUESTS_PAST_24}<br /><!-- ENDIF --></p></td></tr></table><p>{LOGGED_IN_USER_LIST}</p>
<!-- IF not S_IS_BOT -->
<p>{USERS_24HOUR_TOTAL}: <!-- BEGIN lastvisit -->{lastvisit.USERNAME_FULL}<!-- IF not lastvisit.S_LAST_ROW -->, <!-- ENDIF --><!-- END lastvisit --></p>
<!-- ENDIF -->
Re: Avatar on index
All correct and in place!!
Words aren’t enough just …
[pre]-------\|||/
(o o)
+-oooO--(_)-------+
| |
| Thank you! |
| |
+------------Ooo--+[/pre]
Words aren’t enough just …
[pre]-------\|||/
(o o)
+-oooO--(_)-------+
| |
| Thank you! |
| |
+------------Ooo--+[/pre]
Last edited by Makis on 07 Apr 2010, 19:35, edited 1 time in total.
Re: Avatar on index
Another suggestion for subsiler2, don't mind me
Replace with this

Code: Select all
<!-- IF LEGEND -->
<td class="row1" rowspan="2" align="center" valign="middle"><!-- IF S_USER_LOGGED_IN and USER_AVATAR --><br /><br />{USER_AVATAR}</td><!-- ENDIF --></span></td>
<!-- ELSE -->
Code: Select all
<!-- IF LEGEND -->
<td class="row1" rowspan="2" align="center" valign="middle"><!-- IF S_USER_LOGGED_IN and USER_AVATAR --><br /><br />{USER_AVATAR}<!-- ELSE --><img src="{T_THEME_PATH}/images/whosonline.gif"/></td><!-- ENDIF --></span></td>
<!-- ELSE -->

Re: Avatar on index
why is it that you want to show the whosonline gif? it's supposed to be an avatar image, don't really see the point in using that particular image, but hey it's your site I guess you can put which ever image you want!
Re: Avatar on index
When the user is not logged in you get the whosonline image, when logged in you get the user avatar 
