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)

neocorteqz 11-03-2004 04:16 AM

Quote:

Originally Posted by TECK
I don't have the 303 update, sorry.
I need to pay the VB update fee, soon next week.

If anyone have the step by step for the new code, post it here so I can update the txt file. Thanks guys.

hmmm. as far as i remember, i used your current available instrutions to install it.

when i get the chance, I'll either give the updated instructions, or maybe if it's allowed (seeing as it's only two files afaik) i can send my files to you and you can see for yourself?

I'm about to try and install gentoo, so I'll be unavailable for a bit. :)

venomx 11-03-2004 04:20 AM

I installed this with the instructions in the current file... worked fine here...

SVTOA 11-28-2004 11:07 PM

I guess I'm doing ok...

Quote:

Page generated in 0.16333103 seconds (93.02% PHP - 6.98% MySQL) with 12 queries

TECK 11-29-2004 05:16 AM

Quote:

Originally Posted by venomx
I installed this with the instructions in the current file... worked fine here...

Good to know no update is needed. I was surprised, since the VB3 code should not change...

Guy G 01-25-2005 04:46 PM

will this by any chance work on 3.0.6

|Jordan| 01-28-2005 07:06 PM

Works for me in 3.0.6 :D

nso 01-29-2005 07:02 PM

After applying the hack (correctly, I might add) my forum became nothing more than a blank page. No errors, no nothing. Not even a mention of the event in the mysql logs.

Have anyone experienced anything similar to this?

dfdems 02-20-2005 10:03 PM

Dumb Question, how do I cache the 3 I have uncached?

Forumhome_stats_Member
Forumhome_stats_Poster
Forumhome_stats_Thread

Page generated in 0.21421003 seconds (90.33% PHP - 9.67% MySQL) with 16 queries

MickDoneDee 02-20-2005 11:57 PM

There are two Microstats hacks: Teck's and Erwin's. Sites with hacks will usually show uncached templates after installing the Microstats hack. Your question is, therefore, common and the answer can be found by reading through the thread. References I found on Erwins thread are here, here, here, and here.

The last reference is:
Quote:

You need to add those templates at the beginning of the php page that you saw the message on. It will speed up the page and reduce the number of queries to the database which will be good for all of your vb installation.
If you look in the URL for the page you are displaying when those uncached templates appear you'll see the php file within the address. Index.php usually deals with forumhome templates. Open the index.php file and find:
Code:

// pre-cache templates used by all actions
$globaltemplates = array(
        'FORUMHOME',
        'forumhome_event',
        'forumhome_forumbit_level1_nopost',
        'forumhome_forumbit_level1_post',
        'forumhome_forumbit_level2_nopost',
        'forumhome_forumbit_level2_post',
        'forumhome_lastpostby',
        'forumhome_loggedinuser',
        'forumhome_moderator',
        'forumhome_pmloggedin',
        'forumhome_subforumbit_nopost',
        'forumhome_subforumbit_post',
        'forumhome_subforumseparator_nopost',
        'forumhome_subforumseparator_post'

Add your templates to this list. Alternatively, I use the global.php file which is used for every page loaded. There, you'll find:
Code:

// templates to be included in every single page...
$globaltemplates = array_merge($globaltemplates, array(
        // the really important ones
        'header',
        'footer',
        'headinclude',
        'phpinclude_start',
        'phpinclude_end',
        // new private message script
        'pm_popup_script',
        // navbar construction
        'navbar',
        'navbar_link',
        // forumjump and go button
        'forumjump',
        'gobutton',
        'option',
        // multi-page navigation
        'pagenav',
        'pagenav_curpage',
        'pagenav_pagelink',
        'threadbit_pagelink',
        // misc useful
        'spacer_open',
        'spacer_close',
        'username_loggedout',
        'username_loggedin',
        'timezone',
        'STANDARD_ERROR',
        'STANDARD_REDIRECT'
        //'board_inactive_warning'
));

Add your templates to that list and it should also cache them. No need to add your templates to both files. Choose one or the other.

kall 03-06-2005 06:56 PM

Quote:

Originally Posted by ChuanSE
Yes, perfectly possible :)

i want to point out that the txt file with instructions is not up to date...

Search for and replace with... can't replace what can't be searched. the code was ok in previous versions of vB, where I installed the hack myself without problems.

But now mysql_db.php seems to be changed in this version, and i want to be sure to have an updated instruction file, before i start replacing :)

thx if ya wanna update it Teck ;)

Well, upgrade to 3.0.7.

The instructions for installing this hack match the code in the stock files to the very last character.


All times are GMT. The time now is 04:23 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.01307 seconds
  • Memory Usage 1,750KB
  • 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
  • (5)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