Current time: 11-24-2024, 01:49 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.147.104.18], connected from
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stats Image
12-09-2009, 02:50 PM
Post: #11
RE: Stats Image
Try this. It works as shown at the attached screenshot.

<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"><img src="{$theme['imgdir']}/imagename.gif" alt = "" style = "vertical-align: middle; margin: -2px 5px 0 0;"/><span class="smalltext">{$lang->online_note}<br /><br />{$onlinemembers}</span></td>
</tr>

P.s. Can you link me to the theme that you saw this so I can get a better look and understanding?


Attached File(s) Thumbnail(s)
   

babjusi's signature
Find all posts by this user
Quote this message in a reply
12-09-2009, 05:32 PM
Post: #12
RE: Stats Image
This looks cool. I had it at my Ipb forum and now I added it at my MyBB forum too. Thanx for asking for it light33 and thanx babjusi for the code.
Find all posts by this user
Quote this message in a reply
12-09-2009, 09:57 PM
Post: #13
RE: Stats Image
Here is the site babjusi: http://exorth.com/forums.php

Here is one of the code that is used to add the image to the left:
<tbody id="collapse" style="">
    <tr>
        <td class="alt2"><a href="IINDEX.PHP"><img src="IMAGE.GIF" alt="IMG" border="0" /></a></td>
        <td class="alt1" width="100%">
            <div class="smallfont">
                <div style="white-space: nowrap">CONTENT</div>
                </div>
        </td>
    </tr>
</tbody>

skiilz's signature
[Image: signature.php]
Find all posts by this user
Quote this message in a reply
12-10-2009, 09:09 AM
Post: #14
RE: Stats Image
(12-09-2009 09:57 PM)Light33 Wrote:  Here is the site babjusi: http://exorth.com/forums.php

Here is one of the code that is used to add the image to the left:
<tbody id="collapse" style="">
    <tr>
        <td class="alt2"><a href="IINDEX.PHP"><img src="IMAGE.GIF" alt="IMG" border="0" /></a></td>
        <td class="alt1" width="100%">
            <div class="smallfont">
                <div style="white-space: nowrap">CONTENT</div>
                </div>
        </td>
    </tr>
</tbody>

Ah, I see, a vb feature. Well, if you do that at the online part then you must do it at the stats as well in order to get it in propotion, like it was at that forum. And that will require more changes to the other templates.

babjusi's signature
Find all posts by this user
Quote this message in a reply
12-10-2009, 12:14 PM (This post was last modified: 12-10-2009 12:25 PM by skiilz.)
Post: #15
RE: Stats Image
Yes.. vB.
I tried with this code:
<tr>
<td class="tcat" width="100%"><span class="smalltext"><strong>{$lang->whos_online}</strong> [<a href="online.php">{$lang->complete_list}</a>]</span></td>
</tr>
<tr>
<tr><td class="tcat" align="left"><img src="images/affiliates.png" valign="middle" alt="*" border="0" /></td>
<td class="trow1" align="left">
<div class="smallfont">
<div>{$lang->online_note}<br />{$onlinemembers}</div>
</div></td></tr>
<th class="tcat" width="100%"><span class="smalltext">UserGroup Legend</th>
</tr>
<tr>
<td class="trow1" valign="top" align="left" width="100%"><span class="smalltext">
<span style="color: blue;"><strong>Administrators</strong></span> •
<span style="color: green;"><strong>Global Moderators</strong></span> •
<span style="color: red;"><strong>Sectional Moderators</strong></span> •
<span style="color: black;"><strong>Veteran</strong></span> •
<span style="color: purple;"><strong>Donators</strong></span> •
<span style="color: orange;"><strong>RSS Bot</strong></span></tr>

And look what I got:
[attachment=55]
I'm trying to align the other tables and will be fine.


Attached File(s) Thumbnail(s)
   

skiilz's signature
[Image: signature.php]
Find all posts by this user
Quote this message in a reply
12-10-2009, 01:18 PM
Post: #16
RE: Stats Image
It looks like a bit overdone in my opinion. ALl you have to do is the img code inside another <td <td> tags. Atm I don''t have much free time to look deeper into this. But keep me updated.

Also, you must adjust the stats templates to have a symetrical stats area.

babjusi's signature
Find all posts by this user
Quote this message in a reply
12-10-2009, 01:26 PM
Post: #17
RE: Stats Image
<tr>
<td class="tcat" width="100%"><span class="smalltext"><strong>{$lang->whos_online}</strong> [<a href="online.php">{$lang->complete_list}</a>]</span></td>
</tr>
<tr>
<tr><td class="tcat" align="left"><td><img src="images/affiliates.png" valign="middle" alt="*" border="0" /></td></td>
<td class="trow1" align="left">
<div class="smallfont">
<div>{$lang->online_note}<br />{$onlinemembers}</div>
</div></td></tr>

With the image into another <td></td>:
[attachment=57]


Attached File(s) Thumbnail(s)
   

skiilz's signature
[Image: signature.php]
Find all posts by this user
Quote this message in a reply
12-10-2009, 01:30 PM
Post: #18
RE: Stats Image
You are adding un-necccessary divs and tr''s at the code. But as I said above, in order for this to appear in proper semetry, he stats templates must be adjusted too. Just like with that rss feed button we did.

P.s. Personally I don''t see the point in addin one of vb features or the like. try the other code I gave you, it is more original btw.

babjusi's signature
Find all posts by this user
Quote this message in a reply
12-10-2009, 01:36 PM
Post: #19
RE: Stats Image
I like so much this feature can you help me code the changes for the vB feature?
When you have time can post the code?
Thank you.

skiilz's signature
[Image: signature.php]
Find all posts by this user
Quote this message in a reply
12-10-2009, 01:48 PM
Post: #20
RE: Stats Image
To be honest I ain''t too keen on doing something cos vb has it.

http://community.mybboard.net/thread-59036.html

babjusi's signature
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