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

Reply
 
Thread Tools
Top Posters List Details »»
Top Posters List
Version: 4.2.0.0, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.2.x Rating:
Released: 01-02-2010 Last Update: 05-23-2012 Installs: 311
Uses Plugins Auto-Templates
Translations  
No support by the author.

As of 23 Nov 2017 this modification has been withdrawn.

This displays a page with the Top Forum Posters for a given set of periods. Two of the periods are fixed ('This Month' & 'Overall') but can be turned off in the options. The other three periods are user definable (in days). The default values for these columns are 1 day, 7 days & 28 days (note that 0 = off).

* The number of posters to be shown can be set, the default is the Top 10 posters.
* You can select which usergroups are included (or excluded) in the count, so members in banned groups etc are not shown
* You can exclude individual userids such as rss posters.
* You can exclude forums from the counts - however, this exclusion does not apply to the final "overall" count.
* If enabled, this will also add a link to your Quick Links or Community Links menus.
* There is an option to prefix the link path if you use something like CMPS.
* Usergroup & forum settings now display actual lists rather than needing csv id lists.

To install just unzip the xml file and import it using the Product Manager


History:

v4.0.1 : 03-Jan-2010 : Initial release for vb 4.0.0 Gold.
v4.0.2 : 12-Jan-2010 : Fixed WOL location. Added userid exclusion facility.
v4.0.3 : 17-Jan-2010 : Updated settings display. Added forum exclusion facility.
v4.0.4 : 20-Jan-2010 : Internal update, not released.
v4.0.5 : 26-Jan-2010 : Various updates.
v4.0.6 : 16-Feb-2010 : Settings update.
v4.0.7 : 27-Feb-2010 : Style code updates for vB 4.0.2.
v4.0.8 : 26-Sep-2010 : Install Code Updated.
v4.0.9 : 06-Nov-2010 : Install code updated.

v4.1.0 : 04-Dec-2010 : Updated for vBulletin 4.1.
v4.1.1 : 05-Mar-2011 : Fix possible array issue.

v4.1.7.0 : 16-Oct-2011 : Updated for vBulletin 4.1.7.

v4.2.0.0 : 24-May-2012 : Updated for vBulletin 4.2.0.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
Eliam, obglobal.net, Stormlilly

Comments
  #62  
Old 02-06-2011, 11:05 AM
mindway mindway is offline
 
Join Date: Feb 2011
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how can i display this on top of each page... for instance call the plugin at top of each page...
Reply With Quote
  #63  
Old 02-06-2011, 08:20 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You cannot do that, its designed to be its own page.
Reply With Quote
  #64  
Old 03-09-2011, 01:46 AM
beatyourtruck's Avatar
beatyourtruck beatyourtruck is offline
 
Join Date: Jul 2005
Location: Wisconsin
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent Paul. Working perfectly on 4.1.2.

Thank you! 8)
Reply With Quote
  #65  
Old 03-29-2011, 12:21 PM
Strauss Strauss is offline
 
Join Date: Sep 2010
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome thanks!
Reply With Quote
  #66  
Old 04-20-2011, 06:19 PM
dlewisr dlewisr is offline
 
Join Date: Mar 2011
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cheers mate. Job's a good 'un
Reply With Quote
  #67  
Old 04-26-2011, 12:14 AM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mindway View Post
how can i display this on top of each page... for instance call the plugin at top of each page...
Quote:
Originally Posted by Paul M View Post
You cannot do that, its designed to be its own page.
Well, it could be done, if he really want it and want to do a bit work on it.

You need to change template Top_posters, remove everything except table code for creating list and usual HTML page code. The rest is just how vBulletin creates its own pages, so it could go and in this case it should go.

Then find template that is used everywhere. You should use either navbar or footer (i.e. if you want it on top or bottom of your forum). After that, just put iframe html code calling top posters.

If you don't know about what I'm talking, don't do this.
Reply With Quote
  #68  
Old 04-26-2011, 12:26 AM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Paul, excellent mod, really like it. I use it for Top 100 posters, so I needed to add poster's position number (you can get lost in this many posters).

If someone wants to do this, edit this template:

Top_Posters_Bit

find:
HTML Code:
{vb:raw posts.username}
add before:
HTML Code:
{vb:raw posts.row}.
As posts.raw isn't defined, you need to create it. Edit plugin Top posters that uses hook misc_start (all plugins have same name, so look for hook).

Find:

PHP Code:
                $posts['userid'] = $posts[$col]['userid'];
                
$posts['username'] = $posts[$col]['username'];
                
$posts['postcount'] = vb_number_format($posts[$col]['postcount']);
                
$templater vB_Template::create('Top_Posters_Bit');
                
$templater->register('posts',$posts);
                
$toppostrow .= $templater->render(); 
Add right before or after this code:
PHP Code:
$posts['row'] = $row+1
That's it, you have users postion before users name. I attached modified file.
Reply With Quote
  #69  
Old 04-26-2011, 03:00 AM
billstelling's Avatar
billstelling billstelling is offline
 
Join Date: Apr 2011
Posts: 246
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome mod! I like it allot, well done.
Reply With Quote
  #70  
Old 06-05-2011, 10:45 PM
jack150464's Avatar
jack150464 jack150464 is offline
 
Join Date: Jun 2010
Location: Lisbon
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do I change the background color?

thanks
Reply With Quote
  #71  
Old 06-06-2011, 12:12 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You would need to edit the custom CSS.
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:43 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.06705 seconds
  • Memory Usage 2,323KB
  • 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
  • (2)bbcode_html
  • (2)bbcode_php
  • (2)bbcode_quote
  • (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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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