vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Statistics Modifications - vbTrends - An Enhanced Statistics Box on Forum Home (https://vborg.vbsupport.ru/showthread.php?t=143001)

Staxed 04-04-2007 10:15 AM

can you alter this, or upload another version that will make this change to the vbadvanced stats template? I would like to use this but I only use the vba stats module (i have a vba column on all pages)

...i don't have this info in my forumhome template...

just let me know if you will do this or not, if not I'll play around with it myself and make it work.

hambil 04-04-2007 11:59 AM

Quote:

Originally Posted by Irisfire (Post 1219559)
can you alter this, or upload another version that will make this change to the vbadvanced stats template? I would like to use this but I only use the vba stats module (i have a vba column on all pages)

...i don't have this info in my forumhome template...

just let me know if you will do this or not, if not I'll play around with it myself and make it work.

I will add vbAdvanced support to the list, but it may not get done for a while. So it all depends on how long you want to wait :)

Staxed 04-04-2007 02:31 PM

alrighty then,

i'll work on it sometime this weekend probably...and when I get it working I'll send you the code :)

hambil 04-04-2007 02:45 PM

Quote:

Originally Posted by Irisfire (Post 1219694)
alrighty then,

i'll work on it sometime this weekend probably...and when I get it working I'll send you the code :)

That would be much appreciated, thanks :)

djjeffa 04-07-2007 11:14 PM

what happend when you reset the counter?
all my stats were up like 75% now there all down like 50% as of the beginning of this month.

hambil 04-08-2007 09:23 AM

Everytime the code runs it checks the datastore. If nothing is in the datastore, or the day in the datestore doens't match the current day, it re-runs the calculations for monthly averages. All resetting the counters does it delete the datastore entry, thus forcing a re-run of monthly stats.

mcyates 04-08-2007 12:04 PM

Quote:

Originally Posted by Blackhat (Post 1211320)
looks like this makes mysql use way to much server resources for a large site like mine :P

yeah this slows down my site also, i've uninstalled it.

ericgray 04-09-2007 01:48 PM

I just uninstalled this --

-- the stats just don't make any sense -- 500%, 600%, etc -- :(

and also, there's too much muddle at the bottom of the page, with no bold, etc. of the real stats, with this stuff unbolded --

-- i'll check back in the future to see if it's tidied up at all -- :D

eric

wolfe 04-09-2007 04:12 PM

Quote:

Originally Posted by ericgray (Post 1223291)
I just uninstalled this --

-- the stats just don't make any sense -- 500%, 600%, etc -- :(

and also, there's too much muddle at the bottom of the page, with no bold, etc. of the real stats, with this stuff unbolded --

-- i'll check back in the future to see if it's tidied up at all -- :D

eric

why dont you tidy it up yourself by editing the forumhome_vbtrends template

also m8 getting mysql error on cron job ? anyone else getting this problem.

hambil 04-09-2007 09:25 PM

There seems to be a lot of ongoing concern/criticism of the calculations used and the stats displayed. I've decided the best way to deal with this, since I can never make everyone happy, is to expose them to the end user to tweak.

I will be releasing a version soon that uses a short hand in the admincp settings to set the calculations to anything you want (within reason). The short hand in the admincp settings will be something like: Posts: ($current / $avg) * 100. Any mathematical expression will be allowed.

In addition it will include a few new hooks, for those with real ambition to put in there own php code to get monthly averages, and do the final percentage calculations. The hack will use these hooks itself, to provide an example to modify.

I'll also be adding some options for display formating for those who don't want to modify the template yet want to make some minor style changes.

ETA: Late tonight, early tomorrow (Pacific Standard Time).


All times are GMT. The time now is 06:47 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01072 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete