Previous Thread
Next Thread
Print Thread
Hop To
Joined: Mar 2011
Posts: 8
D
stranger
stranger
D Offline
Joined: Mar 2011
Posts: 8
Okay, instead of replying to this old thread I'll start a new one.

Originally Posted by JAISP
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.
Originally Posted by Sirdude
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
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,301
Likes: 116
island_whos_online.tpl:
Code
{* 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}


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Mar 2011
Posts: 8
D
stranger
stranger
D Offline
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
UBB.threads Developer
UBB.threads Developer
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).


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Mar 2011
Posts: 8
D
stranger
stranger
D Offline
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
D
stranger
stranger
D Offline
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...

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Version 7.7.5 Images suddenly not displaying
by Stovebolt - 05/04/2024 11:19 AM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
Who's Online Now
1 members (Gizmo), 611 guests, and 134 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)