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)

WDS 11-15-2011 02:36 AM

Sorry, I am Spanish and community through a translator.
is exactly what you said, thank you.

S@NL - BlackBik 12-14-2011 05:59 PM

Hi. Thanks for this great add-on. I was looking for a Welcome panel just like this.
Installed flawless.

Found two little bugs though:

In forumhome_loggedinuser there is a little error on line 51, some unbalanced quotes:
Code:

$loggedin['musername'] = ($vbulletin->options['avatarenabled'] ? '<img border="0" src="' . $loggedin['avatarurl'] . '" alt="width="20" height="20" /> ' . $loggedin['musername'] : $loggedin['musername']);
must be:
Code:

$loggedin['musername'] = ($vbulletin->options['avatarenabled'] ? '<img border="0" src="' . $loggedin['avatarurl'] . '" alt="" width="20" height="20" /> ' . $loggedin['musername'] : $loggedin['musername']);
And the copyright in the footer has three unescaped ampersands (&) that breaks the w3c validation.

That's it. The rest is perfect and a great asset to our forums.

Boofo 01-14-2012 08:07 PM

You guys need to fix this mod as it screws with the spider display mod. I have tried contacting you guys via IM to see if we can find a fix, but you guys are ignoring it. I have had many complaints about this mod not working with some other mods.

DragonByte Tech 01-14-2012 08:15 PM

Unfortunately the issue is not exclusively with this mod - to be more precise, both mods are taking the $activeusers variable and transforming it, changing its format.

I have received reports that setting the displayorder for your forumhome_complete plugin to 1 fixes the issues.

I don't know who you contacted over IM but if it was myself then I haven't received any - I'm currently preparing to travel so my presence and my laptop is yoyo-ing a bit. It's possible your IM was eaten by a crash (this laptop is quite old by now) or a reboot or some such.

In either case, could you please try setting displayorder to 1 for your plugin and see if that causes any other issues?

I'll look into setting displayorder for my mod to 65535 in a future version.

Fillip

Boofo 01-14-2012 09:22 PM

I tried you in IM a couple of times today, but no answer.

The execution order is already set to 1:

Quote:

<plugin active="1" executionorder="1">
<title>Display Spiders on Forumhome</title>
<hookname>forumhome_complete</hookname>

I've had it set like that for quite a while now.

OldSchoolDSL 01-14-2012 10:17 PM

Uninstalled

Results:

Site is fast
uses less resources
no more conflicts with several other modifications

DragonByte Tech 01-15-2012 05:46 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2287883)
Uninstalled

Results:

Site is fast
uses less resources
no more conflicts with several other modifications

Are you trying to troll us by posting the same non-constructive post in all our threads?


Fillip

DragonByte Tech 01-20-2012 10:32 PM

InfoPanels v2.0.4:
Fix: InfoPanels is now compatible with Boofo's excellent Spider Display on Forumhome & Who's Online v1.1.3 and above
Change: The HiVelocity branding footer can now be disabled via a vBulletin Option

Fillip

S@NL - BlackBik 01-22-2012 11:51 AM

Thanks for sharing this mod.

I found a little bug though.
The average number of posts that is showed in the welcome panel is rounded off (no decimals). I took the liberty to dig a bit in the code and found the cause.

In the script hooks/forumhome_complete.php there is a small error.

On line 132 there is this code:
Code:

$postsperday = ($jointime <= 1 ? $vbulletin->userinfo['posts'] : vb_number_format($vbulletin->userinfo['posts'] / $jointime, 2));
however, on line 362 there is this code:
Code:

$templater->register('postsperday',        vb_number_format(round($postsperday, 2)));
That's a second formating of this number and a round, that strips the decimals.
I changed it to this and now this number is shown with two decimals.
Code:

$templater->register('postsperday',        $postsperday);
Maybe you could change this in your next update?

DragonByte Tech 01-24-2012 03:59 PM

That would explain why that was broken for certain languages, different thousands separator must not work well with being parsed twice. Good find, thanks :)


Fillip


All times are GMT. The time now is 02:00 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.01411 seconds
  • Memory Usage 1,745KB
  • 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
  • (5)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
  • (2)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