Textpattern CMS support forum

You are not logged in. Register | Login | Help

#21 2010-02-06 01:08:59

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,251
Website

Re: New 4.2.0+ 'Prometheus' Admin theme

In the comments section it’s hard to tell a comment marked as spam from one that’s just an even numbered row.


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#22 2010-02-06 11:12:37

Destry
Moderator
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,233
Website

Re: New 4.2.0+ 'Prometheus' Admin theme

Bloke wrote:

The .tgz file installed first time with smd_admin_themes, thanks. Three-click installation: Browse, Install, Activate — w00t!

.tgz file? I’d like to try this with smd_admin_themes too, which is installed, but all I see is a zip for the Stung theme, which does’t work. Where’s the venomous snake I can’t see?


The text persuades, the *notes prove。

Offline

#23 2010-02-06 17:47:33

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,251
Website

Re: New 4.2.0+ 'Prometheus' Admin theme

The zip worked for me with smd_admin_themes but I think it depends on your environment.


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#24 2010-02-06 21:30:30

thebombsite
Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: New 4.2.0+ 'Prometheus' Admin theme

I’m afraid it does. It doesn’t work for me whichever file type I use and I suspect that would be the case with many of those who use Stef’s wonderful plugin. Because of this and also because .zip is a more universal compression format and further because I am not going to start supplying several file types on the site, I use .zip on Textgarden.

Now I’m not complaining about Stef’s plugin, it is excellent, especially for theme designers, but I’m wondering if this is a case of a step too far. Maybe this import facility would best be removed. I’m not sure it benefits too many of us and it’s removal might stop arguments about what sort of compression should be used for download files which, after all, is what they are meant to be.

Maybe we should concentrate our efforts more on trying to import front-of-site themes instead. It would be a more useful objective.

That should put the cat amongst the pigeons. ;)

Last edited by thebombsite (2010-02-06 21:30:57)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#25 2010-02-07 13:27:45

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 8,785
Website

Re: New 4.2.0+ 'Prometheus' Admin theme

thebombsite wrote:

Maybe this import facility would best be removed.

OT: Fine by me if it’s causing problems. Though I would prefer to actually solve the issue and offer one universal compression type that works across all environments. As far as I can tell, this would be .tar as it’s the only one that doesn’t rely on your host having compiled PHP with a particular library. The only thing with .tar is it’s not particularly compressed, just kind of smooshed together so the files are a tad larger. The good news is that admin themes aren’t that big anyway.

Incidentally, even .zip files can’t necessarily be created on everyone’s environments because a library is required for that operation. Since I figured there had to be a way of outputting one single file so the theme as an entity can be exported, I included — at great expense in terms of plugin size — someone’s third party implementation of a compression system. The import facility was a by-product of including this library as it handled the import of most compression types… just not .zip because it’s a colossal amount of code and the author felt it wasn’t worth adding it since zip decoding was available inside PHP if it’s been installed by your host. Bummer.

If there was a library I could distribute in the smd_admin_themes plugin that would allow me to use bi-directional zip — or some other single compression system — without worrying about what’s installed in your host’s PHP I’d do that instead. Anyone who has any ideas, please please let me know on my plugin’s thread or via e-mail.

It doesn’t work for me whichever file type I use

Hmmm, are you saying that .tar files don’t work on your environment either? If that’s the case I’m stumped since, besides .zip which isn’t universally enabled, there’s no other compression format I can think of that makes one file out of many and is thus suitable for distribution — creating and trying to distribute a bunch of files isn’t going to help anyone, even if they FTP them up. I don’t think gzip or bzip on their own will do it (I may be wrong) as I think they just compress each file separately, which I believe is why both formats tend to go through the TAR step first. Again, if someone knows something I don’t about how to do this, I’m all eyes.

Sorry for hijacking this thread. Discussion on this sub-topic should probably be moved to smd_admin_themes

Last edited by Bloke (2010-02-07 13:29:44)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB