MyBB Codes

Full Version: Stats Image
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
How do I add this image?

[Image: attachment.php?thumbnail=16435]
I can''t view it. Can you make the screenshot a bit larger please?
Here you go:

[Image: attachment.php?aid=45]
Ah, I see. I will have a look later on when I come back from work and will let you know.
Thank you.
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
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.

<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 Big Grin
(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:
<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]
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?
I use default theme...
Pages: 1 2 3 4
Reference URL's