Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » Changeset 2753

#1 2007-12-29 01:11:23

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Changeset 2753

Perhaps a warning in the diagnostics might be appropriate in this case?

Something like: ‘Plugin decompression not available — you will not be able to install gzipped (compressed) plugins.’


Steve

Offline

#2 2007-12-29 11:32:08

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Changeset 2753

There’s no point in duplicating all error-handling routines in the diagnostics tab. It just increases the code size. In this case, you’re getting the info at the right time, when you try installing a compressed plugin. For a user perspective there’s no way to see the difference between a compressed and a non-compressed plugin, so even if you received prior warning in the diagnostics tab, you’d still try to install a plugin without knowing if it is compressed or not.

Offline

#3 2007-12-29 12:38:11

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: Changeset 2753

Hi Ruud,

thanks for the reply. You wrote:

There’s no point in duplicating all error-handling routines in the diagnostics tab.

Sorry, didn’t mean to imply it was. I was suggesting it “in this case”.

you’re getting the info at the right time, when you try installing a compressed plugin.

For plugins downloaded from the majority of sites as they currently stand — I agree. But not if I go to this site where I have a choice of compressed or uncompressed encodings; in such a case knowing in advance would save a wasted download,

I think that site’s author is setting a trend and I intend to give folks a choice on my site too. Looking ahead; if others follow suit or if the resource site starts supplying compressed/uncompressed links then this will become increasingly useful.

Best regards for 2008!


Steve

Offline

#4 2007-12-29 12:45:39

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: Changeset 2753

I guess you know that the author of that site is in fact, Ruud himself? ;-)

Offline

#5 2007-12-29 14:00:08

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Changeset 2753

I offer the compressed version mostly for those who face upload limits on their webhost (those who have no choice but to use the compressed version). In the plugin support topics here on the forum, I link to the non-compressed plugins, mostly because they weren’t supported before TXP 4.0.4.

I visit the diagnostics tab only to diagnose problems. If TXP gives me a clear enough error message when an actual error occurs, there’s no need to visit the diagnostics tab. Diagnostics is also an easy way for outsiders (like devs here on the forum) to quickly spot potential configuration problems or version conflicts when people ask questions.

Offline

#6 2007-12-29 14:11:31

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: Changeset 2753

Yes, on reflection you are right about the diagnostics tab not being the right place for any such message (if it were adopted.) Perhaps as a warning above the plugin tab’s textarea would be a better location.

Anyway, thank you for spending a moment considering it.


Steve

Offline

  1. Index
  2. » Archives
  3. » Changeset 2753

Board footer

Powered by FluxBB