12-09-2009, 09:20 AM
12-09-2009, 09:24 AM
I can''t view it. Can you make the screenshot a bit larger please?
12-09-2009, 09:26 AM
Here you go:
12-09-2009, 09:27 AM
Ah, I see. I will have a look later on when I come back from work and will let you know.
12-09-2009, 09:37 AM
Thank you.
12-09-2009, 10:20 AM
Try with this code:
PHP Code:[Highlight]
<tr>
<td colspan="6" class="tcat"><span class="smalltext"><strong>{$lang->whos_online_today}</strong> [<a href="online.php?action=today">{$lang->complete_list}</a>]</span></td>
</tr>
<tr>
<td class="tcat smalltext" align="center" width="1"><img src="{$theme['imgdir']}/any_image_you_want.png" alt="" /></td>
<td colspan="6" class="trow1"><span class="smalltext">
Your Plugin Info</span></td>
</tr>
12-09-2009, 11:15 AM
I don''t have time to try the edit posted by Rafael Light 33, but at a first glance it doesn''t seem that it will work for what you asked. ANyway, if you try it, make sure to back up your template first.
If you want to enchance the online look, try this instead.
The end result it can be seen at the below screeenshot. If you want the image to appear below instead, simply place the img scr code at the second td.
You can also create a style of its own for the img at the stylesheet and then call it at the template but that would be a bit of overdone in my opinion.
Anyway, let me know how it will go. Now I have to really go to work
If you want to enchance the online look, try this instead.
Code:[Highlight]
<tr>
<td class="tcat"><img src="{$theme['imgdir']}/imagename.gif" alt="" style = "vertical-align: middle; margin: -2px 5px 0 0;"/><span class="smalltext"><strong>{$lang->whos_online}</strong> [<a href="online.php">{$lang->complete_list}</a>]</span></td>
</tr>
<tr>
<td class="trow1"><span class="smalltext">{$lang->online_note}<br />{$onlinemembers}</span></td>
</tr>
The end result it can be seen at the below screeenshot. If you want the image to appear below instead, simply place the img scr code at the second td.
You can also create a style of its own for the img at the stylesheet and then call it at the template but that would be a bit of overdone in my opinion.
Anyway, let me know how it will go. Now I have to really go to work
12-09-2009, 11:42 AM
(12-09-2009 10:20 AM)Rafael Wrote: [ -> ]Try with this code:
PHP Code:[Highlight]
<tr>
<td colspan="6" class="tcat"><span class="smalltext"><strong>{$lang->whos_online_today}</strong> [<a href="online.php?action=today">{$lang->complete_list}</a>]</span></td>
</tr>
<tr>
<td class="tcat smalltext" align="center" width="1"><img src="{$theme['imgdir']}/any_image_you_want.png" alt="" /></td>
<td colspan="6" class="trow1"><span class="smalltext">
Your Plugin Info</span></td>
</tr>
Didn't work.
I want to do something like this:
[attachment=47]
I used this code:
Code:[Highlight]
<tr>
<td class="tcat"><span class="smalltext"><strong>{$lang->whos_online}</strong> [<a href="online.php">{$lang->complete_list}</a>]</span></td>
</tr>
<tr>
<td class="trow1"><td class="tcat"><img src="images/avatar.png" /></td><span class="smalltext">{$lang->online_note}<br />{$onlinemembers}</span></td>
</tr>
And look what I got:
[attachment=48]
12-09-2009, 01:23 PM
I keep forgetting that you are using a custom theme. The code I posted above it will work with the default theme.
Can you post here the code of index_whosonline template from your custom theme?
Can you post here the code of index_whosonline template from your custom theme?
12-09-2009, 02:38 PM
I use default theme...