Advanced search  

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]

Pages: [1]   Go Down

Author Topic: CompressHTML plugin for cpg1.5.x  (Read 26572 times)

0 Members and 1 Guest are viewing this topic.

Timos-Welt

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 808
    • Timos-Welt
CompressHTML plugin for cpg1.5.x
« on: January 13, 2009, 11:21:31 am »

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
« Last Edit: March 09, 2010, 10:56:21 am by Timos-Welt »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: CompressHTML plugin for cpg1.5.x
« Reply #1 on: January 14, 2009, 07:40:55 am »

Excellent plugin, excellent announcement. Thanks a lot.

Joachin
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
« Last Edit: January 28, 2010, 07:19:24 am by Joachim Müller »
Logged

marcelm

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 60
Re: CompressHTML plugin for cpg1.5.x
« Reply #3 on: March 15, 2010, 12:39:47 am »

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
Logged

Timos-Welt

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 808
    • Timos-Welt
Re: CompressHTML plugin for cpg1.5.x
« Reply #4 on: March 15, 2010, 06:11:31 am »

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.
Logged

cl9m

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 118
Re: CompressHTML plugin for cpg1.5.x
« Reply #5 on: September 29, 2010, 08:05:26 pm »

Hi,

I've found a probleme, when this plugin is active, members can't put a smiley in his comment, but administrators can't.
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.