vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Code compression in 3.7? (https://vborg.vbsupport.ru/showthread.php?t=175119)

Guest210212002 04-04-2008 11:34 AM

Code compression in 3.7?
 
Apologies if this is the wrong section, but it seemed more coding related than general.

On every version of vB save 3.7 RC1/2 , I've been able to happily open up the files in my favorite editor and go to town, and it's always been properly tabbed with line breaks, like so:

http://www.sevenstring.org/chris/vbm_good.jpg

With 3.7, every download has yielded me files that open like this:

http://www.sevenstring.org/chris/vbm_bad.jpg

Am I doing something wrong, or is the code not archived with the proper breaks in it? As you can imagine the second format makes it rather hard to edit anything. It also comes out like this if I open the files on the server using emacs, or from my desktop before uploading using notepad.

Opserty 04-04-2008 11:55 AM

Didn't vBulletin say they were including compressed JS files to reduce bandwidth? There should be an option to download the uncompressed JS files.

Marco van Herwaarden 04-04-2008 12:01 PM

https://vborg.vbsupport.ru/showthread.php?t=172350

Quote:

Minified Javascript Files
In order to minimize the download footprint of the vBulletin Javascript files, these are now distributed in 'minified' (compressed) form when a package is downloaded from the Members' Area. The uncompressed versions are still available as a download option should people want them for modification purposes etc.


Guest210212002 04-04-2008 12:03 PM

Well now, don't I feel silly. :D

Thanks all.


All times are GMT. The time now is 01:15 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.00991 seconds
  • Memory Usage 1,713KB
  • 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_quote_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