|
Joined: Mar 2011
Posts: 8
stranger
|
stranger
Joined: Mar 2011
Posts: 8 |
Okay, instead of replying to this old thread I'll start a new one. Max on line counts all users such as guest, registered, and bots from what I can see. I only have a max of 4 bots in my site at any time so thats not much of a problem. yah, i remove the bot count (for my site), since i wanna just count eyeballs. How to display something like: Max Online: Members 30 @ 1/1/11 12:01 AM Guests 30 @ 10/10/10 7:00 PM Spiders 30 @ 3/3/11 12:00 PM
ERerERRRRRR...
|
|
|
|
Joined: Jun 2006
Posts: 16,301 Likes: 116
|
Joined: Jun 2006
Posts: 16,301 Likes: 116 |
island_whos_online.tpl: {* Script Version 7.5.6 *}
<?php if(!defined('UBB_MAIN_PROGRAM')) exit; ?>
{$tbopen}
<tr>
<td class="{$style_side}tdheader"><a href="{ubb url="ubb=online"}"><?php echo $ubbt_lang['WHO_ON'] ?></a></td>
</tr>
<tr>
<td class="{$style_side}alt-1">
Registered: {$registered}
Invisible: {$invisible}
Spiders: {$spiders}
</td>
</tr>
<tr>
<td class="{$style_side}alt-2">
<div class="small">
<strong><?php echo $ubbt_lang['KEY'] ?></strong>
<span class="adminname"><?php echo $ubbt_lang['ADMIN_NAME'] ?></span>,
<span class="globalmodname"><?php echo $ubbt_lang['GLOBALMOD_NAME'] ?></span>,
<span class="modname"><?php echo $ubbt_lang['MOD_NAME'] ?></span>
</div>
</td>
</tr>
{$tbclose}
|
|
|
|
Joined: Mar 2011
Posts: 8
stranger
|
stranger
Joined: Mar 2011
Posts: 8 |
Am I incorrect in thinking that provides the stats for "Who's Online" rather than "Max Online" ?
ERerERRRRRR...
|
|
|
|
Joined: Jun 2006
Posts: 16,301 Likes: 116
|
Joined: Jun 2006
Posts: 16,301 Likes: 116 |
It's the island "Who's Online", if you're wanting to modify the Who's Online page ( here) it's a lot more involved (and I can't really see why you'd want to trim that page down to show like no data; instead I'd suggest making that page available to admins only).
|
|
|
|
Joined: Mar 2011
Posts: 8
stranger
|
stranger
Joined: Mar 2011
Posts: 8 |
What I'm actually looking at modifying, I think, is the Forum Stats. I am happy with Who's online output.
The Max Online in the Forum Stats however is horribly skewed from spiders. It would be nice to be able to dice up the Max Online as desired to show Registered/Unregistered/Spiders-Bots.
Edit: Consider me as moderately able to handle anything you want to throw at me.
Last edited by Da_Prof; 03/19/2011 10:13 PM.
ERerERRRRRR...
|
|
|
|
Joined: Mar 2007
Posts: 522
Addict
|
Addict
Joined: Mar 2007
Posts: 522 |
I understand what you're saying, Prof, because I've been thinking the same thing. My "Max Online" in the "forum stats" hit 304 the other day (10 minute window), and I know much of that was from spiders. It would be interesting to have the "max online" breakdown. On the other hand, there is probably a percentage of your "guest" traffic that consists of bots that you haven't added to your list yet.
Steve
UBB.classic from 2000-2003 UBB.threads from 2003-present!
|
|
|
|
Joined: Mar 2011
Posts: 8
stranger
|
stranger
Joined: Mar 2011
Posts: 8 |
I guess what I am wondering is if there is a $maxregistered $maxinvisible $maxspiders or something like that, possibly as part of a $maxonline = $maxregistered + $maxinvisible + $maxspiders formula somewhere. Is there an entry in the database or a variable somewhere that has those max counts? Or a way to keep a running high count from the $registered, $invisible, $spiders numbers?
ERerERRRRRR...
|
|
|
1 members (Gizmo),
611
guests, and
134
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|