Current time: 11-24-2024, 02:02 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.137.175.80], connected from
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stats Image
12-10-2009, 02:07 PM (This post was last modified: 12-10-2009 02:17 PM by skiilz.)
Post: #21
RE: Stats Image
Ok. Leave this like it is now.
But it isn't just because vB have... It's because I like and the forum would have better look!

skiilz's signature
[Image: signature.php]
Find all posts by this user
Quote this message in a reply
12-14-2009, 05:14 PM
Post: #22
RE: Stats Image
Have a look at the bottom of this forum here. Did you mean something like that?

babjusi's signature
Find all posts by this user
Quote this message in a reply
12-14-2009, 06:22 PM
Post: #23
RE: Stats Image
EXACTLY WHAT I WANT!!!
AWESOME!!

skiilz's signature
[Image: signature.php]
Find all posts by this user
Quote this message in a reply
12-15-2009, 06:44 AM
Post: #24
RE: Stats Image
Ok, cos I wanted to make sure that that is what you wanted.

Can you copy/paste here the contents of the following templates:

index_boardstats, index_stats and index_whosonline.

babjusi's signature
Find all posts by this user
Quote this message in a reply
12-15-2009, 07:36 AM
Post: #25
RE: Stats Image
index_boardstats
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['boardstats']}.gif" id="boardstats_img" class="expander" alt="[-]" title="[-]" /></div>
<div><strong>{$lang->boardstats}</strong></div>
</td>
</tr>
</thead>
<tbody style="{$collapsed['boardstats_e']}" id="boardstats_e" >
{$whosonline}
{$todays_top_posters}
{$birthdays}
{$forumstats}<!-- ASOI_3_I_B -->
<tr>
    <td class="tfoot" style="text-align: right">
        <span class="smalltext">
            {$logoutlink}
            <a href="misc.php?action=markread">{$lang->markread}</a> |
            <a href="showteam.php">{$lang->forumteam}</a> |
            <a href="stats.php">{$lang->forumstats}</a>
        </span>
    </td>
</tr>
</tbody>
</table>
<br />

index_stats
<script type='text/javascript'>
function showstats()
{
if (document.getElementById('stats').style.display == 'none')
{
document.getElementById('stats').style.display='table-row';
}
else
{
document.getElementById('stats').style.display='none';
}
}
</script>
<tr ><td class="tcat" c><span class="smalltext"><strong>{$lang->boardstats}</strong> [<a style='cursor:pointer'onClick='showstats()'>Show/Hide</a>]</span></td></tr>
<tr id='stats'>
<td class="trow1"><span class="smalltext">
{$lang->stats_posts_threads}<br />
{$lang->stats_numusers}<br />
{$lang->stats_newestuser}<br />
{$lang->stats_mostonline}
</span>
</td>
</tr>

index_whosonline
<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"><span class="smalltext">{$lang->online_note}<br />{$onlinemembers}</span></td>
</tr>
<th class="tcat" width="100%"><span class="smalltext">UserGroup Legend</th>
</tr>

