vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Microstats (only for admin) - load times, server loads, queries, uncached templates! (https://vborg.vbsupport.ru/showthread.php?t=59700)

M@rkus 02-19-2004 01:54 PM

well.. on my first board it works with RC2 but on the other board it won`t show up!

M@rkus 02-19-2004 02:22 PM

I ve found the problem.. the code was there but the style is another so the code was on a black backround.

Next question. Where else can i place the CODE in the functions.php to get the Stats on another place in the footer?

Sugoi 02-25-2004 04:42 AM

I get parse error :S

if I delete this line it will not get a error but the mircostats not work well ...

PHP Code:

$debughtml .= " (<a href=\"" htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH'?''?')=== false'?''?','&amp;') . "tempusage=1\">Template Usage</a>) (<a href=\"" htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH'?''?')=== false'?''?','&amp;') . "explain=1\">Explain</a>)<br />\n"


Zelda-King 02-25-2004 09:53 AM

If you run a search in this thread on the word 'parse' you'll see this has been brought up. It's probably your text editor or something. But you might want to state what version of vBulletin you're using.

Gary King 02-25-2004 11:13 AM

Quote:

Originally Posted by Sugoi
I get parse error :S

if I delete this line it will not get a error but the mircostats not work well ...

PHP Code:

$debughtml .= " (<a href=\"" htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH'?''?')=== false'?''?','&amp;') . "tempusage=1\">Template Usage</a>) (<a href=\"" htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH'?''?')=== false'?''?','&amp;') . "explain=1\">Explain</a>)<br />\n"


Usually it's also a good idea to show what the parse errors says ;)

Chris M 02-25-2004 11:46 AM

Installed and working perfectly on RC4 :)

Showthread.php :

Page generated in 0.12244 seconds with 12 queries [Server Loads: 0.27 ? 0.27 : 0.27]
:D

Satan

Sugoi 02-25-2004 01:37 PM

got this :

Parse error: parse error in /home/jironet/public_html/forum/includes/functions.php on line 1795

Fatal error: Call to undefined function: is_browser() in /home/jironet/public_html/forum/global.php on line 59

I got version RC4

NTLDR 02-25-2004 01:51 PM

I assume you used dreamweaver to edit the files, use a different editor.

Sugoi 02-25-2004 02:18 PM

yes i use dreamweaver to search the lines , and edit it .. I'l try another eidtor

EDITED : It works , thank you !

Btw how can I put that line somewhere else ? So not the bottom of the page ! But in the table ?

Gary King 02-25-2004 06:35 PM

Quote:

Originally Posted by Sugoi
yes i use dreamweaver to search the lines , and edit it .. I'l try another eidtor


EDITED : It works , thank you !

Btw how can I put that line somewhere else ? So not the bottom of the page ! But in the table ?

In what table? Anyways that would require quite a bit more hacking (much more than what you currently have to do for right now) so I would suggest just leaving it how it is right now, it's fine in the footer; also if you move it up then I believe your values will be slightly inaccurate because then the microstats will display before the page is completely loaded.


All times are GMT. The time now is 05:53 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.01239 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
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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