Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-11-2005, 06:58 PM
Kihon Kata Kihon Kata is offline
 
Join Date: Nov 2003
Posts: 763
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Code slows down my site, allot

Hi peeps. Need some help here. I'm running 3.5 here on it's own P4 3.0 dedicated server. I don't know if this is the correct forum to post this in, if not...then MOVE IT.

The site runs a bunch of different hacks/mods including trader ratings, vBA gallery etc. I have a modification that has my forum setup with ad collumns, both left and right. The left side colum is called from the header vB and the right side is called from the footer in vB.

When I edit my header and REMOVE the code that calls the left side ad column, my forum's pages load EXTREMELY faster. When I add it back, the pages load much slower. I really want to keep my ad columns but the slow down is killing my users.(BTW, I have removed the Adsense code and tried the speed, still the same slow downs without the ads)

Can someone look at this and gimme your best guess on why the below code is hammering my server.

Here is that code I am removing to speed it up:

Code:
 
<!-- BEGIN left AdColumns -->
<if condition="THIS_SCRIPT!=member && THIS_SCRIPT!=profile && VBA_SCRIPT!=gallery && THIS_SCRIPT!=gainaccess">
<table width="$stylevar[tablewidth]" cellpadding="0" cellspacing="0" border="0">
<tr>
<if condition="THIS_SCRIPT!=memberlist && THIS_SCRIPT!=search && THIS_SCRIPT!=showthread && THIS_SCRIPT!=editpost && THIS_SCRIPT!=newreply && THIS_SCRIPT!=newthread && THIS_SCRIPT!=usercp && THIS_SCRIPT!=private && THIS_SCRIPT!=forumdisplay">
<td style="width:130px" valign="top">
<if condition="THIS_SCRIPT!=tratings">$adcolumn_left<else />$swapadcolumn_left</if></td>
</if>
<td valign="top">
<table width="$stylevar[tablewidth]" cellpadding="0" cellspacing="0" border="0">
<tr>
<td style="width:100%">
</if>
<!-- END AdColumns -->

If you look inside that ABOVE code, you will see $swapadcolumn_left. so I thought I would display my code for the LEFT SIDE ad column:

Code:
 
