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)
-   -   vbHome (lite) - your vBulletin(powered) main homepage (https://vborg.vbsupport.ru/showthread.php?t=36756)

TECK 09-29-2002 10:48 PM

hmm... it should not. turn the poll on and let me go to the url you posted in the pm.. let me know when i can go.
also, 20 queries? is impossible. you should have max 17 with all options turned on.

nokia8860 09-29-2002 10:51 PM

it is on now.

I can also reinstall vB and vBhome again just incase i missed something. Just let me know and I'll just reinstall

obiwan8472 09-29-2002 11:06 PM

Hi! This looks amazing!
Can I have the password?
It will be installed at www.scifichat.net by the end of October.
I am in the midst of reopening SFC using VB. (just converted from UBB! best move ever)

Thankyou so much!

TECK 09-29-2002 11:16 PM

obiwan, i pm you the password.
thanks for trying my hack.

LaPiba 09-29-2002 11:22 PM

Hi Teck,

I am using vbHome (lite) version 2 and i would like to update it to the new version. My site is: http://www.ekklesiaviva.com

Could I have the password?

Thank you very much in advance.

TECK 09-29-2002 11:31 PM

lapiba, i send you the password.

everyone please redownload the zip file, i think i fixed a problem with the performance.. in my server it's running v fast but for some reasons in older version of php it's a little slow.

for those who installed 3.1, the change is here:
https://vborg.vbsupport.ru/showthrea...050#post304050

nokia let me know how is the speed now? when i went before on your site it was slow, even on forums page, not only on vbhome lite. let me know if the change fix it.
this is what i get me now, with all options enabled:
Code:

0.10036099 seconds (72.84% PHP - 27.16% MySQL) 17 queries
you have something there very wrong.. it pulls 3 extra queries from nowhere... if you count all queries they add to 17, not 20.
i want to know if anyone else have the same problem, loading slow the page with all options enabled. thanks.

nokia8860 09-29-2002 11:42 PM

I am in the process of reinstalling vB 2.2.8 and just re downloaded the vbhome 3.1.

I will let you know what happens

TECK 09-29-2002 11:43 PM

ok.. i'm here. i get a email notification every time someone posts on the thread, so i will know when you answer.
make sure you use the new query i posted instead of the previous one. i changed again the LEFT JOIN to reduce the search in tables.

take a look again here:
https://vborg.vbsupport.ru/showthrea...050#post304050

if your file contains the query you see there, then you have the latest updated files. if not, delete all your temporary files and redownload again the file. vbulletin have a prob with attachments in combination with IE. IE wont download the file if is in temp folder, even if it looks like.

nokia8860 09-30-2002 12:01 AM

I reinstalled vB and vbhome but now my front page is blank. I will try the older version of the vbhome index file to see if it shows up.

Putting the old index file allows the vbhome index page to show but putting in the new file makes it appear blank?

TECK 09-30-2002 12:02 AM

no do not!
is the path probably... take you time and check all steps, why do you rush it??? that's why you endup with 20queries on your page because you mix everything there.

nokia8860 09-30-2002 12:06 AM

HAHAHA sorry TECK the chdir was commented out. I un commented it now it pulls up.

TECK 09-30-2002 12:10 AM

ok.. but i noticed also that it takes forever to load even your main page???? not the vbHome one? isnt that a server problem?
and make me happy, don't rush it. take your time. you make little mistake and is all screwed. some files are changed some code is altered in a different way to squeeze more out of performance.

so take you time and check all properly.

nokia8860 09-30-2002 12:13 AM

Here is the microstats from a fresh install of vb2.2.8 with the latest d/l of vbhome 3.1 with the fix already in the index page

Page generated in 13.17248702 seconds (0.70% PHP - 99.30% MySQL) with 20 queries

My test area is running off my @home cable modem so pulling it up outside will be slow.

Pulling up the forums locally gets me

Page generated in 0.16096699 seconds (83.25% PHP - 16.75% MySQL) with 16 queries

Sorry for being such a trouble for you but I really do appreciate all the help you have given :)

TECK 09-30-2002 12:15 AM

