Welcome, Guest. Please Login or Register.
June 16, 2024, 04:38:23 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Needing YOUR input for a STATISTICS mod « previous next »
Pages: 1 [2] Reply Ignore Print
Author Topic: Needing YOUR input for a STATISTICS mod  (Read 2545 times)
Joseph Fung
Global Moderator
YaBB God
*****
Posts: 4512


Keep smiling: it makes others nervous.

WWW
Re:Needing YOUR input for a STATISTICS mod
« Reply #15 on: January 02, 2002, 10:48:48 PM »
Reply with quote

Ouch...that would be very resource intensive....it would add anther update query for every single post...
Logged

Michael
YaBB God
*****
Posts: 782


Recursion \Re*cur"sion\, n. - See recursion.

ICQ - 47769041mrtorrent@hotmail.com WWW
Re:Needing YOUR input for a STATISTICS mod
« Reply #16 on: January 02, 2002, 10:58:25 PM »
Reply with quote

Quote from: Joseph Fung on January 02, 2002, 10:48:48 PMOuch...that would be very resource intensive....
Ah, okay, didn't know. I haven't done much work with MySQL or in fact any databases at all, I would've thought that keep a simple count in an extra field in the user table wouldn't take that much. :-\ What about keeping the count in a flat-file form? How would that affect things, load-wise?
Logged

~ Michael ~
--------------
The MikeCam
I went to the Net and all I got was this stupid tagline.
Joseph Fung
Global Moderator
YaBB God
*****
Posts: 4512


Keep smiling: it makes others nervous.

WWW
Re:Needing YOUR input for a STATISTICS mod
« Reply #17 on: January 02, 2002, 11:00:49 PM »
Reply with quote

It's not that - it's running so many more queries or file-accesses.

The best mods are mods that can piggy-back on existing queries or file-accesses

For example, the Custom Titles mod only tweks queries taht already pull data from the members table - so it makes a very small impact on the system.

However, the process of counting every smiley, and updating anther table would not be able to piggy-back on anything.  So it would be adding to the process.

If you were to add this - would you definitely have to make it an optional stat.
Logged

Michael
YaBB God
*****
Posts: 782


Recursion \Re*cur"sion\, n. - See recursion.

ICQ - 47769041mrtorrent@hotmail.com WWW
Re:Needing YOUR input for a STATISTICS mod
« Reply #18 on: January 02, 2002, 11:08:16 PM »
Reply with quote

Okay. Again, I'll have to learn a bit more about databases and MySQL in particular, as well as how YaBB SE accesses it before I can discuss it intelligently. I'll go with the idea of "optional" for now, as I can't come up with a better idea. ;D
Logged

~ Michael ~
--------------
The MikeCam
I went to the Net and all I got was this stupid tagline.
klumy
Sr. Member
****
Posts: 432


Re:Needing YOUR input for a STATISTICS mod
« Reply #19 on: January 03, 2002, 08:26:35 PM »
Reply with quote

Is this statistic enough for you?

http://boards.turtled.com/stats.html
Logged
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:Needing YOUR input for a STATISTICS mod
« Reply #20 on: January 03, 2002, 08:28:33 PM »
Reply with quote

You've posted that before, i like that ;)
Logged

klumy
Sr. Member
****
Posts: 432


Re:Needing YOUR input for a STATISTICS mod
« Reply #21 on: January 03, 2002, 08:30:33 PM »
Reply with quote

I can post it again and again, if you love to ;)
Logged
Michael
YaBB God
*****
Posts: 782


Recursion \Re*cur"sion\, n. - See recursion.

ICQ - 47769041mrtorrent@hotmail.com WWW
Re:Needing YOUR input for a STATISTICS mod
« Reply #22 on: January 04, 2002, 01:19:23 AM »
Reply with quote

Very nice.
Logged

~ Michael ~
--------------
The MikeCam
I went to the Net and all I got was this stupid tagline.
Greg Robson
Training to be like Joseph
YaBB SE Developer
YaBB God
*****
Posts: 1459


Hello!

ICQ - 81390136 WWW
UPDATE FROM THE WIZARD
« Reply #23 on: January 04, 2002, 07:15:44 PM »
Reply with quote

As I'm new to all this PHP and MySQL (don't worry though - I'm a quick learner  ;) ), the mod will be simple to start with (no counting of smilies). It will however show the following:



A graph showing the [*Total Users/*New Users/Topics created/Replies/Viewings] for [everything/a board/a catergory] with a time axis showing [hours/days/weeks/months] (so you can view the entire history of your board) OR a (total / average) for each [hour of day/day of week/day of month/month of year] (for usage patterns).  :D

* for whole board only as not board specific


These graphs will also be show values at the [bottom of bars/top of bars] or not at all.

There will also be the option of a broken y-axis.

Also the graphs will go UP the page instead of across!
;D ;D ;D

I know this sounds a lot but these queries are quite similar and are the simplest to program (simpler than counting smilies anyway).

I think it will be best to create a simple working version first - then I can get feedback and use it to determine the path of development.

I need to check that all the date fields I need are present for this (I think so).
Logged

You can't have everything... where would you put it? -- Steve Wright
Pages: 1 [2] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Needing YOUR input for a STATISTICS 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.025 seconds with 20 queries.