Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Categories

In this Discussion

Who's Online 8

CurtisOdenMatthew2DToddericgilletteleafmonsterx00 +2 guests

Vanilla Packer

This discussion is related to the Vanilla Packer addon.
Vanilla Packer
«13

Comments

  • Uploaded version 0.4.beta.2 of Vanilla Packer.
  • Uploaded version 0.4.beta.2 of Vanilla Packer.
  • Posts: 1,880
    (Just a problem problem with the version number in default.php)
  • ADMADM
    Posts: 450
    Very cool! Great work as always Dino!
  • Posts: 1,799
    we don't have to do anything to our JS files right, except make sure all commands are ended by a semi-colon
  • Posts: 783
    so mark any chance of using it here on the lussumo community?
  • Posts: 1,799
    so it merges the files into one but doesn't compress them
  • Posts: 379
    thats fine, it never was a size issue, just a number of connection thing
  • Posts: 1,880
    Thanks ADM :-)

    @MySchizoBuddy: If you have gzip enable on your server, it will compress it. It can also minify the js files, but by default - for this first release -, it doesn't, since the files need to be tested.
  • Uploaded version 0.4.beta.3 of Vanilla Packer.
  • Posts: 1,880
    Fix two bugs that stopped in some case the merged files to cached on the server.

    If you are updating the patch, you will need to delete all the files in the js and css caches.
  • Posts: 669
    Dino, came across this comment on ob_gzhandler at http://www.php.net/ob_gzhandler"
    27-Feb-2007 03:35
    ...caching of gzipped files is broken in all versions of MSIE. The following blog entry
    appears to declare that this has been fixed in IE7, but I haven't verified this.
    http://blogs.msdn.com/ie/archive/2005/10/31/487509.aspx


    Do you know if this is indeed the case? If so, gzip compression should perhaps be disabled
    on IE to maximize the benefits of packing & local caching.
  • Posts: 182
    After patching, I'm getting

    A fatal, non-recoverable error has occurred
    Technical information (for support personel):

    Error Message
    Could not create the FilesToPack Table
    Affected Elements
    undefined.PackerInstaller();

    The error occurred on or near: Too big column length for column 'FilePath' (max = 255). Use BLOB instead

    For additional support documentation, visit the Lussumo Documentation website at: lussumo.com/docs
  • Posts: 1,880
    line 437 of library/Framework/Framework.Class.PackManager.php, replace 'varchar(256)' by 'varchar(255)'. I am looking at it...

    @Tom, I will look at a solution.
  • Uploaded version 0.4.beta.4 of Vanilla Packer.
  • Posts: 1,880
    @Tiggr: use the new version
  • Posts: 182
    Hi Dinoboff!

    Great Work, thank you very much!

    But there are some problems with "bad behaving exensions":
    • BBInsertBar fails, because it uses the whole url for scripts and styles, giving this error:
      Warning: filemtime() [function.filemtime]: Stat failed for /home/www/colorful_sky_de/forum/http://www.colorful-sky.de/forum/extensions/BBInsertBar/style.css (errno=2 - No such file or directory) in /home/www/colorful_sky_de/forum/library/Framework/Framework.Class.PackManager.php on line 225
    • Some extensions use relativ path to images in the style file (background-image: url(...);), this images can't be found when using your extensions. But this is a minor thing...
    Bye
    Tiggr
  • Posts: 669
    @Dino: think I've found a relevant KB article: http://support.microsoft.com/kb/321722
  • Posts: 1,880
    @ Tiggr: Thanks for BBInsertBar. Can you tell which extension use css background image? I try to list the extension that can't work with the packer.
    http://code.google.com/p/vanilla-packer/wiki/ExtensionsIssue

    @Tom: umm... so believing Microsoft, gzip encoded file are always cached in IE5 and IE6?
    I will try to check today.

    If you want to help for fixing bugs or update the wiki pages, you are welcome to join the project.
  • Posts: 182
    >Can you tell which extension css background image?

    In my case, it was CategoryIcons, that used relative pathes
  • Posts: 1,799
    So now we have to move our images to the themes folder.?
    plus i fixed the packer based path in jqmedia. last time i updated it.
    the external.gif file in jqmedia isn't called from a style sheet.
  • Posts: 182
    Couldn't the the packer parse css for url(.+) and replace the path with the absolut path?
  • Posts: 1,406
    Is there any way I can fix CategoryIcons to work with Packer?
  • Posts: 182
    Is there any way I can fix CategoryIcons to work with Packer?
    That's easy, just change the style file. ;-)

    Look for the parts with the image urls, and change them to the full pathes starting from webroot!
  • Posts: 1,406
    I've tried adding $Configuration['WEB_ROOT'] to the image location in the stylesheet, but that looks like it isn't recognized.
  • Posts: 1,880
    You just need to copy the images into the style folder.
  • Posts: 182
    I would like to keep the images where they are!
    I've tried adding $Configuration['WEB_ROOT'] to the image location in the stylesheet
    Of course not! There is no parsing or executing of php in styles!

    Just change the parts with url(images/misc.gif) to something like url(/forum/extensions/CategoryIcons/images/misc.gif). Please check for the right path on your server!
  • Posts: 2,419
    Shouldn't you set a variable to equal...
    $Configuration['BASE_URL'].'extensions/CategoryIcons/images/misc.gif';

    Posted: Friday, 30 March 2007 at 9:48AM

  • Posts: 182
    Hi Wanderer!

    Would be very nice, but it's a style sheet, not php!
  • Posts: 2,419
    Der, I knew that (didn't read the whole thread)!

    Posted: Friday, 30 March 2007 at 5:16PM

This discussion has been closed.