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)

Mooff 08-05-2011 08:24 AM

Output does look fine.
Since you left your url in i checked the main sprite - and it does look fine aswell (aside the GD 2.0.35 version - guys please update, that version is 4 years old).
So what exactly is not working?
Did you do the required template changes?

stephen1976 08-05-2011 10:16 AM

1 Attachment(s)
okay installed on 4.1.5 PL1

there is only one slight error the Paperclip icon on threads now appears a little odd ( i think it now stands out more! )

see pic

Mooff 08-05-2011 10:27 AM

We will update the FAQ with that question soon. Really shocked it does affect so many servers.

Quote:

Originally Posted by Osbes (Post 2228914)
If you have some image like

http://dl.dropbox.com/u/246391/Robin.png

which looks like

http://dl.dropbox.com/u/246391/Robin_result.png

in the Sprite (it is stretched and vertical lines are added), than you possible use a GD Libary older than 2.0.36.

GD had a problem handling grayscale images with alpha channel correctly, wich was fixed with GD 2.0.36 in the Year 2007.

https://bitbucket.org/pierrejoye/gd-...361a31aab/NEWS

The solution is to update the GD-Libary to 2.0.36 (or later) or replace every file which uses "gray+alpha" with an version using "color RGBA".

I would advise to update the GD-Libary, cause there is also a serious security problem, that was fixed in the Year 2009 by Debian.



I am totally shocked by this, since there seem to be a whole bunch of people with this kind of problem and this fix is 4 years old and since 2 years known als high security fix by debian.
So there seems to be a lot problem within the maintenance of servers, if some serious security issue isnt solved since 2-4 years.
If you pay money for server maintenance i would be deeply shocked, if i were you.

Best regards
Sebastian


Crotan 08-05-2011 02:00 PM

Quote:

Originally Posted by Mooff (Post 2229612)
We will update the FAQ with that question soon. Really shocked it does affect so many servers.

I'm not, most hosts get by on the bare minimums, overloading shared hosting boxes and the like. Having 4 year outdated image libraries with a security hole sounds just right.

sadiq6210 08-05-2011 02:32 PM

Could you explain this step more?

Quote:

upon installation a new stylevar imgdir_sprite will be created. Update this stylevar based on your file structure - default value is the vbulletin sprite directory. Make sure the folder is writable, else the sprites can't be saved!

Crotan 08-05-2011 04:11 PM

1 Attachment(s)
Quote:

Originally Posted by sadiq6210 (Post 2229716)
Could you explain this step more?

Look in the style Manager in the admincp, installing this mod will create a new stylevar named "imgdir_sprite" Make sure the folder is chmod 755, is what it means by make sure it's writable so that vbulletin can save the new sprite images it creates.

giorgino 08-05-2011 10:22 PM

1 Attachment(s)
One strange issue: "Moved" topic hasn't icons

Osbes 08-05-2011 11:41 PM

Hello,

version 0.7.2 is currently running on our liveforum. If nothing wrong happens, i will release it tomorrow.

Best regards
Sebastian

fukdawrld 08-05-2011 11:58 PM

Thanks for all your help. It built the sprites.

Osbes 08-06-2011 12:03 AM

Hello giorgino,

thanks for the info, i missed to integrate the following template change within the TMS rules.

Code:

Template: threadlist.css
<    .threadbit.moved .threadstatus { background-image: url({vb:stylevar imgdir_statusicon}/thread_moved-30.png); }

I have integrated it to 0.7.2.

If you didnt want to wait, you can remove the css-rule .threadbit.moved .threadstatusfrom within the template threadlist.css manually.

Best regards
Sebastian


All times are GMT. The time now is 12:44 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.01523 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
  • (1)bbcode_code_printable
  • (4)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