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)

PitchouneN64ngc 04-24-2005 04:42 PM

You have these errors when you try to view your pages during the installation of this hack or totally after ?

greenhybrid 04-24-2005 04:50 PM

What do you mean? "Installation" is simply editing the 2 files, which I did. I didn't change the templates yet, but that should have nothing to do with the code.

greenhybrid 04-24-2005 04:54 PM

I even added {ms} the template and I'm still getting
Quote:

Parse error: parse error, unexpected T_STRING in /home/gh/public_html/discuss/includes/functions.php on line 1996
;)

Mosh 04-25-2005 08:45 AM

Quote:

Originally Posted by greenhybrid
I even added {ms} the template and I'm still getting
Quote:

Parse error: parse error, unexpected T_STRING in /home/gh/public_html/discuss/includes/functions.php on line 1996
;)

It would probably help if you quoted lines 1990 to 2010 from your functions.php file, this may help someone to narrow down your problem.

greenhybrid 04-25-2005 06:20 PM

Something weird is going on. I don't know if it's a Dreamweaver bug or not, but when I open up functions.php again, that same line 1996 is now
PHP Code:

    $ms .= '        <td class="tcat"' iif($vboptions['allowchangestyles'], '],'],'],' colspan="2"') . '><div class="smallfont">'; 

The same thing had happened before, so I redid the edits. It keeps happening, though!

1990-2010 are
PHP Code:

    $totaltime vb_number_format($endtime[0] - $starttime[0] + $endtime[1] - $starttime[1], $msdecimal);

    
$msphp vb_number_format(((($totaltime $querytime) / $totaltime) * 100), 2) . '% PHP';
    
$mssql vb_number_format((($querytime $totaltime) * 100), 2) . '% MySQL';

    
$ms '<tr align="right">' "\n";
    
$ms .= '        <td class="tcat"' iif($vboptions['allowchangestyles'], '],'],'],' colspan="2"') . '><div class="smallfont">';
    $ms .= '
Page generated in ' . $totaltime . ' seconds (' . $msphp . ' ' . $mssql . 'with ';
    $ms .= $query_count . ' 
queries</div></td>' . "\n";
    $ms .= '
</tr>' . "\n";

    if ($bbuserinfo['
usergroupid'] == '6')
    {
        $mstemplates = '
<select size="1" style="font-size: 10px">' . "\n";
        
        if ($_TEMPLATEQUERIES)
        {
            $mstemplates .= '
<option>' . sizeof($_TEMPLATEQUERIES) . ' Uncached Template';
            $mstemplates .= iif(sizeof($_TEMPLATEQUERIES) != '
1', 's') . '</option>';

            if (is_array($tempusagecache)) 


TECK 04-26-2005 11:15 AM

Dreamweaver is known for issues like that. Use the Textpad.com editor instead.
You will never have a problem again editing files...

yinyang 04-26-2005 06:25 PM

teck, i really want to install this, but the codes you indicate to replace are different in vb3.07. can we trouble you in updating this to 3.07? please?

greenhybrid 04-26-2005 06:26 PM

They are different, but they're similar. Of course, I'm the one who had the problems before ;) But, you should be able to find the right code.

greenhybrid 04-26-2005 06:42 PM

Then again, maybe that's why I was getting my errors.

TECK 04-27-2005 10:49 PM

I don't have the upgrade available, I will need to pay the 30$ fee in order to do download the latest version...
As soon I can spare a little money, it will be done. :)


All times are GMT. The time now is 01:14 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.01626 seconds
  • Memory Usage 1,753KB
  • 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
  • (3)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