<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="125px" align="center">
<tr><td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr align="center">
<td class="thead"><font face="Verdana" size="1"><b>Hot Topics</b></td>
</tr>
<tr>
<td align="center" class="alt1"><font face="Verdana" size="1">
<a target="_blank" href="<A href="http://www.makeuptalk.com/forums/showthread.php?t=6040">New">http://www.makeuptalk.com/forums/showthread.php?t=6040">New! Swap Rating Center</a></font>
<br />
</td>
</tr>
<tr>
<td align="center" class="alt1"><font face="Verdana" size="1">
<font face="Verdana" size="1"><a target="_blank" href="<A href="http://www.makeuptalk.com/forums/mc_pollbooth.php?">Vote">http://www.makeuptalk.com/forums/mc_pollbooth.php?">Vote for Member of Month</a>
</td></tr>
<tr>
<td align="center" class="alt1">
<font face="Verdana" size="1">Sept member of the Month:<br />
<a href="<A href="http://www.makeuptalk.com/forums/member.php?u=4290">Devinjhans</a">http://www.makeuptalk.com/forums/member.php?u=4290">Devinjhans</a>
</td></tr>
<tr>
<td align="center" class="alt1"><font face="Verdana" size="1">
<a href="http://www.makeuptalk.com/forums/usersregtoday.php">Today's New Members</strong></a></font>
</td></tr>
</table>
</td></tr>
</table>
<table><tr><td></td></tr></table> 
<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="125px" align="center">
<tr><td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr align="center">
<td class="thead"><span class="smallfont"><b><a target="_blank" href="<A href="http://www.makeuptalk.com/reviews/">Review">http://www.makeuptalk.com/reviews/">Review Center</a></b>
</span>
</td></tr>
<tr>
<td align="center" class="alt1"><font face="Verdana" size="1">
<a target="_blank" href="<A href="http://www.makeuptalk.com/reviews/newestReviews.php">Newest">http://www.makeuptalk.com/reviews/newestReviews.php">Newest Reviews</a>
</td>
</tr>
<tr><td align="center" class="alt1"><font face="Verdana" size="1">
<a target="_blank" href="<A href="http://www.makeuptalk.com/reviews/topPick.php">Top">http://www.makeuptalk.com/reviews/topPick.php">Top Picks</a>
</td></tr>
<tr><td align="center" class="alt1"><font face="Verdana" size="1">
<a target="_blank" href="<A href="http://www.makeuptalk.com/reviews/newestProducts.php">Newest">http://www.makeuptalk.com/reviews/newestProducts.php">Newest Products</a>
<if condition="$show['member']">
<tr><td align="center" class="alt1"><font face="Verdana" size="1">
<a target="_blank" href="<A href="http://www.makeuptalk.com/reviews/myProfile.php">My">http://www.makeuptalk.com/reviews/myProfile.php">My 
Profile</a>
</if>
<if condition="$show['member']">
<tr><td align="center" class="alt1"><font face="Verdana" size="1">
<a target="_blank" href="<A href="http://www.makeuptalk.com/reviews/addReview.php">Write">http://www.makeuptalk.com/reviews/addReview.php">Write a Review?</a>
</if>
<if condition="$show['member']">
<tr><td align="center" class="alt1"><font face="Verdana" size="1">
<a target="_blank" href="<A href="http://www.makeuptalk.com/reviews/myEditor.php">Edit">http://www.makeuptalk.com/reviews/myEditor.php">Edit My NotePad </a></font>
</if>
<tr><td align="center" class="alt1"><font face="Verdana" size="1"><b><a href="javascript:openWinBoo()">Chat Now!</a></b></font>
</td></tr>
</table>
</td></tr>
</table>
<table><tr><td></td></tr></table>
<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="125px" align="center">
<tr><td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr align="center">
<td class="thead"><font face="Verdana" size="1"><b>Swap Center</b></td>
</tr>
<tr><td align="center" class="alt1"><font face="Verdana" size="1">
<a target="_blank" href="<A href="http://www.makeuptalk.com/swap">Swap">http://www.makeuptalk.com/swap">Swap Center</a></font></td></tr>
<tr>
<td align="center" class="alt1"><font face="Verdana" size="1">
<a target="_blank" href="<A href="http://www.makeuptalk.com/swap/newestSwaps.php">Newest">http://www.makeuptalk.com/swap/newestSwaps.php">Newest Swaps</a></font></td>
</tr>
<if condition="$show['member']">
<tr>
<td align="center" class="alt1"><font face="Verdana" size="1">
<a target="_blank" 
href="<A href="http://www.makeuptalk.com/forums/traderratings.php">Top">http://www.makeuptalk.com/forums/traderratings.php">Top Rated Swappers</a></font>
</td></tr>
</if>
<if condition="$show['member']">
<tr>
<td align="center" class="alt1"><font face="Verdana" size="1">
<a target="_blank" href="<A href="http://www.makeuptalk.com/swap/myEditor.php">Swap">http://www.makeuptalk.com/swap/myEditor.php">Swap Notepad</a></font>
</td></tr>
</if>
<if condition="$show['member']">
<tr>
<td align="center" class="alt1"><font face="Verdana" size="1">
<a target="_blank" href="<A href="http://www.makeuptalk.com/swap/mySwaps.php">My">http://www.makeuptalk.com/swap/mySwaps.php">My Swaps</a></font>
</if>
</table>
</td></tr>
</table>
In a nut shell, the slowdown of these codes are killing us. Any help would be appreciated.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:15 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.03961 seconds
  • Memory Usage 2,564KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (9)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)showthread_list
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_threadedmode.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids_threaded
  • showthread_threaded_construct_link
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete