![]() |
Quote:
Quick question. How many queries does it add? and how is the load on MySQL?? Right now I have on forum Home. Page generated in 0.32909012 seconds (94.71% PHP - 5.29% MySQL) with 10 queries. |
Great hack. I actually didn't follow most of the directions because all I needed was the stats that it gave, but I didn't display them in the manner stated in the install file. :D But again great hack. :D
|
there has been no real change in the mysql some added if then else statements for the username truncation but that bout it so any server load should be minimal
|
I want to install this hack but after opening my index.php file I cannot find the following text anywhere.
'forumhome_subforumseparator_post' I've searched through 5 times and pasted the text into MS word so that I could do a search for the text which it didn't find. I run VB 3.0.1 which I was told earlier in the thread is ok. PLEASE HELP!!!! |
Can anybody please tell me where it is as per above message?????
|
Quote:
2nd, it's near the top of the document, around line 45, under this section. PHP Code:
|
I dont have any section with pre cache templates and data - I know I'm not being dumb and its deffo not there
I'm getting worried now as i seem to have this section missing Help please |
Quote:
Can you paste the first few lines of your index.php page? |
Here's a section at the start of my index.php file - hope its not too long
Hope you can help INT)); if (! is_array($foruminfo)) { $forumid = -1; } else { // draw nav bar $navbits = array(); $parentlist = array_reverse(explode(',', substr($foruminfo['parentlist'], 0, -3))); foreach ($parentlist AS $forumID) { $forumTitle = $forumcache["$forumID"]['title']; $navbits["forumdisplay.php?$session[sessionurl]f=$forumID"] = $forumTitle; } // pop the last element off the end of the $nav array so that we can show it without a link array_pop($navbits); $navbits[''] = $foruminfo['title']; $navbits = construct_navbits($navbits); } // ### WELCOME MESSAGE ################################################# if ($bbuserinfo['userid']) { // registered user $showmemberwelcome = true; } else { // guest $showmemberwelcome = false; } $today = vbdate('Y-m-d', TIMENOW, false, false); // ### TODAY'S BIRTHDAYS ################################################# if ($vboptions['showbirthdays']) { $birthdaystore = unserialize($datastore['birthdaycache']); if (!is_array($birthdaystore) OR ($today != $birthdaystore['day1'] AND $today != $birthdaystore['day2'])) { // Need to update! require_once('./includes/functions_databuild.php'); $birthdaystore = build_birthdays(); DEVDEBUG('Updated Birthdays'); } switch($today) { case $birthdaystore['day1']: $birthdays = $birthdaystore['users1']; break; case $birthdaystore['day2']; $birthdays = $birthdaystore['users2']; break; } // memory saving unset($birthdaystore); $show['birthdays'] = iif ($birthdays, true, false); } else { $show['birthdays'] = false; } |
Quote:
|
All times are GMT. The time now is 02:25 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|