Welcome, Guest. Please Login or Register.
May 05, 2025, 08:14:24 AM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Most Users Online Mod? « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Most Users Online Mod?  (Read 305 times)
noodles2k5
Jr. Member
**
Posts: 98


Ctrl+Alt+31337

WWW
Most Users Online Mod?
« on: July 19, 2002, 09:05:05 AM »
Reply with quote

Did anyone make this yet?  It's kinda impractical, but seeing how many people were on my board at once is interesting.
Logged

http://gulfcoastpunk.dyndns.org/chopshop/anisig.swf
Put your mouse over my logo, I dare ya!
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:Most Users Online Mod?
« Reply #1 on: July 19, 2002, 09:45:41 AM »
Reply with quote

Well, I copied some code and put it on my mainpage.

It looks something like this :

<?  

$result = mysql_query("SELECT value FROM {$db_prefix}settings WHERE variable='mostOnline';");

$temp = mysql_fetch_row($result);

$mostonline = $temp[0];

$result = mysql_query("SELECT value FROM {$db_prefix}settings WHERE variable='mostDate';");

$temp = mysql_fetch_row($result);

$mostdate = timeformat($temp[0]);   ?>


<img src=forum/YaBBImages/stats_replies.gif border=0 width=13 height=16> Busiest day was on <? echo "$mostdate"; ?>  with <? echo "$mostonline"; ?> users online<br>


Is that what you mean ??
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
noodles2k5
Jr. Member
**
Posts: 98


Ctrl+Alt+31337

WWW
Re:Most Users Online Mod?
« Reply #2 on: July 19, 2002, 10:41:07 AM »
Reply with quote

Well I went to your site, but I can't read that language... lol  :P

But yes, that's exactly what I was looking for.  Do I put all of that code where I want the stats to display?  Or do I have to put the code in a certain place?
Logged

http://gulfcoastpunk.dyndns.org/chopshop/anisig.swf
Put your mouse over my logo, I dare ya!
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:Most Users Online Mod?
« Reply #3 on: July 19, 2002, 10:43:15 AM »
Reply with quote

I translated the piece above, so put it in your .php file (I guess you have the latest messages / members online also on that page ?).
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
noodles2k5
Jr. Member
**
Posts: 98


Ctrl+Alt+31337

WWW
Re:Most Users Online Mod?
« Reply #4 on: July 20, 2002, 12:51:12 AM »
Reply with quote

alright.  Thanx
Logged

http://gulfcoastpunk.dyndns.org/chopshop/anisig.swf
Put your mouse over my logo, I dare ya!
Ben_S
Disciple of Joe
Support Team
YaBB God
*****
Posts: 1586


I Love YaBB SE!

WWW
Re:Most Users Online Mod?
« Reply #5 on: July 20, 2002, 02:37:26 PM »
Reply with quote

Cant you just click the more stats link and look there?
Logged
noodles2k5
Jr. Member
**
Posts: 98


Ctrl+Alt+31337

WWW
Re:Most Users Online Mod?
« Reply #6 on: July 21, 2002, 02:02:01 AM »
Reply with quote

It doesn't list who, though.
Logged

http://gulfcoastpunk.dyndns.org/chopshop/anisig.swf
Put your mouse over my logo, I dare ya!
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Most Users Online Mod? « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.107 seconds with 20 queries.