Legends Group Smile (all this code goes under the index_whosonline latest </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>

skiilz's signature
[Image: signature.php]
Find all posts by this user
Quote this message in a reply
12-15-2009, 07:38 AM
Post: #26
RE: Stats Image
Replace your index_whosonline template with the following:

<tr>
<td class="tcat" colspan="2"><strong>{$lang->whos_online}</strong> [<a href="online.php">{$lang->complete_list}</a>]</td>
</tr>
<tr>
<td class="trow2" style="width:30px;" align="center"><img src="$theme[imgdir]/online.gif" alt="{$lang->whos_online}" /></td>
<td class="trow1"><span class="smalltext">{$lang->online_note}<br />{$onlinemembers}</span></td>
</tr>

And name your image online.gif and upload it to your images directory.

Next replace your index__stats template with the following:

<tr>
<td class="tcat" colspan="2"><a href="stats.php"><strong>{$lang->boardstats}</strong></a></td>
</tr>
<tr>
<td class="trow2" style="width:30px;" align="center"><img src="$theme[imgdir]/stats.gif" alt="{$lang->boardstats}" /></td>
<td class="trow1"><span class="smalltext">
{$lang->stats_posts_threads}<br />
{$lang->stats_numusers}<br />
{$lang->stats_newestuser}<br />
{$lang->stats_mostonline}
</span>
</td>
</tr>

And name your image stats.gif and upload it to your images directory.

And as last but not least, replace your index_boardstats template with the following:

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="2">
<div><strong><a href="stats.php">{$lang->boardstats}</a></strong></div>
</td>
</tr>
</thead>
{$whosonline}
{$birthdays}
{$forumstats}
</table>
<br />

The end result can be seen at the attached screenshot below as I removed it from here.

Let me know how it will go. And don''t forget to readd your custom group legend code as well.


Attached File(s) Thumbnail(s)
   

babjusi's signature
Find all posts by this user
Quote this message in a reply
12-15-2009, 08:08 AM
Post: #27
RE: Stats Image
Look what I got:
[attachment=82]


Attached File(s) Thumbnail(s)
   

skiilz's signature
[Image: signature.php]
Find all posts by this user
Quote this message in a reply
12-15-2009, 08:20 AM
Post: #28
RE: Stats Image
Did you make the changes properly cos it works fine as shown at the image I atatched above. I just doubled checked and again it worked ok.

P.s. And as I said above, if you have custom changes made to those templates, you will have to first undo them and then redo them again.

babjusi's signature
Find all posts by this user
Quote this message in a reply
12-15-2009, 08:36 AM
Post: #29
RE: Stats Image
Codes that I used:
index_whosonline
<tr>
<td class="tcat" colspan="2"><strong>{$lang->whos_online}</strong>[<a href="online.php">{$lang->complete_list}</a>]</td>
</tr>
<tr>
<td class="trow2" style="width:30px;" align="center"><img src="$theme[imgdir]/online.png" alt="online" /></td>
<td class="trow1"><span class="smalltext">{$lang->online_note}<br />{$onlinemembers}</span></td>
</tr>

index_boardstats:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="2">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['boardstats']}.gif" id="boardstats_img" class="expander" alt="[-]" title="[-]" /></div>
<div><strong>{$lang->boardstats}</strong></div>
</td>
</tr>
</thead>
<tbody style="{$collapsed['boardstats_e']}" id="boardstats_e" >
{$whosonline}
{$todays_top_posters}
{$birthdays}
{$forumstats}<!-- ASOI_3_I_B -->
<tr>
    <td class="tfoot" style="text-align: right">
        <span class="smalltext">
            {$logoutlink}
            <a href="misc.php?action=markread">{$lang->markread}</a> |
            <a href="showteam.php">{$lang->forumteam}</a> |
            <a href="stats.php">{$lang->forumstats}</a>
        </span>
    </td>
</tr>
</tbody>
</table>
<br />

index_stats:
<script type='text/javascript'>
function showstats()
{
if (document.getElementById('stats').style.display == 'none')
{
document.getElementById('stats').style.display='table-row';
}
else
{
document.getElementById('stats').style.display='none';
}
}
</script>
<tr ><td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->boardstats}</strong> [<a style='cursor:pointer'onClick='showstats()'>Show/Hide</a>]</span></td></tr>
<tr id='stats'>
<td class="trow2" style="width:30px;" align="center"><img src="$theme[imgdir]/stats.gif" alt="{$lang->boardstats}" /></td>
<td class="trow1"><span class="smalltext">
{$lang->stats_posts_threads}<br />
{$lang->stats_numusers}<br />
{$lang->stats_newestuser}<br />
{$lang->stats_mostonline}
</span>
</td>
</tr>

skiilz's signature
[Image: signature.php]
Find all posts by this user
Quote this message in a reply
12-15-2009, 09:14 AM
Post: #30
RE: Stats Image
@skiilz, replace all the codes at the 3 templates I mentioned above with the codes of my previous post. I mean everything. Then readd your custom edits. it works 100%, as you saw t yourself yesterday when I had the edits made here.

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