vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   New Style - Forum Running Slow (https://vborg.vbsupport.ru/showthread.php?t=180506)

ams3521 05-25-2008 11:11 PM

New Style - Forum Running Slow
 
Hello i imported a new theme through admin and didnt merge it with my existing style or anything. The images were in a seperate folder too so no over writting there. I didnt like the style and deleted it and reverted back to my old skin. Now my forum is running real slow in Firefox but seems ok in IE. It looks like it's having probs downloading something on firefox. Does anyone have any suggestions on what could be wrong?

thanks
http://www.thedailypunt.com/forum/

PyroNET 05-26-2008 12:58 AM

Not sure what's causing the problem exactly, but here's a few things I noticed:
  • You seem to be including jQuery merely for the fisheye effect; increases load time a bit.
  • There's an <else /> tag in the source, meaning there's a broken conditional somewhere in your templates, potentially displaying unwanted content.
  • The W3 validator can't check it because there's a utf-8 character you've specified an ISO-8859-1 charset. Fix that and see if it validates.
  • Your CSS isn't stored in an external stylesheet meaning it isn't being cached.

ams3521 05-26-2008 05:48 AM

Thanks for the reply Pyro. Ive just started to get a look at it as ive been out. Its really depressing me especially as the man that does all the things like this on my forum has run away with a teenage girl and has no internet access yet.

1 - Im gonna remove the fisheye entirely Pyro. I hate it.

2 - How would i go about finding out where this broken conditional is Pyro? I couldnt begin to think but i'll go have a look and see if there's anything i can tidy up.

3. this is a weird one as when i look at the line number it doesnt seem to be anything that could cause probs

Code:

        <div style="float:left">
                by <a href="http://www.thedailypunt.com/forum/members/anothrspacecat.html" >AnothrSpacecat</a>
        </div>
        <div align="right">
                16-05-2008 <span class="time">02:34</span>
                <a href="http://www.thedailypunt.com/forum/tv/112380-internet-telly-post-your-channels-post511653.html#post511653"><img class="inlineimg" src="/forum/skin_images/buttons/lastpost.gif" alt="Go to last post" border="0" /></a>
        </div>

4. I will go and look at how to sort this. Sounds fairly easy (i hope)

Thanks Pyro

--------------- Added [DATE]1211789749[/DATE] at [TIME]1211789749[/TIME] ---------------

ive added AddDefaultCharset utf-8 to the htaccess file Pyro and that seems to have helped me a bit. Its not painfully slow now. Still showing probs with the character set though. I cant find 'The error was: utf8 "\x96" does not map to Unicode ' in any code on my site

PyroNET 05-26-2008 02:32 PM

Seems to be loading faster for me now.

I don't notice the conditional anymore.

For the charset thing, I'm not sure if the htaccess edit is necessary; just delete the problem line, rewrite it in notepad or something, and paste it back in.

To store the stylesheet as a file, go to AdminCP -> vBulletin Options -> Style and Language Settings -> Store CSS Stylesheets as Files? -> Yes


All times are GMT. The time now is 05:13 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.01887 seconds
  • Memory Usage 1,718KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete