Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [deprecated] rah_plugin_download
Gocom wrote:
Added download counter and a statistics viewer.
Oh you are Da Man :-)
Wicked stuff Gocom, thanks.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
Re: [deprecated] rah_plugin_download
Any way to display the download count in an article context? Something like <txp:rah_plugin_download_count name="xxx_myplugin" /> outputing 55?
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
Offline
Re: [deprecated] rah_plugin_download
New rah_plugin_download version 0.7 released. Changelog:
- Added ability to output download count with tags. See
<txp:rah_plugin_download />and type attribute’s count option. - Added attribute
versionfor the download count. - Now
rah_plugin_download_textile()defaults to unset.
Last edited by Gocom (2009-07-02 20:22:24)
Offline
Re: [deprecated] rah_plugin_download
Just realized rah_plugin_download was not picking up the flags column added in Txp 4.2.0. Hacked my own installation to add this; perhaps this could be included in the official version?
(I just copied and modified the load_order line from rah_plugin_download(), to get this:
@$plugin['flags'] = fetch('flags','txp_plugin','name',$name);
seems to work)
Code is topiary
Offline
Offline
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.phpand 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.
Hire 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