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)

hambil 03-26-2007 11:14 AM

Uploaded 1.2.3.

1. Added option to display % of active users.
2. Added option to set the number of previous months to include in the trend data.

Battle_Ring 03-26-2007 02:23 PM

sorry but the percentage aint working

http://www.traderretreat.com/forum/forums.php

It shows as this
(0%)
Threads: 35,012, This Month: 1609 (76%)
Posts: 172,498, This Month: 9480 (109%)
Members: 2,318, This Month: 42 (-23%)

Welcome to our newest 5 members, jocadi, robby, jrpeevyhouse, Munoz99OD, Gmac555


Got it to work on one of my sites and it shows like this

Active Members: 411 (47.7351916376%)
Threads: 7,737, This Month: 1673 (26%)
Posts: 44,613, This Month: 8588 (14%)
Members: 861, This Month: 63 (-58%)

Welcome to our newest 5 members, Brickyard Jim, Hands, mypens66, NASCAR101, CollectorsCentral

whys it go out some many numbers

bchertov 03-26-2007 04:39 PM

I see that you have added "LIMIT " . $vbulletin->options['vbtrends_max_months']" where you are determining the base line for your trends. It seems to me that you would also need to include an ORDER BY so you get the most recent vbtrends_max_months months.

hambil 03-26-2007 04:47 PM

I added a round, hopefully that takes care of it.

As for the 0%, it looks like you've deactivated showing active members, but let showing active members percentage on. I've changed the code to handle that condition now.

I've uploaded the new zip.

hambil 03-26-2007 04:53 PM

Quote:

Originally Posted by bchertov (Post 1212829)
I see that you have added "LIMIT " . $vbulletin->options['vbtrends_max_months']" where you are determining the base line for your trends. It seems to me that you would also need to include an ORDER BY so you get the most recent vbtrends_max_months months.

You are correct!

Itzbenreel 03-26-2007 05:18 PM

Installed, but the stats aren't showing yet. Is this a timed event? Do I need to update all counters before it will work. NOTE: This is on a fresh installed vB w/ 3 users and 300 posts.

hambil 03-26-2007 05:56 PM

Stats should show. Make sure you have "show positive trends only" turned off.

You may also need to do the manual change of the template. Some people are reporting problems with the auto-replace. I'm looking into that, but haven't been able to duplicate it on my board yet.

Battle_Ring 03-26-2007 06:11 PM

Ok percentage is howing up now but it says 0
Active Members: 0 (0%)
Threads: 35,023, This Month: 1620 (77%)
Posts: 172,594, This Month: 9576 (111%)
Members: 2,318, This Month: 42 (-23%)

Welcome to our newest 5 members, jocadi, robby, jrpeevyhouse, Munoz99OD, Gmac555

http://www.traderretreat.com/forum/forums.php

i have everything set to on, any ideas

hambil 03-26-2007 06:14 PM

Quote:

Originally Posted by Battle_Ring (Post 1212901)
percentage still not working

http://www.traderretreat.com/forum/forums.php

i have everything set to on

I've tested all combinations on my board - which is admittedly under construction and not open to the public yet, but still, it works for me. Can I get a temp login to check it out for you?

Battle_Ring 03-26-2007 06:25 PM

pm sent


All times are GMT. The time now is 11:13 AM.

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.01216 seconds
  • Memory Usage 1,736KB
  • 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
  • (2)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