vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Board Optimization - United-Forum CSS Sprites - ludicrous speed - NOW! (https://vborg.vbsupport.ru/showthread.php?t=266696)

hanhdn 09-06-2011 02:19 PM

Quote:

Originally Posted by Mooff (Post 2242593)

Thanks, I installed. My new trouble is the last instruction:
in order to use the sprites, you then will have to edit some templates. The diffs (xou will find it in the do_not_upload folder show which parts you have to delete '<' and which parts to add '>' In addition, on top find the lines in which you will find the respective code.

As this instruction I opened file TEMPLATE_CHANGES.diff and saw the code:

## Version 0.7.1 ##

Template: search_threadbit
1c1
< <li class="imodselector threadbit {vb:if !$thread['del_username'], $thread['statusstring']}" id="thread_{vb:raw thread.realthreadid}" title="{vb:raw thread.preview}">
---
> <li class="sprite_statusicon_thread_30 imodselector threadbit {vb:if !$thread['del_username'], $thread['statusstring']}" id="thread_{vb:raw thread.realthreadid}" title="{vb:raw thread.preview}">

Template: threadbit_deleted
1c1
< <li class="threadbit deleted<vb:if condition="$show['paperclip']"> attachments</vb:if><vb:if condition="!$thread['postuserid']"> guest</vb:if><vb:if condition="$thread['moderatedprefix']"> unapproved</vb:if>" id="thread_{vb:raw thread.realthreadid}">
---
> <li class="sprite_statusicon_thread_30 threadbit deleted<vb:if condition="$show['paperclip']"> attachments</vb:if><vb:if condition="!$thread['postuserid']"> guest</vb:if><vb:if condition="$thread['moderatedprefix']"> unapproved</vb:if>" id="thread_{vb:raw thread.realthreadid}">


What I have to do next? The code only for ver.0.7.1???? and how about the code from ver.0.5 to ver.0.7??? ignore them??
Srr for my noob:(

thecore762 09-08-2011 03:49 AM

Would you recommend using this mod for a forum line mine? www.47r-squad.com
It's custom built and very graphic intensive..
Not sure if this is going to work for me.

Mooff 09-08-2011 01:48 PM

@Seductor
I don't know exactly what is causing this behaviour. Someone in this thread had it before, i thought this bug was fixed then.

@hanhdn
You need to perform all code changes mentioned in the diff file. How to read that file is explained here.
https://vborg.vbsupport.ru/showpost....0&postcount=25
But, i would advise everyone to use the TMS, which does those changes for you.

@thecore762
The addon will merge a lot of your icons into sprites. So yes, i would recommend using it.

ZeroHour 09-08-2011 02:10 PM

@Moof just to say thats the issue I had as well although I have removed the mod for now.

@Seductor what OS and php version do you have? trying to think of causes

tpearl5 09-08-2011 02:54 PM

can't wait to see this for showthread - that's where the majority of my traffic comes in from.

hanhdn 09-09-2011 05:48 AM

Quote:

Originally Posted by Mooff (Post 2243396)
@hanhdn
You need to perform all code changes mentioned in the diff file. How to read that file is explained here.
https://vborg.vbsupport.ru/showpost....0&postcount=25
But, i would advise everyone to use the TMS, which does those changes for you.

Thank friend,
I already changed all the default icon and status icon by custom icon and avatars in my forum. I want to know the mod still make my forum faster or not?
My forum: http://srsc.com.vn

Thank again,

Mooff 09-09-2011 09:43 AM

Wow, your site takes 30 seconds to load for me on the first go and 18 seconds on the second one. :eek And that is with javascript blocked.

As for images. I don't know what you are using for your forumicons. Unfortunately i doesn't seem to be the build in vb4 version, which also would allow to choose different icons for different forums (see our site) so we can't catch them. Avatars we can't catch at all. Avatars can't be added in a sprite since a board at most will show 20 at a time? And boards like ours have thousands of avatars on them. So it doesn't make sense to transfer the data of thousand avatars to show 20.

Forumdisplay you show avatars instead of threadicons, so the addon won't be able to catch those.

There are still some http requests you can save using the addon. But do not expect a massive performance increase (i would expect it to shave like 2 seconds off), since most of your loading time is due to your other addons, like huge animated graphics, real time graph creation etc. and that we cannot speed up.

Chris.08i 09-11-2011 03:28 AM

This gave me a boost by about 7 points.

I'm still horribly low on 38 points.

Page Speed Online by google is still giving me quite a large list of images which can be converted into CSS sprites. They are mostly gradients and/or icons.

I was wondering if I've done anything wrong?

I have TMS installed.

Any help will be greatly appreciated.

Mooff 09-12-2011 10:09 AM

Please provide a link to your site.

I assume you have some other addons running which add a lot of images to your page. Images the default vb4 installation does know nothing about, and therefore we can't catch them (unless someone uses our plugin hook to include those icons into the sprite).

Seductor 09-12-2011 02:16 PM

Quote:

Originally Posted by Mooff (Post 2243843)
Wow, your site takes 30 seconds to load for me on the first go and 18 seconds on the second one. :eek And that is with javascript blocked.

It took me more than 30 seconds :O That is insane!


All times are GMT. The time now is 11:41 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.01333 seconds
  • Memory Usage 1,746KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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