Wordpress Extend Download Stat Plugin – Retrieve Statistics of Themes and Plugins Hosted @ Extend

Post image of Wordpress Extend Download Stat Plugin – Retrieve Statistics of Themes and Plugins Hosted @ Extend
Posted in Wordpress Plugins on 28 August 2009 16 comments

About

Sometimes you need to display the number of downloads of your plugin or theme hosted by wordpress, Wordpress Extend Download Stat can retrieve it for you. The retrieved data will be stored in your local server and you decide when it should re-synchronize the data.

Features

  • Retrieve download statistics, download URL and more by just one click
  • It stores the statistics data in your local server
  • Auto synchronize the outdated data in the background using Ajax
  • Manage the plugin’s behaviour and saved data at Plugin Option page
  • You can create custom format at plugin option page and use it for output
  • To make it easier, you can use media button to add download stat to post (see screenshot : Media Button)
  • Template tag function is available if you want to display stats in your template
  • Quickly load all stats of your plugins/themes using your wordpress extend username at plugin option page > Add New Data

What can Wordpress Extend Download Stat retrieve?

  • Name of item
  • Latest version number
  • URL to download the latest version
  • Type of item (plugin or theme)
  • Date of last update of the theme/plugin files
  • Number of downloads today
  • Number of downloads on yesterday
  • Number of downloads since last week
  • Total number of downloads
Example of what you can do

Retrieve the total number of downloads and download link for Wordpress Theme Demo Bar Plugin

Wordpress Theme Demo Bar 1.5.7 - 3,655 downloads

Retrieve the number of downloads today for All-in-One SEO Pack Plugin and display it inline

Wow. All-in-One SEO Pack got 1,527 downloads today.

Using Shortcode

  • To output download stat in blog post, use shortcode Shortcode for wordpress extend download stat plugin in your post content / excerpt.
  • To make it easier, you can use the media button (see screenshot for more info) and follow the steps given.

To understand more about the shortcode Shortcode for wordpress extend download stat plugin and examples:

1. Get Single Info only

Use attribute ‘get’ to return only a single infomation

Valid values of attribute ‘get’ :
All tags available are the valid values of attribute ‘get’. However, you can only use one tag at once. (without curly bracket of course)

Example:

  • Get total number of downloads
  • Get number of downloads since last week
  • Get URL to download the latest version

You can use media button to make the whole process a lot easier.

2. Formatted Output – return output based on format id

use attribute ‘format’

you can create and save a new format at plugin option page

Default format is : <a href=”{url}”>{name}</a> has been downloaded {total} times in total

Example:

  • Display using default format (you don’t have to specify the format id)
  • Display using format id 1

You can use media button to make the whole process a lot easier.

3. Auto wrap output content with HTML paragraph <p> tag

use attribute ‘autop’

by default autop is set to true, which means it automatically wrap the output content with <p> tags

To display the content inline, use autop=”false”

Example:

Using Template Tag Functions

Using Template Tag Functions in Wordpress Extend Download Stat Plugin

Screenshots

Plugin Options Page

Add download stat to post easily using media buttons

Installation

  • Download the plugin package
  • Extract and upload the “wordpress-extend-download-stat” folder to your-wordpress-directory/wp-content/plugins/
  • Activate the plugin and its ready

Frequently Asked Questions

I can’t add new data
You need to use the URL to the statistics page, not to the main page. First of all, check whether the URL you type is the URL to the statistics page (it ends with /stats/). For example, URL to my wordpress theme demo bar plugin is http://wordpress.org/extend/plugins/wordpress-theme-demo-bar/ and I should use http://wordpress.org/extend/plugins/wordpress-theme-demo-bar/stats/.

How to display content inline?
Add autop=”false” to the shortcode.

Download the Latest Version

Wordpress Extend Download Stat 1.2.7 - 1,185 downloads

Change Log

Version 1.2
- Added number format option
- Added resync all data feature
- Added “Overview” in plugin option page
- Improved some regular expression pattern
- Allows user to disable auto refresh after submit form in plugin option page
- Added feature : Add All Plugins/Themes created by (Wordpress Extend) Username

Version 1.1
- Added template tags function wpeds_output()
- Added error message for invalid shortcode
- Fixed a small mistake in auto resync-ing the data
- Added more definitions for outdated data (for you to run auto sync more frequently)

Version 1.0
- First version of Wordpress Extend Download Stat

Like this plugin? Donate via Paypal

I spent a lot of time making themes and plugins. If you like this plugin and would like to support my works, you can donate via PayPal using the button below.


Plugin Support

If you have any problem with the plugin, please reply here.

Thank you.

Posted by zen   @   28 August 2009 16 comments
Tags :


  - 16 Comments


baron says:

Works great, thank you

walklty says:

great plugin, thank u

رسين says:

Great plugin

How can I add the download page .. Example :
http://blue-anvil.com/download/
.-= رسين´s last blog ..سلسلة المفضلة : 9 مواقع للعب بالصور ومشاركتها مع الآخرين =-.

zen says:

@رسين, for now you can only list the items manually.

The feature will be available in later version.

Shabu Anower says:

Is there any way to retrieve download stats by PHP tag? I want to place in template file. Don’t want to use short code.
.-= Shabu Anower´s last blog ..DM Archives =-.

zen says:

@Shabu Anower, Yup, in version 1.1 (soon)

Thank you.

zen says:

@Shabu Anower, you can now auto upgrade to version 1.1

Nico says:

Thanks for the great plugin, I’m using it to show details on my own plugin’s ‘about’ page.

One problem I have with the plugin is your use of str_ireplace(). Since my site is hosted on a server with php version 4, the str_ireplace() function isn’t available and causes errors.

I’m sure many other people don’t have php5 installed on their server and thus can not use your plugin. For me, I just replace the str_ireplace with the str_replace function in the plugin, but I’m sure not everyone trying your plugin knows how to change this. It could be a good idea to change the function in your plugin so a wider audience can use it. Just a thought of a fellow plugin developer ;)

zen says:

@Nico, alright I will fix that now. The reason I use str_ireplace is because someone might use uppercase letters for the tag, which ends up not being replaced.

I will make a note to remind the users to use lowercase letter.

Thanks.

VVOR says:

WoW!
This is a great plugin! Thank you very much!

Nico says:

Thanks for changing the str_ireplace, but it looks like you’ve missed one. I’m getting:

Fatal error: Call to undefined function: str_ireplace() in …plugins/wordpress-extend-download-stat/functions.php on line 33

when adding a new plugin stat

zen says:

@Nico, ahh, missed one in another file. Fixed.

Narga says:

Hi,
I can’t add new data, I got a file url that storaged on Hotfile.com, how to add it to my post?

zen says:

It is not for hotfile.com. It is for themes and plugins hosted at wordpress extend.

eric hamby says:

everytime i try to add content is get this error

” URL file-access is disabled in the server configuration in /XXXXXEDITXXXXXX/htdocs/wpchoice/wp-content/plugins/wordpress-extend-download-stat/functions.php on line 107″

zen says:

It is your server’s problem. Perhaps your host does not allow content scraping (i am not sure). Try contacting your host.

Leave a Reply

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

Please wrap all source codes with [code][/code] tags. Powered by Source Codes in Comments
Previous Post
« The Revival Wordpress Theme – Free Premium Dark Theme
Next Post
Using Template Tag Function in Wordpress Extend Download Stat Plugin »