vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   50 queries and counting, please help! (https://vborg.vbsupport.ru/showthread.php?t=55349)

Dean C 07-17-2003 10:31 AM

I run Lesane's awards hack and I have only 21 queries on my showthread :p

- miSt

Alien 09-04-2003 07:42 AM

Quote:

07-17-03 at 01:54 AM Erwin said this in Post #8
See? No hacking needed. :) Best of all, no additional queries at all.
I seem to get a query per award field in the postbit?

lasto 09-04-2003 07:48 AM

Page generated in 0.26946199 seconds (75.66% PHP - 24.34% MySQL) with 36 queries.
[Debug Mode OFF] [PHP v4.3.3] [GZIP disabled] [Output: 189.92 Kb. compressed to 142.72 Kb. by saving 47.20 Kb. (24.85%)] [Server Load: 0.52 ยป 0.31 : 0.32

36 queries and only 11 posts in this thread so hows that.No hacks installed like the awards hack etc so can someone explain.
I notice for every post made in a thread it adds between 2-3 queries and theres nothing that can be done about that.

@erwin i was gonna install awards hack today but now im gonna try your idea that u listed above.

lasto 09-04-2003 08:23 AM

erwin got same effect and no extra queries - Cheers for that tip
All it means is no link in postbit to add em but when it comes to queries anything that gets rid of em is a god send.

Dean C 09-04-2003 02:00 PM

Just add the data into an array and loop through the array :) - it works like a charm and you then have the nice admin cp options :)


All times are GMT. The time now is 07:03 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.01008 seconds
  • Memory Usage 1,718KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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