Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vbTrends - An Enhanced Statistics Box on Forum Home Details »»
vbTrends - An Enhanced Statistics Box on Forum Home
Version: 2.0.0, by hambil hambil is offline
Developer Last Online: Apr 2013 Show Printable Version Email this Page

Category: Statistics Modifications - Version: 3.6.5 Rating:
Released: 03-23-2007 Last Update: 04-10-2007 Installs: 133
DB Changes Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.


Note: This product is now being supported at www.catnine.net

Keywords: Statistics, New members, joins, trends, Forum Home, threads, posts

ATTENTION:
If you download the latest version go into your usergroups and set the 'can view trends' permission. SAVE the usergroup even if you haven't changed the setting or things may not work. There is an odd permissions bug I haven't figured out yet.

Also note that overwrite will not work. Please uninstall the previous version before installing the new one.

Description:
Enhances the "YourBBS" Statistics box on the forum home to show trends of posts, threads and new users vs. the overall history of the board. Also allows you to display more than one "newest member".

Version 2.0.0:
  1. Calculations exposed and modifiable in admincp.
  2. Added ability to delay updates of stats to every x minutes in admincp.
  3. Added a style setting for positive and negative trends.
  4. Added custom hooks for all aspects of vbTrends, and moved code into said hooks.
  5. Changed template to still show total threads when trend is negative and 'positive trends only' is enabled.
  6. Usergroup permission to view trends.
Note: You cannot cause an error by messing up the calculations in the admincp. If the calculation you provide contains errors the stat in question will show as N/A.

This is a major rewrite, so I've set the hack to beta for now.

Version 1.2.6:
  1. Made some minor tweaks for cleaner code
  2. Made change to build datastore call to force serialization
You can just overwrite the product.xml if you are upgrading. Remember vbTrends has an option in the admincp to reset the counters. To see any changes/fixes you'll want to run that, or you'll end up having to wait for a new day before the changes will take affect.

Version 1.2.5:
  1. fixed minor bug in auto-replace that was causing it not to work on some boards
Version 1.2.4:
  1. fixed bug in percentage of active users
  2. fixed bug in limit of queries (added order by)
Thanks to bchertov and Battle_Ring for the testing

Version 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.
Version 1.1.3:
  1. Updated for vBulletin 3.6.
  2. Fixed long standing problem with stats calculating incorrectly.
  3. Added option to only show positive trends.
Version 1.1.2:
  1. Added admincp menu to reset cached counters.
  2. Fixed a couple of divide by zero errors that occurred when your board had no history (was less than a month old).
  3. Fixed so templates are now cached.
Version 1.1.1:
  1. Fixed calculation of statistics - should definately be correct now
Version 1.1.0:
  1. Fully phrased.
  2. Uses templates now so look and feel can be customized
  3. Fixed bug so output is valid xhtml 1.0.
Version 1.0.0:
  1. Turn on/off in admincp
  2. Offers the option to auto replace in templates, or to manually edit templates.
  3. Allows more than one 'newest user' to be display.
  4. Shows trends for posts, threads and new users - this month vs. the boards average.
Install
  1. Download the vbTrends_2.0.0.zip.
  2. Unzip and follow instructions in install.html.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #222  
Old 05-04-2007, 12:46 PM
foxfirediego foxfirediego is offline
 
Join Date: Aug 2005
Location: Brazil
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

issue, using PT-BR language it show me:
Code:
Membros Ativos: 396  (11327%)
T?picos: 1.778, Esse M?s: 57  (111%)
Mensagens: 10.342, Esse M?s: 468  (171%)
Membros: 3.496, Esse M?s: 24  (-86%)
but using english language looks correct:
Code:
Active Members: 396  (11%)
Threads: 1,778, This Month: 57  (111%)
Posts: 10,342, This Month: 468  (171%)
Members: 3,496, This Month: 24  (-86%)
Reply With Quote
  #223  
Old 05-13-2007, 05:59 PM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I wish to completely remove the Active Members: Line How do i do this?

BTW Just upgraded to 2.0.0 with VB ver. 3.6.6 So Far So Good

DM
Reply With Quote
  #224  
Old 05-14-2007, 10:02 AM
wolfe wolfe is offline
 
Join Date: Jan 2002
Posts: 900
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

m8 is there anyway of making a positive / negative for the Active Members: 55 (89%) like if 89% drops then its red arrow neg or if it goes up its green pos ?
Reply With Quote
  #225  
Old 05-18-2007, 02:13 AM
tutusinghsohi's Avatar
tutusinghsohi tutusinghsohi is offline
 
Join Date: May 2006
Location: Virginia, USA
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry to be a pain, but i have a small problem...

when i replace
Code:
		<div class="smallfont">
			<div>
				$vbphrase[threads]: $totalthreads,
				$vbphrase[posts]: $totalposts,
				$vbphrase[members]: $numbermembers<if condition="$show['activemembers']">,
					<span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span>
				</if>
			</div>
			<div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
		</div>


with
Code:
		<!-- vbTrends Start -->
		$vbtrends_output
		<!-- vbTrends End -->
nothing shows up...


please help......
Reply With Quote
  #226  
Old 05-22-2007, 11:19 PM
Tearstone Tearstone is offline
 
Join Date: Feb 2007
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Unfortunately, I had to uninstall this mod because the arrows showed up as red "X"s (broken images) on one of the skins I was using.
Reply With Quote
  #227  
Old 05-28-2007, 05:06 PM
Doctor Death Doctor Death is offline
 
Join Date: Dec 2005
Posts: 449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you please consider adding to this hack the preservation of formatting for usernames by usergroup? (HTML Usergroup Tags)

It would be useful to retain that formatting.

Thanks much!

Doc
Reply With Quote
  #228  
Old 06-14-2007, 03:30 AM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I Installed this and I updated the usergroups and everything worked great

now 1 day later and it's just blank. I don't believe anyone touched anything ?

any idea ???

thanks
-Brandon
Reply With Quote
  #229  
Old 06-15-2007, 10:48 AM
GuaRRand GuaRRand is offline
 
Join Date: Oct 2005
Posts: 337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how does it do the math?

Active Members: 30 (36%)
Threads: 456, This Month: 27 (84%)
Posts: 9,978, This Month: 375 (61%)
Members: 84, This Month: 1 (0%)

I mean, what is the (%) behind the numbers?... the % of posts/threads made by active members or inactive?... or something else?
Reply With Quote
  #230  
Old 06-24-2007, 08:54 AM
loonytune15's Avatar
loonytune15 loonytune15 is offline
 
Join Date: Mar 2003
Location: Loony Bin
Posts: 357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this mod still alive? I was waiting for it to come out of BETA, but nothing has happened since April..
Reply With Quote
  #231  
Old 06-29-2007, 01:33 AM
provedel provedel is offline
 
Join Date: Mar 2005
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you please consider adding to this hack a way to show the total number of posts deleted by our mods???

Thanks!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09289 seconds
  • Memory Usage 2,315KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete