Thread: Social Group and Album Enhancements - [Scandal's] vBGallery
View Single Post
  #129  
Old 09-14-2012, 03:50 AM
lazytown lazytown is offline
 
Join Date: Feb 2004
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a fantastic mod! I have one problem and one suggestion.

Major Problem: With a lot of attachments, the page load time and cpu/mysql usage, even for a single viewer, is way too long. This will destroy my server with lots of users if I make it live. It's obviously doing some serious mysql table scans of some kind. I have over 32,000 attachment images on this forum, which isn't THAT many. When I turn off attachments as a gallery, the page loads almost instant (6000+ pictures in member albums is no problem for it). It is MUCH slower on the gallery home page than it is on the individual attachment pages, even on the attachment pages with lots of pages are faster (going page by page -- they're slow, but not nearly as slow as the main page).

So What can be done to speed the query up? Are there some columns/tables I can index that are being scanned? Is there something in the code that can be changed? Perhaps at least for the homepage, it should cache every so often instead of scanning each time or the query can be limited to the past XX days. The gallery stats could at least be cached every hour/day since no pictures are displayed on the gallery home, it shouldn't take so long. In fact I could do without the stats if that helped, but it didn't (tried turning them off).

Feature Request: Obviously the software already is smart enough to show members attachments per forum section with the filter option.. What I'd really love to see is on the category pages (main gallery page), the option to have each forum section listed as a subsection of 'attachments.'' So it would look almost like the main forum page, but only be pictures. This is possible since you already created a filter, but it's not implemented. This would really be great and if we could limit it to only show certain forum sections it would be so amazing!! (for example, if I have a car forum, people could click on the corvette or porche subforum for only those attachment pictures... And the help/off-topic forums with attachments would not be shown at all).

Thank you!
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01267 seconds
  • Memory Usage 1,764KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete