vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vbMicroStats: page load time, queries, GZIP and PHP version (https://vborg.vbsupport.ru/showthread.php?t=35811)

TECK 07-28-2002 02:21 AM

my bad. i'm sorry. i never had the calendar enabled. :)

FrankR310 07-28-2002 02:27 AM

cool thanks! :)

Thunderpuck 07-30-2002 02:17 PM

God I am so embarrassed to be asking this question, you can't be more of a newbie than I am. This is my very first time installing a hack.

I followed the instructions but I am stuck at the part where it says "To call your vbMicroStats, simply place the string {getmicrostats} anywhere you want in your templates"... I copy and pasted {getmicrostats} on my footer template and now my forum displays the word: "{getmicrostats}" instead of actually getting microstats. LOL. Obviously I am not calling MicroStats properly, can anyone shed some light on a newbie?

Thanks in advance...

Keith 07-30-2002 07:55 PM

It's got to be something very simple, but it's going to be a pain to find. You have to start from square one, go through the instructions again, retracing each and every step, one by one. That's what I would do in this case.

I used the template version. Created a template called home_microstats. It's in the default style because I don't have more than one. This template has the following in it:

Code:

<center>Page generated in $trimmedtime seconds ($percentphp - $percentsql) with $query_count queries.
$adminstats </center>

Then place a variable
Code:

{getmicrostats}
in your footer template. This is what the end of my footer template looks like, with the variable call near the end
Code:

<!-- Do not remove this copyright notice -->
  Powered by: vBulletin Version $templateversion<br>
  Copyright &copy;2000, 2001, Jelsoft Enterprises Limited.<br>
<!-- Do not remove this copyright notice -->
$copyrighttext
</smallfont></p>
$themefooter

<smallfont>{getmicrostats}</smallfont>

<!-- End -->

hope this helps.

Thunderpuck 07-31-2002 12:38 PM

Yes, that did it, you helped a lot Keith! Thanks for taking the time to help a newbie start down the road to hacking this cool forum.
;)

Keith 07-31-2002 08:20 PM

Quote:

Originally posted by Thunderpuck
Yes, that did it, you helped a lot Keith! ;)
That's the first time I think I've actually been of help to someone. :) Glad it worked out, thanks for letting me know. I'm still learning as well, but hacking away like crazy, usually getting into trouble and looking for help myself. :D

Take my advice from another post I made above, use the "Lessons Learned". Backup, rename, backup and rename again if you have to. I have a CD with the original code, and a copy on my harddrive for safekeeping. Always have an original to FTP onto the server in case you goof up. :)

TECK 08-10-2002 08:00 PM

Quote:

Originally posted by Keith
That's the first time I think I've actually been of help to someone. :) Glad it worked out, thanks for letting me know.
great job Keith. glad eveyone got the hack up and running without any hikkies... :)

FlyingDutchman 08-10-2002 08:31 PM

:bunny:

BlueVoltage 08-10-2002 08:58 PM

I just installed this and i get this error:
Quote:

Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/xelerix/public_html/forums/admin/db_mysql.php on line 240

Fatal error: Cannot instantiate non-existent class: db_sql_vb in /home/xelerix/public_html/forums/admin/global.php on line 108

BlueVoltage 08-10-2002 09:18 PM

I am also getting this error:

Quote:

Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/xelerix/public_html/forums/admin/db_mysql.php on line 240

Fatal error: Cannot instantiate non-existent class: db_sql_vb in /home/xelerix/public_html/forums/global.php on line 128


All times are GMT. The time now is 05:04 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.01826 seconds
  • Memory Usage 1,740KB
  • 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_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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