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)
-   -   Welcome Panel [Final] (https://vborg.vbsupport.ru/showthread.php?t=33477)

eoc_Jason 05-01-2003 05:15 PM

Sanjiyan - if you want those to be different widths, easiest way would be to make each section its own table...

eoc_Jason 05-01-2003 05:18 PM

Oh yeah, btw.... I was experienceing forum slowdown's, especially during peak time, and it was the worst on the forumhome... well I ran the sql explain stuff and found out that the line:

PHP Code:

$getnewpost=$DB_site->query_first("SELECT count(*) AS posts FROM post WHERE dateline > '$bbuserinfo[lastvisit]'"); 

was causing a major slowdown because there was no index on post.dateline, if you add an index on it (and thread.lastpost for good measure since it has a similar query) you should see a nice speed improvement, especially if you have a good number of posts (my forum is approaching 400,000).

Cicada 05-13-2003 10:35 PM

my avatars dont display, any help?

KimG 05-18-2003 08:55 AM

[QUOTE]05-01-03 at 07:18 PM eoc_Jason said this in Post #402
Oh yeah, btw.... I was experienceing forum slowdown's, especially during peak time, and it was the worst on the forumhome... well I ran the sql explain stuff and found out that the line:

PHP Code:

$getnewpost=$DB_site->query_first("SELECT count(*) AS posts FROM post WHERE dateline > '$bbuserinfo[lastvisit]'"); 

was causing a major slowdown because there was no index on post.dateline, if you add an index on it (and thread.lastpost for good measure since it has a similar query) you should see a nice speed improvement, especially if you have a good number of posts (my forum is approaching 400,000).

eoc_Jason 05-28-2003 01:14 AM

easiest way would be to use phpmyadmin, you can just click the index button on the dateline column in the post table. Or, if you know how to use MySQL from the command line, let me know and I can tell you how to do the Alter Table command.

Bulleh 05-31-2003 01:35 PM

i see

Mike11212 05-31-2003 03:18 PM

I need help I must of done something wrong.

The hack works great when your loged in but when your a guest its all out of wack.

http://www.hardwaregeeks.com/board see what I mean

anyone know how to help I tried editing templates but it just made me angry I couldn't figure it out

eoc_Jason 05-31-2003 03:50 PM

It looks like you are missing (or have an extra) table column somewhere....

I would go through the templates and count them up to make sure they all match...

atomic fireball 06-05-2003 09:05 AM

Ah.....this hack is simply the gift that keeps on giving. I love it, thanks!

We just installed it over on our brand new forum, it looks great:
http://www.thedigitalreview.com/forum/

Jason, thanks for the heads up about adding an index to post.dateline and thread.lastpost as well. We did that too.

Awesome hack, I really like it.

saj 06-16-2003 12:01 PM

will this work on vb2.3.0????


All times are GMT. The time now is 03:54 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.01477 seconds
  • Memory Usage 1,740KB
  • 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
  • (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