Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2009-04-23 07:29:36

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,522
Website GitHub

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

#32 2009-07-02 00:03:07

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

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?


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#33 2009-07-02 00:59:49

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: [deprecated] rah_plugin_download

MattD wrote:

Any way to display the download count in an article context? Something like <txp:rah_plugin_download_count name="xxx_myplugin" /> outputing 55?

Maybe :) Adding item to “Future changes to rah_plugin_download”.

Offline

#34 2009-07-02 20:21:33

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

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 version for the download count.
  • Now rah_plugin_download_textile() defaults to unset.

More info and downloads

Last edited by Gocom (2009-07-02 20:22:24)

Offline

#35 2010-01-12 05:33:59

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

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

#36 2010-01-18 21:25:52

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: [deprecated] rah_plugin_download

Thank you Jeff.

Yes I did notice that flags feature was missing some time ago. Upcoming 0.8 will introduce that addition.

Offline

#37 2010-01-18 22:43:55

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

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.

More info and downloads

If you spot any bugs let me know. Cheers. Happy plug action.

Offline

#38 2010-05-31 20:31:58

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

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 include classTextile.php and do preg_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.

More info and downloads

Offline

#39 2010-06-15 16:22:57

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

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.

rah_plugin_download’s page @ Rah

Offline

#40 2011-04-20 15:49:35

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

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.


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#41 2011-04-20 15:56:37

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: [deprecated] rah_plugin_download

MattD wrote:

How reliable are the plugin download counts?

Works similarly to TXP’s build in file download counts; counts every request, no matter what the request is. The count is the total unfiltered hit count.

Offline

#42 2011-04-20 16:00:41

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,522
Website GitHub

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

#43 2011-04-20 16:06:59

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: [deprecated] rah_plugin_download

Thanks Bloke, I’ll add that to mine.


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#44 2012-01-18 07:28:03

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

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

#45 2012-01-18 08:46:04

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

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

Board footer

Powered by FluxBB