CompressHTML plugin for cpg1.5.x CompressHTML plugin for cpg1.5.x
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

CompressHTML plugin for cpg1.5.x

Started by Timos-Welt, January 13, 2009, 11:21:31 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Timos-Welt

What's this?

This plugin compresses the HTML output by removing disposable spaces and line feeds from the source code.

This plugin is extremely useful for theme-, javascript- and plugin developers. It allows you to check your stuff for correctness (for example Javascript lines that end without an ; incorrectly). If everything works alright when this plugin is installed, you may have done something right.


PLEASE READ THIS PARAGRAPH CAREFULLY!!!


  • This plugin MUST be the last one in the chain. Move it all the way down in plugin manager, otherwise it may make other plugins stop working.
  • This plugin may break certain scripts, especially javascripts with missing semicolons after each command. If it doesn't work, edit codebase.php with a text editor and comment out the marked line or delete it.
  • This plugin may under certain conditions lead to invalid X(HTML), so if you're after that, re-check with a validator. If it doesn't work, edit codebase.php with a text editor and comment out the marked line or delete it.
  • This plugin will not have any effect as long as you're in admin mode. Log off to see it working.
  • NEVER EVER ask for support on the CPG forums when this plugin is active. Supporters will probably refuse to help you because of the unreadable source code. Uninstall the plugin before asking for support.


How to install

1. Upload folder compresshtml to your plugins folder.
2. Install via plugin manager.


How to uninstall

1. Uninstall via plugin manager.
2. Remove folder compresshtml from your plugins folder.



SVN of this plugin

Download latest SVN snapshot


regards
Timo

Joachim Müller

Excellent plugin, excellent announcement. Thanks a lot.

Joachin

Joachim Müller


marcelm

When I install this plugin under Firefox 3.6 I can't reach "login.php" through the "Home button". Secondly the Enlarge it plugin will not enlarge when you are in album in IE 7 however it is working in the slider bar.

Coppermine 1.53 RC

Installed plug-ins:

Slider (slider): v0.7
EnlargeIt! PlugIn (enlargeit): v1.15
Link target (link_target): v1.2
BBCode Control (bbcode_control): v1.7
JSmin (jsmin): v1.2
CompressHTML (compresshtml): v1.2

I have uninstalled the CompressHTML plug-in on the moment so the site is working correct.

Marcel

Timos-Welt

This plugin may break certain scripts, especially javascripts with missing semicolons after each command. If it doesn't work, edit codebase.php with a text editor and comment out the marked line or delete it.

cl9m

Hi,

I've found a probleme, when this plugin is active, members can't put a smiley in his comment, but administrators can't.