Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [deprecated] rah_plugin_download
Version 0.8 released. Changelog:
- Fixed: if all plugins were allowed for download, visitor could pull out empty plugin file.
- Changed: compained plugin data queries into one, while preserved backwards compatibility features introduced in 0.4.
- Added support for optional flags.
- Removed initial install call from frontend download call; Define preferences in Extensions panel before using the downloads.
- Removed if installed check from frontend download call; Make sure that you have set rah_plugin_download prefs before trying to download stuff. Provides little performance increase.
If you spot any bugs let me know. Cheers. Happy plug action.
Offline
Re: [deprecated] rah_plugin_download
New update released. Version 0.9 changelog:
- Warning, please note: This update introduces new preferences system and thus all updaters will lose their old settings. You won’t lose statictics, but you will need to resave your settings. Sorry for inconvenience.
- Added container support to
<txp:rah_plugin_download />
. If used as a container, returns the contained statement linked. - Changed download validity check.
- Now list of plugin prefixes is trimmed from whitespace during save.
- Now
rah_plugin_download_textile()
won’t includeclassTextile.php
and dopreg_match()
for nothing. - Now on the plugin list the plugin name links to the statictics. Tiny zero is bit hard to click.
- Now the plugin list shows the total download count at end of the list.
- Fixed: values in the plugin list are now properly escaped.
Offline
Re: [deprecated] rah_plugin_download
Version 1.0 is out. The new friend of ours allows downloading older plugin versions directly from rah_plugin_dev’s version manager. There is setting in the preferences panel to set this feature on. Enabling the feature requires rah_plugin_dev version 0.5 or newer.
Offline
Re: [deprecated] rah_plugin_download
How reliable are the plugin download counts?
I released a plugin on April 10th and rah_downloads shows a wopping 297 downloads as of now.I also have a piwik (analytics) goal for the download url and piwik only shows 31 downloads since April 10th.
I’d love to believe the 297 number but no one has had any comments or questions in the forum about the plugin making me doubt.
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
Offline
Re: [deprecated] rah_plugin_download
MattD wrote:
How reliable are the plugin download counts?
I had the same thing: huge number of downloads at first thanks to bot activity. This robots.txt file seems to have curbed the numbers somewhat:
User-agent: *
Disallow: /?rah_plugin_download
Disallow: /*?rah_plugin_download
(don’t ask me why I put two entries in: I can’t remember now, but I had a reason at the time!)
Last edited by Bloke (2011-04-20 16:01:29)
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
Re: [deprecated] rah_plugin_download
Thanks Bloke, I’ll add that to mine.
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
Re: [deprecated] rah_plugin_download
A little question: i use your plugin for allow downloading my plugin but for example in mck_login i use textpack. If i download plugin by your plugin’s link it not include textpack.
It’s a bug or i wrong something?
Offline
Re: [deprecated] rah_plugin_download
MarcoK wrote:
It’s a bug or i wrong something?
Unfortunately rah_plugin_download doesn’t support textpacks (those that are embedded to the plugin template). In fact Textpattern doesn’t store textpacks anywhere, so the plugin has nowhere to get them. As you know, the plugin gets all it’s data from txp_plugins table.
If you need embedded Textpacks, I would suggest looking into the official plugin template, or to Mass Plugin Compiler and Extended plugin cache.
Offline
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