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

Reply
 
Thread Tools
Top 'X' Stats Details »»
Top 'X' Stats
Version: 1.2.2, by InfiniteWebby InfiniteWebby is offline
Developer Last Online: Aug 2007 Show Printable Version Email this Page

Version: 3.5.0 RC1 Rating:
Released: 07-27-2005 Last Update: 09-03-2006 Installs: 538
Uses Plugins Template Edits
Additional Files  
No support by the author.

[high]Security Fix: The uploaded version fixes all issues concerned with the recent security vulnerabilities. Sorry I haven't been around I don't really do anything plugin wise anymore.[/high]

Oh this version also works with all current version of vB 3.6. So feel free to use it on that version.

- InfiniteWebby

The low down

Well this is the vB 3.5.0 version of my hack. It is much the same as the original except that for some added stuff that I never released

Basically what it does is show the Top 'X' (edited via the vBulletin options in the admincp) newest members, top posters and newest replies on the Forumhome.

So what's new in this version?

Well for one all settings, which include amount of stats to show on forumhome and the extended page, thread title and username truncation, excluded forums and 'new' and 'old' thread prefixes.

Secondly there is now an extra page where you are able to choose exactly how many stats to show.

And lastly and most importantly it only takes 3 simple steps to install =)

What's on the horizon?

- More "stat blocks" including top reputation and top thread based on views or replies. If you have a suggestion please let me know, prefferably via pm.
- Proper can view other users threads permissions. At the moment I cannot think of how to block other people threads while still showing your own without totally re-writing the hack =(.

Version 1.2.1 is a re-release with who's online additions as well as some template changes. So you are best to reinstall the whole thing all over again.

So anyway enjoy and click install.

Show Your Support

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

Comments
  #242  
Old 02-13-2006, 04:20 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, works fine on my forums.

http://forums.philosopherslegacy.net
Reply With Quote
  #243  
Old 02-14-2006, 11:50 AM
The Realist's Avatar
The Realist The Realist is offline
 
Join Date: Oct 2001
Location: UK
Posts: 842
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any ideas anyone?

Quote:
Originally Posted by The Realist
Getting this error in regards to uncached templates on the botton of my forums:

Uncached templates: topXstats_member_bit (5)
Uncached templates: topXstats_poster_bit (5)
Uncached templates: topXstats_stats_bit (1)
Uncached templates: topXstats_thread_bit (5)

How to I cach them?
Reply With Quote
  #244  
Old 02-14-2006, 11:57 AM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah I would like to know as well.
Reply With Quote
  #245  
Old 02-15-2006, 03:09 AM
InfiniteWebby InfiniteWebby is offline
 
Join Date: Nov 2001
Location: Downunda.
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Realist
Any ideas anyone?
It's already in the product. Try re-uploading and installing it.
Reply With Quote
  #246  
Old 02-15-2006, 05:52 PM
CupraSi's Avatar
CupraSi CupraSi is offline
 
Join Date: Jul 2002
Location: Leeds, England
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Uploaded fine for me thanks

One question

When you are in ACP it says something about extended stats pages

What is this please as I cant see it and when I click on the stats link I get a 404 page
Reply With Quote
  #247  
Old 02-17-2006, 01:29 PM
RDX1 RDX1 is offline
 
Join Date: Apr 2002
Posts: 497
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When installing:

Code:
Database error in vBulletin 3.5.3:

Invalid SQL:

				INSERT INTO setting
				(varname, grouptitle, value, defaultvalue, datatype, optioncode, displayorder, advanced, volatile, product)
				VALUES
				(
					'topXstats_displayrecords_forumhome',
					'topXstats',
					'5',
					'5',
					'number',
					'',
					10,
					0,
					1,
					'topXstats'
	),
	(
					'topXstats_displayrecords',
					'topXstats',
					'30',
					'30',
					'number',
					'',
					20,
					0,
					1,
					'topXstats'
	),
	(
					'topXstats_maxdisplayrecords',
					'topXstats',
					'200',
					'200',
					'number',
					'',
					30,
					0,
					1,
					'topXstats'
	),
	(
					'topXstats_excludedforums',
					'topXstats',
					'0',
					'0',
					'free',
					'',
					40,
					0,
					1,
					'topXstats'
	),
	(
					'topXstats_threadchars',
					'topXstats',
					'0',
					'0',
					'number',
					'',
					50,
					0,
					1,
					'topXstats'
	),
	(
					'topXstats_userchars',
					'topXstats',
					'0',
					'0',
					'number',
					'',
					60,
					0,
					1,
					'topXstats'
	),
	(
					'topXstats_newpostprefix',
					'topXstats',
					'[New]',
					'[New]',
					'free',
					'',
					70,
					0,
					1,
					'topXstats'
	),
	(
					'topXstats_oldpostprefix',
					'topXstats',
					'[Old]',
					'[Old]',
					'free',
					'',
					80,
					0,
					1,
					'topXstats'
	);

MySQL Error  : Duplicate entry 'topXstats_displayrecords_forumhome' for key 1
Error Number : 1062
Date         : Friday, February 17th 2006 @ 07:45:55 AM
Script       : *
Referrer     : http://www.*/plugin.php?do=productadd
IP Address   : *
Username     : *
Classname    : vb_database
Reply With Quote
  #248  
Old 02-17-2006, 02:21 PM
CupraSi's Avatar
CupraSi CupraSi is offline
 
Join Date: Jul 2002
Location: Leeds, England
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CupraSi
Uploaded fine for me thanks

One question

When you are in ACP it says something about extended stats pages

What is this please as I cant see it and when I click on the stats link I get a 404 page
Anyone know about the extended stats?
Reply With Quote
  #249  
Old 02-21-2006, 10:03 PM
Muscolino Muscolino is offline
 
Join Date: Mar 2005
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yet another hack I'm having problems with

I've installed it but get this:
Quote:
Database error in vBulletin 3.5.3:

Invalid SQL:
SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts FROM user ORDER BY posts DESC LIMIT 0,;

MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Error Number : 1064
Reply With Quote
  #250  
Old 02-23-2006, 05:58 AM
georgedd georgedd is offline
 
Join Date: Aug 2004
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There seems to be a bug/ security issue I just discovered with this plugin. If the title of a new thread contains HTML tags, it's displayed as is (not converted to entities) by the top x stats plugin...
Reply With Quote
  #251  
Old 02-25-2006, 01:04 AM
georgedd georgedd is offline
 
Join Date: Aug 2004
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BTW, I've gone ahead and fixed the "non entity" bug I reported above. For those interested, inside topxstats.php (or edit directly in vbulletin control panel), find the lines:

Code:
		else
		{
			$getstats_thread[titletrimmed] = $getstats_thread[title];
		}
	}
and add beneath it one extra line:
Code:
		else
		{
			$getstats_thread[titletrimmed] = $getstats_thread[title];
		}
	}
	$getstats_thread[titletrimmed]=htmlspecialchars($getstats_thread[titletrimmed]);
Also, inside the template "topXstats_thread_bit", find:

Code:
title="<phrase 1="$getstats_thread[title]"
and change that to:

Code:
title="<phrase 1="$getstats_thread[titletrimmed]">
I highly recommend you implement the above changes or changes of your own. Otherwise, someone can execute arbitrary JavaScript code on your site just by entering as the title of a thread the script, such as:

Code:
<script>alert("hi")</script>
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 12:04 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.05722 seconds
  • Memory Usage 2,316KB
  • 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
  • (6)bbcode_code
  • (4)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
  • (2)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