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)

archet1337 08-03-2011 12:25 AM

1 Attachment(s)
This is a brilliant mod! Thanks for sharing. Working great on 4.1.5

Not that it matters much and is a quick fix, but you forgot to translate the phrase $vbphrase[sprite_navgroup_configuration] to english :)

Also, the attachment icon looks a bit weird. See attached image. How to fix this?

FReeSTER 08-03-2011 01:08 AM

this mod is great but it gave me a hard time. For some reason it HIDED must of the forum images.

So I Un-Install until I know how to fix it

thanks

popmyzit 08-03-2011 03:02 AM

I am testing this I get error on refresh

Default Style
Error occurred: Your sprite folder is not writeable. Please check the permissions on the directory "".

Where can I modify the directory? What is the default directory so I can make it writable.

thanks

Crotan 08-03-2011 04:14 AM

Quote:

Originally Posted by popmyzit (Post 2228506)
I am testing this I get error on refresh

Default Style
Error occurred: Your sprite folder is not writeable. Please check the permissions on the directory "".

Where can I modify the directory? What is the default directory so I can make it writable.

thanks

www.yoursite.com/forums/images/sprites

Folder needs to be 755.

Osbes 08-03-2011 04:52 AM

Hello archet1337,

Quote:

Originally Posted by archet1337 (Post 2228450)
Also, the attachment icon looks a bit weird. See attached image. How to fix this?

the problem is, that you are not using GD-Libary 2.0.36 (or later) and your image isn't using "color RGBA", but "gray+alpha". You can tell this problem by the vertical lines you get.

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

Quote:

GD 2.0.36 (2007-11-xx)
88, Fixed support of PNG grayscale image with alpha channel (Pierre)
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.

Quote:


2009

libgd2 (2.0.36~rc1~dfsg-3+lenny1) stable-security; urgency=high


* Non-maintainer upload by the Security Team.
* Fixed CVE-2009-3546: possible buffer overflow or buffer over-read attacks via crafted files (Closes: #552534)

-- Giuseppe Iuculano <iuculano@debian.org> Mon, 09 Nov 2009 21:46:06 +0100
I am really shocked by this, since you are now the sixth person with this kind of problem and this fix is 4 years old and since 2 years known als high security fix by debian.

Best regards
Sebastian

Osbes 08-03-2011 04:54 AM

Hello FReeSTER,

what exactly is your problem? i dont understand what you mean.

Best regards
Sebastian

popmyzit 08-03-2011 04:56 AM

Thanks still have an issue with the error above.

Tried also in Vbulletin 3.8:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/global.php(355) : eval()'d code on line 56

Fatal error: Class 'vB_Template' not found in /home/user/public_html/forum/index.php(596) : eval()'d code on line 157

I don't have time to hack it up for Vbulletin 3.8 but hopefully somebody does.

Osbes 08-03-2011 06:16 AM

Hello popmyzit,

please look into the StyleVar imgdir_sprite. Since your error message just says

Code:

Error occurred: Your sprite folder is not writeable. Please check the permissions on the directory "".
Ik looks like this StyleVar is empty on your system, you could use as a value the default sprite folder of vBulletin:

Code:

images/sprites
Best regards
Sebastian

Osbes 08-03-2011 06:49 AM

Hello ZeroHour,

i just want to inform you, that i didnt forget your problem, but i didnt have the time to give you a solution at the moment.

Best regards
Sebastian

popmyzit 08-03-2011 02:44 PM

Thanks Sebastian will try the above,

best


All times are GMT. The time now is 10:18 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.01473 seconds
  • Memory Usage 1,745KB
  • 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_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