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)
-   -   vBulletin Forum Sideblocks - Forum Sideblock - Recent Posts (with BBCodes parsed) (https://vborg.vbsupport.ru/showthread.php?t=321920)

Max Taxable 02-25-2016 02:11 AM

Here's the waterfall with this Mod enabled. I get a BIG hangup in first byte, the page source code modeling takes forever with this Mod on for FF and Chrome.

http://www.webpagetest.org/result/16...6DS/1/details/

MarkFL 02-25-2016 02:18 AM

Quote:

Originally Posted by Max Taxable (Post 2565552)
Annnnnd also i cannot get this block to be any taller, no matter what i do in settings.

Try it in your default style, maybe you have some CSS somewhere that's interfering.

Max Taxable 02-25-2016 02:21 AM

Quote:

Originally Posted by MarkFL (Post 2565554)
Try it in your default style, maybe you have some CSS somewhere that's interfering.

Yep I'd done that. No love No Joy.

MarkFL 02-25-2016 02:35 AM

Quote:

Originally Posted by Max Taxable (Post 2565555)
Yep I'd done that. No love No Joy.

I found the culprit...so you won't have to uninstall and re-install, go to your "Forum Blocks Manager" and edit the content as follows:

Locate the line:

PHP Code:

if ($vbulletin->options['markfl_rpfb_blockmaxheight']) 

And within the if block, replace the line of code there with:

PHP Code:

    $output .= ' style="max-height: ' $vbulletin->options['markfl_rpfb_blockmaxheight'] . 'px; overflow: auto;"'

I will update the product as well. :)

Max Taxable 02-25-2016 02:36 AM

I have the sidebar block this Mod generates, off for now until issues get resolved. Mod has potential and is a good idea but clearly needs a little more work.:D

Max Taxable 02-25-2016 02:43 AM

I encourage everyone to try this Mod and see if you can duplicate my results with block caching off. It doesn't break anything and can be turned off in the forum block manager easily.

It's the early testing that helps the devs, without us guinea pigs out here where would we be?

MarkFL 02-25-2016 02:50 AM

Quote:

Originally Posted by Max Taxable (Post 2565558)
I encourage everyone to try this Mod and see if you can duplicate my results with block caching off. It doesn't break anything and can be turned off in the forum block manager easily.

It's the early testing that helps the devs, without us guinea pigs out here where would we be?

I set the block to be cached for 60 minutes specifically because of the query needed to fetch the posts (like the intrinsic "Forum Threads" block). However, even with the caching off, and 15 posts set to display, several of which were huge and peppered with LaTeX by MathJax, I didn't experience a significant lag. :confused:

Max Taxable 02-25-2016 02:54 AM

Quote:

Originally Posted by MarkFL (Post 2565559)
I set the block to be cached for 60 minutes specifically because of the query needed to fetch the posts (like the intrinsic "Forum Threads" block). However, even with the caching off, and 15 posts set to display, several of which were huge and peppered with LaTeX by MathJax, I didn't experience a significant lag. :confused:

Caching doesn't affect load time with any other forum block. I have them all set to 0 and all fetching 30 threads and/or posts..

I turned off all other blocks except this one, and did extensive testing at WPT with all browsers available. The problem is real. I average 10-20 seconds FBT with this Mod on, and request #1 is over 20kb with this mod on vs 14kb with this mod off. But of course it ain't the kb's, it's the queries.

Max Taxable 02-25-2016 03:06 AM

I don't see this Mod working on the site in your signature. Is that the site?

MarkFL 02-25-2016 03:08 AM

There's only 1 query:

PHP Code:

$recent_posts $vbulletin->db->query_read("
    SELECT post.*, thread.title, thread.forumid, thread.prefixid, thread.iconid
    FROM " 
TABLE_PREFIX "post AS post
    INNER JOIN " 
TABLE_PREFIX "thread AS thread
    ON thread.threadid = post.threadid
    ORDER BY post.dateline DESC
"
); 

Information about the posts as well as the threads they inhabit are needed. If anyone sees how to make that query more efficient, I'm all ears. :)


All times are GMT. The time now is 12:09 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.01254 seconds
  • Memory Usage 1,749KB
  • 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
  • (3)bbcode_php_printable
  • (5)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
  • (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