vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Home Enhancements - [DBTech] InfoPanels v2 (vB4) [AJAX] (https://vborg.vbsupport.ru/showthread.php?t=238351)

Jubei 11-17-2012 04:04 PM

Thanks. That fixed it. :)

Another thing: Shouldn't there be an dropdown menu for members to change the top-stats, as there was in previous vers? Currently, only Newest Members, Top Posters & Newest Replies are available - even though the others "active" in Block Management. ???

DragonByte Tech 11-20-2012 10:26 PM

If you don't see a drop-down menu, please try creating a new (unmodified) skin.

Fillip

Jubei 12-16-2012 09:47 AM

Quote:

Originally Posted by DragonByte Tech (Post 2383082)
If you don't see a drop-down menu, please try creating a new (unmodified) skin.


Fillip

I really can't afford to do that. The problem extends to the default vBulletin skin, as well.

DragonByte Tech 12-16-2012 01:37 PM

I'm confused - are you saying you can't create a new skin? If so, how can you have checked it? O.o

Fillip

Jubei 12-23-2012 06:16 PM

But it happens in the default skin, as well, and that's unmodified.

tanzeelniazi 01-02-2013 06:38 PM

why i cant added More info in Blocks
and why i cant make New Blog rec error:
Invalid Block: 0

and Not showing properly

Nelson58 01-07-2013 05:44 AM

In the "What's Going On" box at the bottom of the site, the mod is placing avatars next to each user online, and that is too much with 500 people online, so I want to remove that. How do I do it please?

Thanks,

Nelson

Mr_Running 01-07-2013 11:19 AM

I believe to turn off the avatars is currently not an option and is not supported.

Removed the following entire code from
Code:

/dbtech/infopanels/hooks/forumhome_loggedinuser.php
Remove this block
Code:

if ($vbulletin->options['avatarenabled'])
{
        if (!function_exists('fetch_avatar_url'))
        {
                // Get the avatar function
                require_once(DIR . '/includes/functions_user.php');
        }
       
        if ($userid == $vbulletin->userinfo['userid'])
        {
                if (!$vbulletin->userinfo['avatarurl'])
                {
                        // Get avatar URL
                        $avatarurl = fetch_userinfo($userid, 2, 0, 1);
                       
                        // Add avatar info to loggedin array (VB Y U FORCE ME TO DO THIS)
                        $loggedin['avatarpath']                = $avatarurl['avatarpath'];
                        $loggedin['hascustomavatar']        = $avatarurl['hascustomavatar'];
                        $loggedin['avatardateline']        = $avatarurl['avatardateline'];
                        $loggedin['avwidth']                        = $avatarurl['avwidth'];
                        $loggedin['avheight']                        = $avatarurl['avheight'];
                        $loggedin['avheight_thumb']        = $avatarurl['avheight_thumb'];
                        $loggedin['avwidth_thumb']                = $avatarurl['avwidth_thumb'];
                        $loggedin['filedata_thumb']        = $avatarurl['filedata_thumb'];
                        $loggedin['avatarid']                        = $vbulletin->userinfo['avatarid'];
                        $loggedin['avatarrevision']        = $vbulletin->userinfo['avatarrevision'];
                       
                        // Yay it's available in vB3 after all :D
                        fetch_avatar_from_userinfo($loggedin);
                }
                else
                {
                        // Just in case...
                        $loggedin['avatarurl'] = $vbulletin->userinfo['avatarurl'];
                }
        }
        else
        {
                // Yay it's available in vB3 after all :D
                fetch_avatar_from_userinfo($loggedin);
        }
       
        // Set musername
        $loggedin['musername'] = '<img border="0" src="' . $loggedin['avatarurl'] . '" alt="" width="20" height="20" /> ' . $loggedin['musername'];
}


DragonByte Tech 01-07-2013 01:48 PM

A future version will introduce an option to turn this off :)


Fillip

Nelson58 01-07-2013 02:06 PM

Quote:

Originally Posted by Mr_Running (Post 2395245)
I believe to turn off the avatars is currently not an option and is not supported.

Removed the following entire code from
Code:

/dbtech/infopanels/hooks/forumhome_loggedinuser.php
Remove this block
Code:

if ($vbulletin->options['avatarenabled'])
{
        if (!function_exists('fetch_avatar_url'))
        {
                // Get the avatar function
                require_once(DIR . '/includes/functions_user.php');
        }
       
        if ($userid == $vbulletin->userinfo['userid'])
        {
                if (!$vbulletin->userinfo['avatarurl'])
                {
                        // Get avatar URL
                        $avatarurl = fetch_userinfo($userid, 2, 0, 1);
                       
                        // Add avatar info to loggedin array (VB Y U FORCE ME TO DO THIS)
                        $loggedin['avatarpath']                = $avatarurl['avatarpath'];
                        $loggedin['hascustomavatar']        = $avatarurl['hascustomavatar'];
                        $loggedin['avatardateline']        = $avatarurl['avatardateline'];
                        $loggedin['avwidth']                        = $avatarurl['avwidth'];
                        $loggedin['avheight']                        = $avatarurl['avheight'];
                        $loggedin['avheight_thumb']        = $avatarurl['avheight_thumb'];
                        $loggedin['avwidth_thumb']                = $avatarurl['avwidth_thumb'];
                        $loggedin['filedata_thumb']        = $avatarurl['filedata_thumb'];
                        $loggedin['avatarid']                        = $vbulletin->userinfo['avatarid'];
                        $loggedin['avatarrevision']        = $vbulletin->userinfo['avatarrevision'];
                       
                        // Yay it's available in vB3 after all :D
                        fetch_avatar_from_userinfo($loggedin);
                }
                else
                {
                        // Just in case...
                        $loggedin['avatarurl'] = $vbulletin->userinfo['avatarurl'];
                }
        }
        else
        {
                // Yay it's available in vB3 after all :D
                fetch_avatar_from_userinfo($loggedin);
        }
       
        // Set musername
        $loggedin['musername'] = '<img border="0" src="' . $loggedin['avatarurl'] . '" alt="" width="20" height="20" /> ' . $loggedin['musername'];
}




Thank you Mr. Running! This works beautifully!!


Nelson
www.Hobby-Machinist.com


All times are GMT. The time now is 07: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.01499 seconds
  • Memory Usage 1,758KB
  • 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
  • (4)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)pagenav_pagelinkrel
  • (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