Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#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
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
Re: Changeset 2753
I guess you know that the author of that site is in fact, Ruud himself? ;-)
Offline
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
Pages: 1