Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [deprecated] rah_plugin_download
I will look. Very thanks.
Offline
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