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)

Deadly Assassin 04-11-2007 11:35 AM

Quote:

Originally Posted by hambil (Post 1224824)
It's all fixed. It appears the old template didn't get updated when you installed the new version. I have no idea why that would happen. I think perhaps it might be when people do an overwrite instead of an uninstall and reinstall, but I'm not sure.

I highly recommend anyone installing 2.0.0 do an uninstall and reinstall though.

Thanks m8, much appreciated!

RedGTiVR6 04-11-2007 11:46 AM

I can't download the .zip file for some reason.

When I do, then try and open it, it tells me it's corrupt and there's nothing in the .zip file.

Am I the only one experiencing this?

hambil 04-11-2007 12:13 PM

Odd. I use 7-zip.

Hmmm... looks like the zip got screwed up on upload somehow. I just re-uploaded it.

encryption 04-11-2007 12:17 PM

Quote:

Originally Posted by hambil (Post 1224876)
It means that so far this month you've had four new threads. And compared to the last 2 months, that's 117% more than you usually have by this time of the month.


then there's something wrong in the way this mod is tracking new information because this is what I see in the admin panel and we're 11 days into the month already

New Threads Today 6


Is it 4 new threads from the date/time of install ?

hambil 04-11-2007 12:20 PM

Quote:

Originally Posted by encryption (Post 1224912)
then there's something wrong in the way this mod is tracking new threads because this is what I see in the admin panel and we're 11 days into the month already

New Threads Today 6


Is it 4 new threads from the date/time of install ?

No, it shouldn't be. Let me double check the code and get back to you.

Well, here is the query used, I don't see anything wrong with it off hand...
Code:

SELECT count(*) AS 'ThreadsThisMonth'
FROM " . TABLE_PREFIX . "thread
WHERE YEAR(FROM_UNIXTIME(dateline)) = YEAR(NOW())
AND MONTH(FROM_UNIXTIME(dateline)) = MONTH(NOW())

Ahha! I found an error in the template. I've uploaded the new zip. Uninstall/Reinstall to make sure the template change gets picked up and you should be good to go.

encryption 04-11-2007 12:40 PM

yep, that fixed it

Threads: 38,782, This Month: 466 (118%)
Posts: 471,538, This Month: 4441 (94%)
Members: 13,425, This Month: 236 (5%)

voteforbird 04-11-2007 12:43 PM

These stats are not accurate. I'm getting a 93% increase in threads, a 95% increase in posts and a 1% increase in members. This is on a 355,000-post board. The 90 numbers are waaay too high. Activity is steady. *disabled*

BTW I assume encryption's stats are incorrect, as well.

hambil 04-11-2007 12:58 PM

Quote:

Originally Posted by voteforbird (Post 1224930)
These stats are not accurate. I'm getting a 93% increase in threads, a 95% increase in posts and a 1% increase in members. This is on a 355,000-post board. The 90 numbers are waaay too high. Activity is steady. *disabled*

BTW I assume encryption's stats are incorrect, as well.

Very simple fix. Change the calculations used in the admincp settings as follows:

Before:
Code:

round(($current / $avg) * 100)
After:
Code:

round(($current / $avg) * 100) - 100
It's the difference between considering 100% to mean 'dead on track' or '0%' to mean 'dead on track'. That's why I've exposed the calculations in this release. The minute I change it to be one way, someone will want it the other way.

hambil 04-11-2007 01:01 PM

Of course, when you make the change all your numbers will be negative, and you probably won't like that either. Meh, I've done all I can do :)

spazz191 04-11-2007 02:51 PM

How many queries does this mod do? I am trying to streamline my forum and disable query intensive mods.


All times are GMT. The time now is 01:19 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.01219 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_code_printable
  • (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