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

Reply
 
Thread Tools
SM Forum Statistics Details »»
SM Forum Statistics
Version: 1.2, by WhaLberg WhaLberg is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.7.0 Rating:
Released: 05-09-2008 Last Update: 05-10-2008 Installs: 24
Uses Plugins Template Edits
Translations  
No support by the author.

Hello everybody,

After I saw a thread months ago, I told the thread author that I will do it and I made my promise, well, a little bit late.

What is this statistics product?
This is NOT a board statistics mod. This is a forum statistics mod that displays the top posters, top replied threads (within two months) and top viewed threads (within two months).

INSTALLATION:
  • Import the product.
  • Open the FORUMDISPLAY template.
  • Add after $navbar:
    HTML Code:
    $forumtops
  • Save.

That's all.

Congratulations!

Any idea to improve this mod is welcome.

NOTE: Works on 3.6.x.

Update notes:
v1.1 - Top poster query edited.
v1.2 - Thread queries edited.

Supporters / CoAuthors

Show Your Support

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

Comments
  #2  
Old 05-10-2008, 04:13 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So is this an updated Top X Stats or from another mod? I have been waiting for Top X Stats to be updated for a while myself.
Reply With Quote
  #3  
Old 05-10-2008, 04:39 AM
ElForro ElForro is offline
 
Join Date: Mar 2006
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks! I was the one who asked for it... I will try it...

I'm getting this error:

Code:
Invalid SQL:

              SELECT COUNT(*) AS count, post.userid, post.username FROM foro_post
			  LEFT JOIN foro_thread AS t ON(post.threadid = t.threadid)
			  LEFT JOIN foro_forum AS f ON(f.forumid = t.forumid)
			  WHERE f.forumid = 3
			  GROUP BY username
			  ORDER BY count DESC
			  LIMIT 5;

MySQL Error  : Unknown column 'post.userid' in 'field list'
Error Number : 1054
Date         : Saturday, May 10th 2008 @ 02:55:01 AM
Script       : http://www.xxxx.com/forumdisplay.php?f=3
Referrer     : http://www.xxxx.com/
IP Address   : XXX.XX.XX.XX
Username     : XXXX
Classname    : vB_Database
Reply With Quote
  #4  
Old 05-10-2008, 05:09 AM
indie2industry's Avatar
indie2industry indie2industry is offline
 
Join Date: Jan 2008
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First install. Lets see how this works

:-)
Reply With Quote
  #5  
Old 05-10-2008, 05:17 AM
indie2industry's Avatar
indie2industry indie2industry is offline
 
Join Date: Jan 2008
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

and working perfectly
Reply With Quote
  #6  
Old 05-10-2008, 05:23 AM
ElForro ElForro is offline
 
Join Date: Mar 2006
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now I tried to install in my test forum wich is a VB 3.7 (before i tried with 3.6.9) and I'm getting this error

Code:
Database error in vBulletin 3.7.0:

Invalid SQL:

              SELECT COUNT(*) AS count, post.userid, post.username FROM vbpost
			  LEFT JOIN vbthread AS t ON(post.threadid = t.threadid)
			  LEFT JOIN vbforum AS f ON(f.forumid = t.forumid)
			  WHERE f.forumid = 2
			  GROUP BY username
			  ORDER BY count DESC
			  LIMIT 5;

MySQL Error   : Unknown table 'post' in field list
Error Number  : 1109
Reply With Quote
  #7  
Old 05-10-2008, 05:46 AM
WhaLberg's Avatar
WhaLberg WhaLberg is offline
 
Join Date: Nov 2006
Location: Dersaadet
Posts: 569
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have updated the product. Please re-import and tell me the result.
Reply With Quote
  #8  
Old 05-10-2008, 06:09 AM
asj's Avatar
asj asj is offline
 
Join Date: Jul 2006
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ElForro View Post
Now I tried to install in my test forum wich is a VB 3.7 (before i tried with 3.6.9) and I'm getting this error

Code:
Database error in vBulletin 3.7.0:

Invalid SQL:

              SELECT COUNT(*) AS count, post.userid, post.username FROM vbpost
			  LEFT JOIN vbthread AS t ON(post.threadid = t.threadid)
			  LEFT JOIN vbforum AS f ON(f.forumid = t.forumid)
			  WHERE f.forumid = 2
			  GROUP BY username
			  ORDER BY count DESC
			  LIMIT 5;

MySQL Error   : Unknown table 'post' in field list
Error Number  : 1109
the same problem
Reply With Quote
  #9  
Old 05-10-2008, 08:38 AM
WhaLberg's Avatar
WhaLberg WhaLberg is offline
 
Join Date: Nov 2006
Location: Dersaadet
Posts: 569
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please download the attachment and if you had installed the previous version, overwrite it when importing.
Reply With Quote
  #10  
Old 05-10-2008, 09:07 AM
Defkalion Defkalion is offline
 
Join Date: Jan 2007
Location: Athens, Greece
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice work.
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 02:52 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.05063 seconds
  • Memory Usage 2,299KB
  • Queries Executed 24 (?)
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
  • (3)bbcode_code
  • (1)bbcode_html
  • (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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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