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
  #52  
Old 07-25-2009, 10:02 PM
Hasann's Avatar
Hasann Hasann is offline
 
Join Date: Aug 2005
Location: Germany
Posts: 897
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BGObsession View Post
Minor detail - but if I set it to track the top posters total (all-time), the module reads:

Top Posters in Last 0 Days

That doesn't really make sense - I'd prefer to change the text to 'Top Posters Ever' or something similar. Where can I find that line of text?
look into module.xml file at adv_portal_top_posters template there is the phrase you looked
Reply With Quote
  #53  
Old 07-29-2009, 10:16 PM
BGObsession's Avatar
BGObsession BGObsession is offline
 
Join Date: Apr 2009
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Hasann, appreciate it!
Reply With Quote
  #54  
Old 07-31-2009, 01:34 AM
goxy63 goxy63 is offline
 
Join Date: Oct 2008
Location: its like another planet:D
Posts: 657
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

top_posters.php

after changin line 59 from
"$avatarurl = forums/images/misc/unknown.gif"
to
$avatarurl = 'forums/image.php?' . $vbulletin->session->vars['sessionurl'] . "u=$top_poster[userid]&dateline=$top_poster[avatardateline]";

that is same as line 49....reason is to display avatars ....

where to change code to call "unknown.gif" for users who dont have avatar!?

part of code in my "top_posters.php" (part in blue is line 59)
Code:
			$avwidth = '';
			$avheight = '';
			if ($top_poster['avatarid'])
			{
				$avatarurl = $top_poster['avatarpath'];
			}
			else
			{
				if ($top_poster['hascustomavatar'] AND $vbulletin->options['avatarenabled'] AND ($vbulletin->userinfo['permissions']['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canuseavatar']))
				{
					if ($vbulletin->options['usefileavatar'])
					{
						$avatarurl = $vbulletin->options['avatarurl'] . "/avatar$top_poster[userid]_$top_poster[avatarrevision].gif";
					}
					else
					{
						$avatarurl = 'forums/image.php?' . $vbulletin->session->vars['sessionurl'] . "u=$top_poster[userid]&dateline=$top_poster[avatardateline]";
					}
					if ($top_poster['avheight'] AND $top_poster['avwidth'])
					{
						$avheight = "height=\"$top_poster[avheight]\"";
						$avwidth = "width=\"$top_poster[avwidth]\"";
					}
				}
				else
				{
					$avatarurl = 'forums/image.php?' . $vbulletin->session->vars['sessionurl'] . "u=$top_poster[userid]&dateline=$top_poster[avatardateline]";
				}
			}
			
			if (!$avatarurl)
			{
				$mod_options['adv_portal_top_posters_avatar'] = false;
			}
			else
			{
				$mod_options['adv_portal_top_posters_avatar'] = true;
			}
			
		}
Reply With Quote
  #55  
Old 07-31-2009, 09:10 AM
Hasann's Avatar
Hasann Hasann is offline
 
Join Date: Aug 2005
Location: Germany
Posts: 897
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<i>31. July 2009 new update is released.</i>

All known bugs are fixed now.
Reply With Quote
  #56  
Old 07-31-2009, 11:19 AM
steve1966 steve1966 is offline
 
Join Date: Dec 2007
Posts: 504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for the new update
Reply With Quote
  #57  
Old 07-31-2009, 11:59 AM
goxy63 goxy63 is offline
 
Join Date: Oct 2008
Location: its like another planet:D
Posts: 657
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have only one issue now

Height of Top Posters List is not working for me, whatever I change it doesnt create scrollbar

can it be cause I installed module specyfing only one page (page which works for my VBA)

any suggestions?

and yeah, it may be of use to a noobs like me
if your VBA is not installed in a same directory as forums you should place
forums/ (or whatewer neme is) in top_posters.php
here:
Code:
$avatarurl = 'forums/image.php?' . $vbulletin->session->vars['sessionurl'] . "u=$top_poster[userid]&amp;dateline=$top_poster[avatardateline]";

$avatarurl = 'forums/images/misc/unknown.gif';
Reply With Quote
  #58  
Old 08-01-2009, 09:38 PM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hasann View Post
31. July 2009 new update is released.

All known bugs are fixed now.
SORRY NOT A CHANCE!!!
All known bugs aint fixed at all!

First I just upgraded and your scroll bar doesnt show no matter what height I select.

Second Your mod is not showing some avatars but others....

So whats the deal with the scroll bar?

EDIT: I fixed the problem with no avatars showing. How I fixed this on my site was I had to change just one users avatar and somehow this mod recalculated the avatars and now they all show! Interesting BUG! Now, please help me to fix the no scrollbar bug.

THANKS!
Reply With Quote
  #59  
Old 08-03-2009, 12:18 AM
supermak supermak is offline
 
Join Date: Mar 2006
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Dude, I really like your mod, but I'd like to make just a little change.

I'd like to know if it's possible (changing the query or whatever) to show TOP THREAD STARTERS instead of top posters.

Thanks in advance,
Reply With Quote
  #60  
Old 09-16-2009, 07:39 AM
RedHacker RedHacker is offline
 
Join Date: Jan 2009
Posts: 878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You already have a module with an identifier of 'top_posters'. Please select a different identifier.

I cant upgrade
Reply With Quote
  #61  
Old 09-17-2009, 06:45 AM
RedHacker RedHacker is offline
 
Join Date: Jan 2009
Posts: 878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not show scroll bar
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:34 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.05368 seconds
  • Memory Usage 2,340KB
  • Queries Executed 27 (?)
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_code
  • (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
  • (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_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