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)

rolandogomez 01-04-2009 02:41 AM

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!

Mythor 01-04-2009 05:28 AM

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! :)

Huy Ho?ng 01-09-2009 06:53 AM

I import vbb error:
PHP Code:

Invalid File Specified 

Can you help me???

steve1966 01-09-2009 09:18 AM

I managed to get it working thanks to rolandogomez edits

scorpion#1 01-12-2009 10:38 PM

Please install as intrusions :confused:

Hasann 01-12-2009 10:41 PM

Quote:

Originally Posted by scorpion#1 (Post 1710307)
Please install as intrusions :confused:

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.

https://vborg.vbsupport.ru/

scorpion#1 01-12-2009 10:54 PM

thanks

Asma44 01-26-2009 05:57 PM

Hi Hasann,
I don't have "vBa CMPS / Download" in my admincp :(
what shall I do?

mike2567 02-13-2009 09:26 PM

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

ZeusTalkgeek 02-16-2009 07:01 AM

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


All times are GMT. The time now is 08:33 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.01262 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)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