so, on the local server it shows at 16queries? the vbHome or the forums? i didnt get you.
it doesnt make sense to add 4 extra queries... from where?? is not possible.

nokia8860 09-30-2002 12:16 AM

the first stat with 20 is for vbhome the second stat is for the forum page itself

TECK 09-30-2002 12:19 AM

is impossible, look at my stats... and i have all options turned on:

nokia8860 09-30-2002 12:20 AM

I will try again and let you know :)

TECK 09-30-2002 12:23 AM

remember that you had before 14queries? on the old vbHome?
now if you turn on the polls that's 2 queries and the pm's that's another one, for a total of 17, exacly what i have me.

i use the same file, so there is no magic in there... :)
hmm on your home page, it took like 15seconds to load the nuke portal or what ever it is...

do you have a server online? through your cable? how it is setup your site?

PIMPY 09-30-2002 12:59 AM

is it possible for you to get all of those templates in to a collapsed folder thing? cause i mean i ahev about 100 custom templates and stuff and having them un collapsed is just more of a mess..

and if you can, how? cause i have a whole bunch i would like to get collapsed

TECK 09-30-2002 01:05 AM

ya it is possible.
open [high]/admin/template.php[/high] and find:
Code:

$only['getinfo'] = 'User Info Display';
below this, add:
Code:

$only['home'] = 'Home Page';
you are done, now all home templates are grouped toghether.

PIMPY 09-30-2002 01:49 AM

heh that was simple

now how can i move my custom templates down to where you put yours?

TECK 09-30-2002 01:52 AM

you still have old custom templates from previous vbHL?????????
remove them asap.
also, how is the performance on your server? the page loads fast?

nokia8860 09-30-2002 01:59 AM

TECK,

Im not sure what I'm doing wrong. Did fresh install of both vB and vbhome and with all options on (pm and poll) and placing the get_microstats template in the $templateused area Im pulling 22 queries.

Turning off pm and poll gives me 20 (I know that doest add up since pm is 1 and poll is 2) turning on just pm still leaves it at 20.

Turning off pm and turning on poll gives me 22 and turning on pm and poll off gives me 20.

And you are correct vbhome 3 gave me like 14 log in and 13 as guest. I am unsure where these additional queries are coming from.

I will mess around a little more and figure out what im doing wrong.

Thanks for all your help, it is very thoughtfull of you. :)

TECK 09-30-2002 02:06 AM

it intrigues me to. it doesnt make sense...
i just looked at pimpy's page and it's loading lightning fast...

i dont understand why it's adding extra queries. the only way it adds extra queries if you add new code to your vbHL file, wich is not the case right?
i want you to pm me attached the vbHL file that you have now on the server, i will compare it with mines, ok?

TECK 09-30-2002 02:09 AM

pimpy? please turn on your poll option and pm's temporary. i need to compare the performance.. thanks.

nokia8860 09-30-2002 02:10 AM

TECK,

pm is sent.

thank you!!!

TECK 09-30-2002 02:21 AM

hehe, no wonder you have 20queries. :)

first, you added there the template microstats, that is already cached in the /forum/global.php file (i hope you did add it there).
second you forgot to put a comma after the word microstats, so all the templates after that are not cached anymore... in other words for every template listed after microststs it will load a a query instead, because is not saved in the server memory anymore... :)

do this nokia, remove the microstats. your list of templates should look like this:
Code:

$templatesused = 'home,home_articlebits,home_footer,home_header,home_headinclude,home_threadbits,home_welcomeguest,home_articlecomment,';
$templatesused.= 'home_welcomeuser,home_pollresult,home_polloption_multiple,home_polloption,home_pollcomment,home_articlenocomment,';
$templatesused.= 'home_pollresults,home_pollresults_closed,home_pollresults_voted,home_polloptions,home_pmloggedin';

then, just to be safe, open /forum/global.php and make sure your microstats template is listed like that there:
Code:

$templatesused.=',pagenav,pagenav_curpage,pagenav_firstlink,pagenav_lastlink,pagenav_nextlink,pagenav_pagelink,pagenav_prevlink,home_microstats';
never NEVER, add the template like that, without the comma, if it is in a link string. let me know what's the number of queries you have after... it will be 14 i quarantee you.

and the page will load fast, the way you like it. :)
enable all options and let me know how it does it on your server...

nokia8860 09-30-2002 02:28 AM

TECK,

Thanks for the check. I did as you stated and yes it dropped 2 queries with both pm and poll turn off from 20 to 18. And the microstats is listed in globals :)

I still dont know what the other 4 queries are.

I enabled all options and my queries are 20. which if funny cuz if pm and poll add 3 together it should be 21?

Page generated in 12.92232895 seconds (0.76% PHP - 99.24% MySQL) with 20 queries

TECK 09-30-2002 02:29 AM

did you pasted my list of templates above?

nokia8860 09-30-2002 02:32 AM

yep :)

just to be on the safe side i did :)

nokia8860 09-30-2002 02:34 AM

With the poll option off my page loads under .2 sec but with it on thats when it bogs down to 12 sec.

I still wonder where all these extra queries are coming from.

TECK 09-30-2002 02:37 AM

it's not the query, orelse it would load really slow on everyone's page. i will ask my friend PPN, who is really good with queries if it's ok everything.

from my knowledge, it looks solid like the way it is now.

PIMPY 09-30-2002 05:54 AM

umm ya i'll check it soon, but the old custom templates are not for this i ment templates for OTHER things..

k i turned on polls and i found NO difference

still did it at same speed, i think it was like .001 secs diff , avg, some times i got less :P

but whats this about turnning on pms? how/where do i do that? its not in the index.php

TECK 09-30-2002 11:25 AM

is not the query. i check it in EMS mysql manager and it returned the results in 0.02sec...
redownload the file pimpy. you dont have the "latest" version...
i added like 5min later the private messages, when i released the 3.1.
so go ahead and download it, the password is the same... then read the uninstall procedure for the older version you have:
https://vborg.vbsupport.ru/showthrea...785#post303785

LeeCHeSSS 09-30-2002 11:48 AM

Hmm, just tested vbHome on my home computer. It works correctly as far as I can tell, but I'll have to heavily edit the templates in order to get a somewhat decent page :)

This might take a while with my current amount of free time :(

PIMPY 09-30-2002 11:59 AM

you know.. ya really should tell people of this.. :P

ug i hate heaving to un-install and re-install and edit again and UG!

intinig 09-30-2002 03:36 PM

I would like to install the hack. My website is www.warcraft3.it

TECK 09-30-2002 04:02 PM

Quote:

Originally posted by PIMPY
you know.. ya really should tell people of this.. :P

ug i hate heaving to un-install and re-install and edit again and UG!

pimpy, please, be mature.. i said to people this several times.. if you dont read the thread, that's not my problem.
if you are not happy, please dont install my hack. thank you.

intinig, turn your pm's ON, so i can send you the password.

TECK 09-30-2002 04:55 PM

In, vbHL index.php, find this code:
Code:

  if ($poll=$DB_site->query_first("
    SELECT * FROM poll LEFT JOIN thread ON (thread.pollid=poll.pollid) WHERE visible=1 AND open<>10 $iforumperms $ipollperms ORDER BY thread.pollid DESC LIMIT 1
  ")) {

replace it with:
Code:

  if ($poll=$DB_site->query_first("
    SELECT * FROM thread LEFT JOIN poll ON (poll.pollid=thread.pollid) WHERE thread.visible=1 AND thread.open<>10 $iforumperms $ipollperms ORDER BY thread.pollid DESC LIMIT 1
  ")) {

That will avoid the table poll to be scanned entirely to get the poll information you need, increasing the performance.
If your file does not contain the latest query, please update it asap.

Also, still in vbHL index.php, find:
Code:

  eval("\$articlelink = \"".gettemplate('home_articlelink')."\";");
DELETE that line, it will drop your queries to 14 (17 with all options enabled).

bouncer18 09-30-2002 05:47 PM

where do we post to let you know we want the pwd to the zip.. there is no link on the first thread.... you cant click where it says "click here"


All times are GMT. The time now is 12:18 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.03356 seconds
  • Memory Usage 1,826KB
  • 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
  • (8)bbcode_code_printable
  • (1)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
  • (40)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