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
  #152  
Old 10-24-2005, 06:56 PM
xhybrid xhybrid is offline
 
Join Date: Jun 2005
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi,

your Extensions works fine @ www.r32-club.de

thank you :up:
Reply With Quote
  #153  
Old 10-24-2005, 08:52 PM
Crow's Avatar
Crow Crow is offline
 
Join Date: Jan 2005
Location: Detroit,Mich
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know this is a long shot but anyway to get this to show the newest photos from photopost (text Link)??? :nervous:
Reply With Quote
  #154  
Old 10-25-2005, 07:49 AM
InfiniteWebby InfiniteWebby is offline
 
Join Date: Nov 2001
Location: Downunda.
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by blue6995
Is there anyway of preventing the Top Posters Block from being displayed?

Thanks
There is no easy way at the moment. I just got a new PC so am in the middle of sorting some stuff out, I might be back later with a solution.

Quote:
Originally Posted by Crow
I know this is a long shot but anyway to get this to show the newest photos from photopost (text Link)??? :nervous:
I am not familiar with photopost so wouldn't even know where to start.
Reply With Quote
  #155  
Old 10-25-2005, 09:25 AM
GuaRRand GuaRRand is offline
 
Join Date: Oct 2005
Posts: 337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works great!!

Maybe an idea for next version (if its not mentioned before)
Show the avatar of the #1 poster on the list?
Reply With Quote
  #156  
Old 10-25-2005, 10:30 AM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

how can i use TopXStats in iFrames in a xternal Portal PHP or HTML Block for vBa, vBP or MKPortal ?
Reply With Quote
  #157  
Old 10-26-2005, 09:59 AM
plateau plateau is offline
 
Join Date: Apr 2005
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

stillllllllllllllll waiting for more columns coming out..................

come on mate. ... ... ^_^
Reply With Quote
  #158  
Old 10-29-2005, 05:11 AM
divided_by_fear's Avatar
divided_by_fear divided_by_fear is offline
 
Join Date: Oct 2005
Posts: 451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there any way you could get this working for vBadvanced CMPS v2.0.0 and if so thank you very much...
Reply With Quote
  #159  
Old 11-02-2005, 01:31 PM
caliman's Avatar
caliman caliman is offline
 
Join Date: Jan 2005
Location: California
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would be nice if this did not show redirects if you move a thread.

Also if I remove top posters, what code do I have to remove so that it runs faster (doesn't query the db about top posters).

thanks! cool mod.
Reply With Quote
  #160  
Old 11-05-2005, 05:01 PM
outlaw621's Avatar
outlaw621 outlaw621 is offline
 
Join Date: Oct 2004
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jluerken
I found out how I can exclude users from the TOP Poster list.

In topXstats.php find:
PHP Code:
$getstats_posters $db->query_read("SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts FROM " TABLE_PREFIX "user ORDER BY posts DESC LIMIT 0, $displayrecords"); 
and change to
PHP Code:
$getstats_posters $db->query_read("SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts FROM " TABLE_PREFIX "user WHERE userid NOT IN (1282,1) ORDER BY posts DESC LIMIT 0, $displayrecords"); 
I added a WHERE userid NOT IN (1282,1) which is an array of userid's.

In this example I excluded userid 1282 which is my RSS Bot and userid 1 which is the main Admin account.

In product-topXstats.xml find:
PHP Code:
$getstats_posters $db->query_read("SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts FROM " TABLE_PREFIX "user ORDER BY posts DESC LIMIT 0, $displayrecords"); 
and change to:
PHP Code:
$getstats_posters $db->query_read("SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts FROM " TABLE_PREFIX "user WHERE userid NOT IN (1282,1) ORDER BY posts DESC LIMIT 0, $displayrecords"); 
Reupload the topXstats.php and
then go to your ADMINCP - PLUGIN SYSTEM - MANAGE PRODUCTS - ADD/IMPORT PRODUCT and upload the change .xml file.
Make sure that "Allow Overwrite" is set to YES

Thats it!

I did not find out how to exclude a whole group like the banned group.

@InfiniteWebby:
Could you please release a version 1.3 where we can also exclude single userids and whole groups?
Did you try changing userid to usergroupid? I have not tested this yet. It is just a thought.

In topXstats.php find:
PHP Code:
$getstats_posters $db->query_read("SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts FROM " TABLE_PREFIX "user ORDER BY posts DESC LIMIT 0, $displayrecords"); 
and change to

PHP Code:
$getstats_posters $db->query_read("SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts FROM " TABLE_PREFIX "user WHERE usergroupid NOT IN (8) ORDER BY posts DESC LIMIT 0, $displayrecords"); 

In product-topXstats.xml find:
PHP Code:
$getstats_posters $db->query_read("SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts FROM " TABLE_PREFIX "user ORDER BY posts DESC LIMIT 0, $displayrecords"); 
and change to:
PHP Code:
$getstats_posters $db->query_read("SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts FROM " TABLE_PREFIX "user WHERE usergroupid NOT IN (8) ORDER BY posts DESC LIMIT 0, $displayrecords"); 
The above code MAY let you exclude by group instead of user. In the above examples, it should exclude group 8 which is the default banned users group.
Reply With Quote
  #161  
Old 11-06-2005, 01:40 PM
caliman's Avatar
caliman caliman is offline
 
Join Date: Jan 2005
Location: California
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you outlaw I will try that.
Do you know anything about the 'moved thread' bug? It shows the redirect and the thread.
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 10:28 AM.


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.06067 seconds
  • Memory Usage 2,333KB
  • 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
  • (8)bbcode_php
  • (3)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