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)
-   -   VB3 MicroStats (https://vborg.vbsupport.ru/showthread.php?t=62173)

gmarik 03-05-2004 04:17 PM

Nice one!

TECK 03-05-2004 04:21 PM

Quote:

Originally Posted by Boofo
This is wierd. I re-downloaded your file and put the if code in like you have it in your file and for some reason, it is showing the server load now (with the IF statement). I swear to you that it wasn't working before. I don't know what happened. You have any ideas? ;)

My secret :D. Heh.
I made a little mistake, added a space in the wrong space. :p

Boofo 03-05-2004 04:34 PM

So it wasn't me messing up? Come on, you have to tell me. PM if you don't want to spill it here. I have to know now, especially after all we went through together on this, BUDDY! . ;)

TECK 03-05-2004 05:01 PM

Quote:

Originally Posted by Boofo
So it wasn't me messing up? Come on, you have to tell me. PM if you don't want to spill it here. I have to know now, especially after all we went through together on this, BUDDY! . ;)

No, it was REALLY me. :)
I added a space in the wrong place into preg_match() function.
Sorry guys, error fixed, thanks to Bob. The file is uploaded with the right code.

Boofo 03-05-2004 05:58 PM

What a team! What a team! ;)

I guess the file I downloaded had the fixed code in it already? Or do I need to re-download it?

It's working like a charm, by the way. Great work, Floren! ;)

TECK 03-05-2004 06:12 PM

Ya, the file you downloaded is the most recent one.

Boofo 03-05-2004 07:57 PM

Thank you, sir. ;)

ChuanSE 03-05-2004 08:19 PM

I don't know what to do with the footer template :/

I had this
Code:

{ms}
$ms = '<tr align="right">' . "\n";
$ms .= '<td class="tcat"><div class="smallfont">';
$ms .= 'Page generated in ' . $totaltime . ' seconds (' . $msphp . ' - ' . $mssql . ') with ';
$ms .= $query_count . ' queries</div></td>' . "\n";
$ms .= '</tr>' . "\n";
$ms .= '<tr align="right">' . "\n";
$ms .= '                <td class="alt1"><div class="smallfont">';
$ms .= $mstemplates . $msdebug . $msgzip . $msserver . '</div></td>' . "\n";
$ms .= '</tr>' . "\n";

and it gave me this : (see attachment)

= ' ' . "\n"; .= ' '; .= 'Page generated in ' . . ' seconds (' . . ' - ' . . ') with '; .= 8 . ' queries ' . "\n"; .= '
' . "\n"; .= ' ' . "\n"; .= ' '; .= . . . . '

any idea's? :ermm:

Boofo 03-05-2004 08:23 PM

This is all you add to your footer template:

HTML Code:

{ms}
The rest stays in the functions.php

ChuanSE 03-05-2004 09:04 PM

then it does nothin'

but where do i remove the "if" from the pragma thingie?


All times are GMT. The time now is 11:14 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.01775 seconds
  • Memory Usage 1,735KB
  • 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_code_printable
  • (1)bbcode_html_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