Current time: 11-24-2024, 02:03 PM Hello There, Guest! (LoginRegister)


Announcement
We have the biggest collection of MyBB Plugins here on the Net. We have currently 175+ MyBB Exclusive Plugins, 80+ MyBB Compatible MyCodes and 16+ MyBB 1.4.x Themes (Some are still under construction...) Thus, we provide you the largest MyBB Stuff on the net including tutorials. Stay with us, you will find out some more to come.
Now you can easily create your own buttons set for MyBB! Click here to have a look...
*** You cannot do your registration behind any Proxies anymore! ***
Welcome Guest[3.142.54.136], connected from
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stats Image
12-09-2009, 09:20 AM
Post: #1
Stats Image
How do I add this image?

[Image: attachment.php?thumbnail=16435]

skiilz's signature
[Image: signature.php]
Find all posts by this user
Quote this message in a reply
12-09-2009, 09:24 AM
Post: #2
RE: Stats Image
I can''t view it. Can you make the screenshot a bit larger please?

babjusi's signature
Find all posts by this user
Quote this message in a reply
12-09-2009, 09:26 AM (This post was last modified: 12-09-2009 09:26 AM by skiilz.)
Post: #3
RE: Stats Image
Here you go:

[Image: attachment.php?aid=45]


Attached File(s) Thumbnail(s)
   

skiilz's signature
[Image: signature.php]
Find all posts by this user
Quote this message in a reply
12-09-2009, 09:27 AM
Post: #4
RE: Stats Image
Ah, I see. I will have a look later on when I come back from work and will let you know.

babjusi's signature
Find all posts by this user
Quote this message in a reply
12-09-2009, 09:37 AM
Post: #5
RE: Stats Image
Thank you.

skiilz's signature
[Image: signature.php]
Find all posts by this user
Quote this message in a reply
12-09-2009, 10:20 AM
Post: #6
RE: Stats Image
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

Rafael_mybb_import479's signature -Rafael
Im a Big MyBB Fan!!! Cool
My Forum
My Blog

[Image: signature.png]
Visit this user's website Find all posts by this user
Quote this message in a reply
12-09-2009, 11:15 AM
Post: #7
RE: Stats Image
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


Attached File(s) Thumbnail(s)
   

babjusi's signature
Find all posts by this user
Quote this message in a reply
12-09-2009, 11:42 AM (This post was last modified: 12-09-2009 11:47 AM by skiilz.)
Post: #8
RE: Stats Image
(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]


Attached File(s) Thumbnail(s)
       

skiilz's signature
[Image: signature.php]
Find all posts by this user
Quote this message in a reply
12-09-2009, 01:23 PM
Post: #9
RE: Stats Image
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?

babjusi's signature
Find all posts by this user
Quote this message in a reply
12-09-2009, 02:38 PM
Post: #10
RE: Stats Image
I use default theme...

skiilz's signature
[Image: signature.php]
Find all posts by this user
Quote this message in a reply
0 member(s) viewed this thread in the last 365 days :
Post Reply 


Was This Thread Useful ?
Please Link To Us
URL
BBCode
HTML

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Image resizer deradian 0 762 10-19-2011 12:42 PM
Last Post: deradian
  Inserting image instead of rgb color in theme Mobius 2 1,463 08-01-2010 12:10 PM
Last Post: Mobius

Forum Jump:

 
New To Site ?
Some Useful Links
  • Help

  • You Might Need To Register

  • Forum Statistics

  • Mark All Forums Read

  • Forum Staff

  • Log Out
  • Contact Us

  • Mybbcodes

  • Return to Top

  • Return to Content

  • Lite (Archive) Mode

  • RSS Syndication
  • Powered By MyBB, © 2002-2024 MyBB Group.
    Golden Crown - Designed and Published by ghazal & exdiogene of MyBBCodes.
    Hosting provided by WWWHostingServer.com