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)
-   -   Administrative and Maintenance Tools - 8WayRun.Com - Micro Debug Stats (https://vborg.vbsupport.ru/showthread.php?t=240905)

testbot 02-25-2011 12:33 AM

Quote:

Originally Posted by OldSchoolDSL (Post 2166149)
Installed and working.

4.1.1 :)

(Now I just need to learn how to cache templates)

AdminCP>Plugins & Products> Plugin Manager>Add New Plugin

Product: your_productname
Hook Location: cache_tmeplates
Title: title of your product/plugin
Plugin PHP Code:
Code:

//like showthread, forumdisplay, or if it's on all pages then remove the if statement
if (THIS_SCRIPT == 'WhereScriptRuns')
{
$cache[] = 'template_name';
}


Boofo 02-27-2011 08:53 AM

Apparently the support for this mod is non-existent?

djbaxter 02-27-2011 01:23 PM

Quote:

Originally Posted by Boofo (Post 2167468)
Apparently the support for this mod is non-existent?

What's to support? It works. What issues are you having?

testbot 02-27-2011 01:43 PM

Quote:

Originally Posted by Boofo (Post 2161650)
Jaxel,

The Server Uptime is not working correctly. This 2 lines are in the space of 6 minutes.




It should also be showing months, which it is not. Any idea how to fix this?

This might have something to do with it?
Quote:

Server Support
Right now this mod only supports "@exec(uptime)" for retrieving server load. If I get enough requests for other load average systems, I will add them in time.

djbaxter 02-27-2011 02:01 PM

Working fine for me.

Boofo 02-27-2011 04:30 PM

Quote:

Originally Posted by testbot (Post 2167525)
This might have something to do with it?

No, that is not it as the server loads are working fine. Wait until it falls on a time like this and you will see:
Quote:

Server Uptime: 145 hours and 55 minutes
Server Uptime: 145 days, 1 hour and 01 minute <-- 6 minutes later
I caught this totally by accident as it only happens during a 1 hour window.

Bounce 04-06-2011 08:32 PM

How do you cache a template that you've found needs to be cached?

:confused:

Bounce 04-06-2011 08:38 PM

Quote:

Originally Posted by testbot (Post 2166553)
AdminCP>Plugins & Products> Plugin Manager>Add New Plugin

Product: your_productname
Hook Location: cache_tmeplates
Title: title of your product/plugin
Plugin PHP Code:
Code:

//like showthread, forumdisplay, or if it's on all pages then remove the if statement
if (THIS_SCRIPT == 'WhereScriptRuns')
{
$cache[] = 'template_name';
}



Tried this and failed, I have an uncached template forumhome_addon which I believe is part of photopost pro, I added the product name etc but its still showing as not cached?

Bounce 04-06-2011 08:43 PM

Sussed it cheers, iggy last 2 posts lol :up:

Hippy 04-06-2011 09:59 PM

Quote:

Originally Posted by hIBEES (Post 2181672)
Tried this and failed, I have an uncached template forumhome_addon which I believe is part of photopost pro, I added the product name etc but its still showing as not cached?

I posted a fix for this @ photopost ;)
I am not surprised good old chuck didn't update it ..


All times are GMT. The time now is 09:44 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.01076 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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