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

Reply
 
Thread Tools
vBadvanced Module: Top Posters in Last X Days Details »»
vBadvanced Module: Top Posters in Last X Days
Version: 2.0, by Hasann Hasann is offline
Developer Last Online: Jun 2021 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.8.x Rating:
Released: 12-20-2008 Last Update: 07-30-2009 Installs: 128
Translations  
No support by the author.

Top Posters vBAdvanced CMPS Module by Hasann



This Product brought to you by
www.vbulletin-turkey.com

Description:

This will add a CMPS block to your vBadvanced CMPS portal page.
It will display the "Top Posters" based on post count in your vBulletin forums.

Features:
  • Username link to profile.
  • Post count link to show all posts by the member.
  • Top Posters Count
  • Hide Posts Count
  • Top Poster Avatars
  • Top Poster Avatar width
  • Top Poster Avatar height
  • Ignore Users to show in top posters list
  • Ignore UserGroups to show in top posters list
  • Username HTML Markup (fetch_musername)
  • Uses exec_switch_bg (Reads $bgclass and returns the alternate table class)
  • only 1 query
  • Top Posters in the Last X Days

NOTE: vB Optimise: vBAdvanced Integration
Cache vBAdvanced Module: Top Posters
if you turned this option to yes than this module generates 0 query

Top Posters in the Last X Days Examples:
1 (day) = Today's Top Posters
7 (days) = Top Posters of the Week
30 (days) = Top Posters of the Month
365 (days) = Top Posters of the Year
0 (no limit) = Overall Top Posters


Tested on:

Demo: www.vbulletin-turkey.com

INSTALL INSTRUCTIONS

Go to your Forums -> Admincp -> vBa CMPS / Download -> Upload Module -> Module to Upload -> Select topposters file as .xml or .module format from your pc -> than Submit.

http://img525.imageshack.us/img525/9...benanntpm7.jpg

Download Now

File Type: zip Top_Posters_Module.zip (253.0 KB, 947 views)

Screenshots

File Type: png topposters.png (19.3 KB, 0 views)
File Type: jpg Top_Posters_Module.jpg (42.7 KB, 0 views)
File Type: jpg Top_Posters_Options.jpg (241.6 KB, 0 views)

Supporters / CoAuthors

Show Your Support

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

Comments
  #22  
Old 01-04-2009, 02:41 AM
rolandogomez's Avatar
rolandogomez rolandogomez is offline
 
Join Date: Jan 2006
Location: San Antonio
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mythor,

I took your idea and in order to get mine to work, I had to do more. Though instead of messing with the XML file, I just did it on the top_posters.php file. After applying your changes in blue, I had to apply what is in red too, see below (note, "forums" is my forum directory, for all users, make sure it's your directory name, not mine) :

Code:
// User custom avatar
		if ($vbulletin->options['usefileavatar']) {
			if ($thumb AND @file_exists($vbulletin->options['avatarpath'] . "/thumbs/avatar$userinfo[userid]_$userinfo[avatarrevision].gif")) {
				$avatarurl =  "/forums/" . $vbulletin->options['avatarurl'] . "/avatar$userinfo[userid]_$userinfo[avatarrevision].gif";
			} else {
				$avatarurl =  "/forums/" . $vbulletin->options['avatarurl'] . "/avatar$userinfo[userid]_$userinfo[avatarrevision].gif";
			}
		} else {
			if ($thumb AND $userinfo['filedata_thumb'])	{
				$avatarurl = '/forums/image.php?' . $vbulletin->session->vars['sessionurl'] . 'u=' . $userinfo['userid'] . "&dateline=$userinfo[avatardateline]&type=thumb";
			} else {
				$avatarurl = '/forums/image.php?' . $vbulletin->session->vars['sessionurl'] . 'u=' . $userinfo['userid'] . "&dateline=$userinfo[avatardateline]";
Now it works, (demo here: http://www.phototherapy.org/index.php ) much thanks! rg sends!
Reply With Quote
  #23  
Old 01-04-2009, 05:28 AM
Mythor Mythor is offline
 
Join Date: Aug 2004
Location: Sydney, Australia
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, I suggested doing it on the XML file but forgot to point out you should do so before uploading it. That was why I did it that way.
Glad you got there with a nudge in the right direction. Hopefully Hasann can sort this out in the next version!
Reply With Quote
  #24  
Old 01-09-2009, 06:53 AM
Huy Ho?ng Huy Ho?ng is offline
 
Join Date: Dec 2008
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I import vbb error:
PHP Code:
Invalid File Specified 
Can you help me???
Reply With Quote
  #25  
Old 01-09-2009, 09:18 AM
steve1966 steve1966 is offline
 
Join Date: Dec 2007
Posts: 504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I managed to get it working thanks to rolandogomez edits
Reply With Quote
  #26  
Old 01-12-2009, 10:38 PM
scorpion#1 scorpion#1 is offline
 
Join Date: May 2008
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please install as intrusions
Reply With Quote
  #27  
Old 01-12-2009, 10:41 PM
Hasann's Avatar
Hasann Hasann is offline
 
Join Date: Aug 2005
Location: Germany
Posts: 897
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by scorpion#1 View Post
Please install as intrusions
Hi there

Go to your Forums -> Admincp -> vBa CMPS / Download -> Upload Module -> Module to Upload -> Select topposters file as .xml or .module format from your pc -> then Submit.

Reply With Quote
  #28  
Old 01-12-2009, 10:54 PM
scorpion#1 scorpion#1 is offline
 
Join Date: May 2008
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #29  
Old 01-26-2009, 05:57 PM
Asma44 Asma44 is offline
 
Join Date: Jan 2009
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Hasann,
I don't have "vBa CMPS / Download" in my admincp
what shall I do?
Reply With Quote
  #30  
Old 02-13-2009, 09:26 PM
mike2567 mike2567 is offline
 
Join Date: Apr 2008
Location: Daingerfield, Texas
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

have the same issues with custom avatar not showing and I am not familiar with editing php files.

Guess I will wait for an eventual fix in the xml file.

Like this mod though!

www.texaseliteforces.com
Reply With Quote
  #31  
Old 02-16-2009, 07:01 AM
ZeusTalkgeek ZeusTalkgeek is offline
 
Join Date: Jan 2009
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To all you guys getting "Invalid File Specified":

Make sure you aren't trying to add this via the Product Manager.

You must go to:
Admin CP-> vBa CMPS-> Download/Upload Module
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 07:45 AM.


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.12143 seconds
  • Memory Usage 2,340KB
  • Queries Executed 29 (?)
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_code
  • (1)bbcode_php
  • (1)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
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (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_postinfo_query
  • fetch_postinfo
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete