Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-01-09 21:19:20

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

How to compress a plugin?

Textbook says
Sometimes large plugins can cause problems and you get a Badly formed or empty plugin code error. This can usually be solved by obtaining a compressed plugin.

If you can’t obtain a compressed version of the plugin, how you can make one yourself?

Offline

#2 2010-01-09 21:24:43

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,942
Website GitHub

Re: How to compress a plugin?

nardo wrote:

If you can’t obtain a compressed version of the plugin, how you can make one yourself?

Simplest way is with ied_plugin_composer. If not, using the latest zem_template and some command line skulduggery will do the trick.

Of course, both methods assume you have either a copy of the source code or an uncompressed version of the plugin in your database somewhere :-( If you don’t have a raw copy of the intended plugin, someone else may have one and they could compress it for you and make it available.


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

#3 2010-01-09 23:14:52

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

Re: How to compress a plugin?

I have ied_plugin_composer installed. Quite happy to do a compression if needed.


Stuart

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

Offline

#4 2010-01-10 23:51:40

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: How to compress a plugin?

plugin is jbx_multiple_image_upload v0.3c
http://forum.textpattern.com/viewtopic.php?id=30455

I’ve emailed the author – thanks Stef, Stuart

Offline

#5 2010-01-11 15:33:08

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

Re: How to compress a plugin?

Well if there’s a problem let me know.


Stuart

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

Offline

Board footer

Powered by FluxBB