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)

DragonByte Tech 06-11-2012 02:46 PM

You'll need to edit the thread and user tables and make sure the collation is identical.

The error message is
Quote:

Illegal mix of collations (latin1_german1_ci,IMPLICIT) and (latin1_swedish_ci,IMPLICIT) for operation '='
If you don't know how to fix this, please contact your host and paste them this quote, then they might be able to help :)


Fillip

todomaquinas 06-11-2012 04:05 PM

Thank you very much,

I guess this is to repair the database, I am a little awkward for this.

I guess with the PRO version would spend the same.

Thanks anyway.

DragonByte Tech 07-13-2012 11:28 PM

InfoPanels v2.0.5
Fix: Fixed UTF-8 issues some people were having in certain scenarios
Change: If the AJAX call to fetch new entries fails for whatever reason, the mod will now try again in 5 seconds where possible

Fillip

Lioric 07-16-2012 12:25 PM

Hi,

i have download the version 2.0.5 and the stats are not working! Their only stand: Loading ...

On the page http://www.dragonbyte-tech.com/forum.php the same problem in the stat box

DragonByte Tech 07-16-2012 12:31 PM

No, it's working perfectly fine on DBTech :)

Please ensure you've reverted any InfoPanels templates and try clearing your browser's cache.


Fillip

andyv72 07-23-2012 01:10 PM

Hello..

Nice Mod, i need a little help

if i activate this mod than is above

1 welcome back
2 top stats
3 shout box

how i can change into

1 welcome back
2 shout box
3 top stats

sry for my Bad Englisch :D

DragonByte Tech 07-24-2012 10:27 PM

That can't be done unfortunately :(


Fillip

S@NL - BlackBik 08-12-2012 01:23 PM

Hi, thanks for the update.
I still have an issue with showing decimals in the "postsperday" variable. I've found the solution.

On row 364 of forumhome_complete it says:

Code:

$templater->register('postsperday',        vb_number_format($postsperday));
The default for the vb_number_format function is that 0 decimals are calculated

Change this to:
Code:

$templater->register('postsperday',        vb_number_format($postsperday, 2));
By adding the ", 2" you tell the function to use two decimals and the decimals are showing up, separated by the decimal separator that belongs to the language in which the forum is used.

DragonByte Tech 08-16-2012 12:45 PM

Quote:

Originally Posted by S@NL - BlackBik (Post 2356397)
Hi, thanks for the update.
I still have an issue with showing decimals in the "postsperday" variable. I've found the solution.

On row 364 of forumhome_complete it says:

Code:

$templater->register('postsperday',        vb_number_format($postsperday));
The default for the vb_number_format function is that 0 decimals are calculated

Change this to:
Code:

$templater->register('postsperday',        vb_number_format($postsperday, 2));
By adding the ", 2" you tell the function to use two decimals and the decimals are showing up, separated by the decimal separator that belongs to the language in which the forum is used.

I'll get that changed for the next version :)


Fillip

S@NL - BlackBik 08-17-2012 01:05 PM

Thanks :)

DragonByte Tech 08-17-2012 10:53 PM

InfoPanels v2.0.6:
Feature: The Affiliate ID setting now properly integrates with the link-back
Feature: The News Feed can now be deleted from the Welcome Panel and relocated with {vb:raw show.infopanels_newsticker} (vB4) or $show[infopanels_newsticker] (vB3) to a custom location within the FORUMHOME template.

Fillip

S@NL - BlackBik 08-18-2012 02:00 PM

Hi Fillip,

Sorry to bother you again....
In the Netherlands we use different decimal punctuation. To separate thousands we use a dot in stead of a comma and to separate decimals we use comma's in stead of a dot.
While installing the new 2.0.6 version of this hack, I've noticed that the average stats that are placed under the forum statistics on Forum Home, used the English decimal system.
To correct this I've changed "forumhome_complete.php" a little bit.

I've added the vb_number_format function to three lines of code, starting from line 551:
Code:

$averages["$key"]['day']        = vb_number_format(round(($vbulletin->userstats["total{$key}"] / $difference), 2), 2);
$averages["$key"]['week']        = vb_number_format(round(($vbulletin->userstats["total{$key}"] / ($difference / 7)), 2), 2);
$averages["$key"]['month']        = vb_number_format(round(($vbulletin->userstats["total{$key}"] / ($difference / 30)), 2), 2);

This way the numbers are formatted correctly, depending on the language you choose for your forum. I've tested both the English and Dutch languages, and this works fine.
I do not use the Top X blocks of this hack, but I've enabled them for testing purposes. The number formatting "problem" is not present in this part of the hack.

Could you please correct this in a future release of this hack.
And thank you for correcting my other problem :)

Greetz,
Rob

DragonByte Tech 08-18-2012 06:42 PM

Added to my local build, the next release will have the changes :)


Fillip

DragonByte Tech 08-25-2012 06:01 PM

Affiliate ID link hotfix

Fillip

choihetminh 08-28-2012 03:06 PM

at What's going on section, super moderator doesn't display as staff member although it appears on the site leaders page (showgroups.php). Any one have the same problem?

choihetminh 08-29-2012 12:05 AM

solved. Let change the primary type of that user to super mod.

S@NL - BlackBik 08-29-2012 09:35 PM

Hi Fillip,

Sorry to be such a pain in the ass about this, but the posts per day are still not showing correctly in the Welcome panel. They are now with two decimals, but the number is rounded. It now shows 7,00 where it should be 7,26 (or something like that).
I think it's because you are formatting the number twice.
On line 134 in forumhome_complete you format by using vb_number_format, which is correct.
But on line 371 you are doing another vb_number_format.
Somehow the number loses the decimals when formatting twice.
My solution is to get rid of the formatting on line 371, so just registering $postsperday, without the formatting. Then the number shows correctly with decimals.

It's no biggie, but I'm just trying to get this nice product best as it can get ;)

Greetz,
Rob

DragonByte Tech 08-30-2012 03:04 PM

I'll look into it for the next version :)


Fillip

jluerken 10-02-2012 09:25 AM

Is there a way to add the thread prefixes in front of the titles at "Most viewed threads" and how do I do that?

DragonByte Tech 10-03-2012 01:37 PM

Due to the constraints in display width associated with the current layout, that's not currently a supported feature, sorry :(


Fillip

tanzeelniazi 10-03-2012 10:17 PM

How i change UserGroups like
1 Head Admin 2 Super Moderator 3 Moderator etc
i cant find any Option to change the usergroups setting

DragonByte Tech 10-07-2012 01:28 AM

Sorry, I don't understand your question. Could you re-phrase it, please?

Fillip

tanzeelniazi 10-07-2012 10:00 PM

Sir see this Picture: https://vborg.vbsupport.ru/external/2012/10/1.jpg?1
I want to change user groups
Line First: Head Admin 2nd: Super Moderator etc

DragonByte Tech 10-11-2012 02:10 PM

That cannot be done at this time, sorry :(


Fillip

Wifey 11-02-2012 09:19 PM

I just upgraded from a previous version - there were several new files that I added with this upgrade. Do I need to run the installer in order to get this working properly (it's working more or less)? When I try and fiddle with the settings I receive this error:

Could not find phrase 'dbtech_infopanels_invalid_action'.

Thanks!

DragonByte Tech 11-02-2012 09:26 PM

Yeah, all upgrades require a re-import of the XML file :)


Fillip

tanzeelniazi 11-07-2012 10:13 PM

i have problem today i install new Style facing some problem see this
https://vborg.vbsupport.ru/external/2012/11/2.jpg?1
Showing staff two time ? how to fix

DragonByte Tech 11-13-2012 02:39 PM

Please try disabling all other mods, and also try it on a default (unmodified) skin.

Fillip

Jubei 11-17-2012 10:22 AM

Is there any way to adjust the widths of each section?

For example, the 'Last Five Topics' looks too bunched up on my layout, and I have a width of around 960px.

DragonByte Tech 11-17-2012 02:34 PM

You can edit the dbtech_infopanels_topxstats template, there's widths in % there you can adjust :)


Fillip

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 04:34 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.01935 seconds
  • Memory Usage 1,839KB
  • 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
  • (9)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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