vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - vBadvanced Module: Top Posters in Last X Days (https://vborg.vbsupport.ru/showthread.php?t=199406)

Hasann 07-25-2009 10:02 PM

Quote:

Originally Posted by BGObsession (Post 1848344)
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

BGObsession 07-29-2009 10:16 PM

Thanks Hasann, appreciate it!

goxy63 07-31-2009 01:34 AM

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;
                        }
                       
                }


Hasann 07-31-2009 09:10 AM

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

All known bugs are fixed now.

steve1966 07-31-2009 11:19 AM

thanks for the new update

goxy63 07-31-2009 11:59 AM

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';


yotsume 08-01-2009 09:38 PM

Quote:

Originally Posted by Hasann (Post 1858943)
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!

supermak 08-03-2009 12:18 AM

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,

RedHacker 09-16-2009 07:39 AM

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

I cant upgrade

RedHacker 09-17-2009 06:45 AM

Not show scroll bar


All times are GMT. The time now is 04:02 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.01384 seconds
  • Memory Usage 1,748KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete