Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#46 2012-01-18 08:56:55

MarcoK
Plugin Author
From: Como
Registered: 2006-10-17
Posts: 248
Website

Re: [deprecated] rah_plugin_download

I will look. Very thanks.

Offline

#47 2012-05-18 18:59:58

developr
Plugin Author
From: Basel
Registered: 2011-09-24
Posts: 65
Website

Re: [deprecated] rah_plugin_download

I had the same issue with textpacks. Because I was in need of an immediate solution, I searched my head using google ;)

To circumvent this problem, I added a field (plugin64, type text) to the plugins table and made a few changes to txp_plugin.php. This new field is used to store the original uploaded plugin-code (incl. comments) in the table when a plugin is installed.
At the same time, plugins are also written to a subfolder of textpattern. This makes it possible to have different versions on the server. I have also changed the download-plugin, so it can deliver the originally uploaded version from the database without the need for a re-compilation. Older versions are taken from the mentioned folder instead of the database.

I use this solution at the moment to distribute my new uploader plugin, and it seems to work.

Gocom, I can send you all the stuff if you like.

Offline

Board footer

Powered by FluxBB