Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vB Weekly Stats Details »»
vB Weekly Stats
Version: 1.00, by Jd19 Jd19 is offline
Developer Last Online: May 2013 Show Printable Version Email this Page

Category: Statistics Modifications - Version: 3.6.3 Rating:
Released: 11-20-2006 Last Update: Never Installs: 194
 
No support by the author.

Title
vB Weekly Stats - Display and email weekly forum stats

Version: 1.7

Description
A plugin that will display and email weekly statistics for the vBulletin forum software. The project was spurred from a project that a fellow forum member was working on which got me thinking about a better way to monitor what was going on. This allows me to keep up with statistics very easily and monitor the progression my forum is making.

Language: PHP

Tested System: CodeCall.net

License
GNU although a link back to http://www.codecall.net would be nice for anyone using.

Todo List/Bugs
  • Make XHTML compliant

Change Log

Version 1.6 - 17
  • If the CRON script is executed after 12:00 you no longer get zero filled values.
  • You can now exclude forums from showing (Options)
  • Username has been clarified in options (bolded) so that no one is confused. The default username "Administrator" has been removed and set to blank.

Version 1.5 - 1.6 by skoenig - Thank you!
  • Fixed major bug in Email Plugin - All emails sent from forum now function correctly.
Version 1.4 - 1.5 by Bolas - Thank you!
  • Now Uses vB method to send email
  • Hooks change on-the-fly the Content-Type
Version 1.3 - 1.4
  • Corrected Link in newly registered members display
Version 1.2 - 1.3
  • Added Previous Week and 2 Weeks Ago to weekly display.
  • Removed User Requests, requests are removed after they are completed so the actual number is always 0 (unless you never complete them).
  • Modified cron job to run 15 minutes before 12:00 which will prevent the email being filled with 0 values.
  • Added post number to newly registered users this week (in brackets beside name).
  • Aligned newly registered users in a table to conserve space.
Version 1.1 - 1.2
-- Changes by TkTech
  • (None) tags instead of mis-drecting links when no threads found
Version 1.0 - 1.1
  • Added all registered users names for week using Javascript.
  • Changed Display, grouped common seciotns
  • Added Most Replied and viewed thread created this week.
  • Fixed Title - CodeCall isn't hard coded any longer
  • Changed wording of Activity Number

Notes
This software is in the version control system of CodeCall.net. If you would like to contribute, please join this forum and become a member. All suggests are greatly welcome!

Install (after you unzip)
1. Upload all files in the upload directory to the root of your forum directory (where index.php is).

2. Login to the admin control panel

3. Goto Plugins & Products and click on Manage Products

4. Click on Add/Import Product

5. Browse to the directory of Weekly Stats and Select Weekly-Stats.xml

6. Click Import

7. Setup the product in vBulletin Options

8. Thats it, your done! You can access the stats at http://www.youdomain.com/forum/weeklystats.php

The cron job is scheduled to run every Sunday at 11:59 which will deliever stats to your email
account.

Support
Support will be given at http://forum.codecall.net/community-...kly-stats.html only. New releases will appear there first before they are updated here. Create a post at this URL for installation problems, bugs or suggestions. I will not be checking this thread very often.

Demo
http://forum.codecall.net/weeklystats.php

Show Your Support

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

Comments
  #102  
Old 04-22-2007, 02:39 AM
itsblack itsblack is offline
 
Join Date: Dec 2005
Location: Augsburg
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, I got these errors, anyone can help?
PHP Code:
Warningmysql_num_rows(): supplied argument is not a valid MySQL result resource in \weeklystats.php on line 84

Warning
mysql_num_rows(): supplied argument is not a valid MySQL result resource in \weeklystats.php on line 95

Warning
mysql_num_rows(): supplied argument is not a valid MySQL result resource in \weeklystats.php on line 106

Warning
mysql_num_rows(): supplied argument is not a valid MySQL result resource in \weeklystats.php on line 146

Warning
mysql_num_rows(): supplied argument is not a valid MySQL result resource in \weeklystats.php on line 158

Warning
mysql_num_rows(): supplied argument is not a valid MySQL result resource in \weeklystats.php on line 169

Warning
mysql_num_rows(): supplied argument is not a valid MySQL result resource in \weeklystats.php on line 180

Warning
mysql_num_rows(): supplied argument is not a valid MySQL result resource in \weeklystats.php on line 189

Warning
mysql_num_rows(): supplied argument is not a valid MySQL result resource in \weeklystats.php on line 199

Warning
mysql_num_rows(): supplied argument is not a valid MySQL result resource in \weeklystats.php on line 208 
meanwhile there are also no results to display except "Most Viewed Thread" and "Most Replied To Thread".
Reply With Quote
  #103  
Old 05-04-2007, 01:40 PM
z0diac z0diac is offline
 
Join Date: Dec 2006
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've never upgraded a plugin/product before, just done fresh installs.

Do I need to remove the old one through the Product/Plugin menu in vB?
Or just re-install using the Product/Plug menu?
Or I just copy over the old script files with the new ones?

Sorry for the newbie question but I don't want to mess up my current config.
Reply With Quote
  #104  
Old 05-04-2007, 04:23 PM
iorkara iorkara is offline
 
Join Date: Mar 2007
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank You This lookin awesome
Reply With Quote
  #105  
Old 05-12-2007, 12:04 PM
z0diac z0diac is offline
 
Join Date: Dec 2006
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

DOes anyone know how to do an upgrade??? I"ve never done one before. Do I re-install using the vB installer? Do I just copy over the files in the o/s ?? Do I uninstall and re-install?? Anyone???
Reply With Quote
  #106  
Old 05-12-2007, 12:19 PM
Mrdby Mrdby is offline
 
Join Date: Mar 2007
Location: Hades
Posts: 1,298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by z0diac View Post
DOes anyone know how to do an upgrade??? I"ve never done one before. Do I re-install using the vB installer? Do I just copy over the files in the o/s ?? Do I uninstall and re-install?? Anyone???
this hack? just over write it.
Reply With Quote
  #107  
Old 05-31-2007, 07:21 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This has come along nicely. finally installed it today. nice.
Reply With Quote
  #108  
Old 06-09-2007, 11:25 PM
YabbaDabba YabbaDabba is offline
 
Join Date: May 2004
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PROBLEMS

1 - Stats Table Title Bar

This Week: Current Week Stats - 5 Days Total
Last Week: Current Week Stats - 11 Days Total
2 Weeks Ago: Current Week Stats - 11 Days Total

Shouldn't it be something like:

This Week: Current Week - 5 Days Total
Last Week: Last Week - 7 Days Total
2 Weeks Ago: 2 Weeks Ago - 7 Days Total

I see the same issue on your own site. If a basic number is wrong, the confidence in the reported stats rapidly approaches zero.

2 - Bad Stats

I do not understand the numbers that are being reported at all.
We consistently have about 30K posts per week.

For example, in ACP > Statistics I see post counts for the last 3 weeks of:
Week 22 (June 2007) 27296 (partial)
Week 21 (June 2007) 28326
Week 20 (May 2007) 29352

However, your numbers for the same period are:
26835
25114
83889 (yeah, 83K. Is this a 3 week Cumulative Total?)

Similarly for threads, ACP reports:
Week 22 (June 2007) 1523
Week 21 (June 2007) 1516
Week 20 (May 2007) 1629

And your numbers are:
1442
1275
4417 (again, maybe a 3 week cumulative total?)

So there are really 2 issues here:
  1. Your numbers for "Two Weeks Ago" are just plain wrong
  2. Your numbers don't match vB reports
Reply With Quote
  #109  
Old 06-09-2007, 11:28 PM
YabbaDabba YabbaDabba is offline
 
Join Date: May 2004
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

SUGGESTED CLEANUPS

1 - Stat Description Cleanup

Number of Threads This Week:
Number of Posts This Week:
Most Viewed Thread Created This Week:
Most Replied To Thread Created This Week:
Number of Registrations This Week:
Number of Bans This Week:
Number of Infractions This Week:
Number of User Promotions This Week:
Number of Active Users This Week: <== based on how I'm interpreting your query
Number of Attachments Uploaded This Week:
Number of Private Messages This Week:
Number of Poll Votes This Week:

Your descriptions and bolding are very inconsistent. The purpose of the report is to convey information, not confusion.


2 - Period
You use "Current Week" much too casually. Sometimes you mean last week, sometimes you mean this week.

It would be so much more useful if you actually spelled out the start/stop dates instead of saying "current week".

Weekly Stats - June 4 thru June 10
Weekly Stats - May 28 thru June 3

This should be done in BOTH the e-mail and the php display page.


3 - User Registrations Expansion Link

Need to add a mouseover effect so it doesn't look like a dead link.

Supporting a standard vB expand/contract graphic would help too.


4 - Phrase Lib Support

Desperately needed
Reply With Quote
  #110  
Old 06-09-2007, 11:55 PM
YabbaDabba YabbaDabba is offline
 
Join Date: May 2004
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

SUGGESTED FEATURE

Let the admin define the reporting period in the admin control panel.
The current Monday thru Sunday period is not very standard.
Reply With Quote
  #111  
Old 06-20-2007, 09:16 AM
thenewuser thenewuser is offline
 
Join Date: Mar 2005
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Useful for marketing, thanks, installed!
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 05:12 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.11136 seconds
  • Memory Usage 2,324KB
  • 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
  • (1)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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