Forums

[Plugin: Download AutoStats] A Question about "Download Autostats" (10 posts)

  1. bluebird2
    Member
    Posted 2 years ago #

    I sat up the plugin and placed the link in my page. I can open the PDF link, but "Download Autostats" does not show the statistics. The file name appears there but it is set to 0, despite the fact that I download the file.
    Why is that?
    To see the sample post click here.

    http://wordpress.org/extend/plugins/download-autostats/

  2. Txanny
    Member
    Posted 2 years ago #

    If you download the file when logged in as administrator (or any other user with 'upload_files' capability, the downloads are not count. Also, the disk folder which holds the files and the 'logical' name to download them, cannot be the same. (I think your case is this as the link points directly to the disk file).

    I will start rewriting this plugin in next weeks. It was one of the firsts thinks I wrote for WordPress and its maintenance has been abandoned for a while. Looking at it now, I don't like how it does and manages all things. This plugin is needed for better settings, some checks, and a easiest way to manage the whole thing.

    Hope I will be able to rewrite it, and provide a 2.0 version as soon as I want to.

  3. bluebird2
    Member
    Posted 2 years ago #

    Thanks.
    What do you mean by "the link points directly to the disk file". Where should it point to?

  4. Txanny
    Member
    Posted 2 years ago #

    There is a setting for this. If you didn't change it, the file is in the URL http://yoursite.com/download/<filename>.

  5. jabrieske
    Member
    Posted 2 years ago #

    Txanny...could you clarify?

    I think I've set the plugin up correctly in that when I view the stats, it shows all of the files in the folder I'm trying to track. However, the download numbers never go above zero.

    I'm assuming my issue is in the "URL for file download:" field. I left the default (download) for a while, and that didn't work. Then I changed it to the same folder name that my media files are in. Still nothing.

    What do you think?

    Thanks!

    Jeremy

  6. Txanny
    Member
    Posted 2 years ago #

    You have to use the links with the URL for file download.

    Imagine your files are on /files
    And you use the default for download URL.

    Then, the links to download are: http://example.com/download/yourfile.ext

    If you're logged in as admin, your downloads are not counted.

  7. jabrieske
    Member
    Posted 2 years ago #

    ahh...that makes sense. I'm assuming there are no issues using these links with PodPress?

  8. Txanny
    Member
    Posted 2 years ago #

    It should not. When I wrote this plugin, it was just for my own use with PodPress ;) But it was long time ago and I did not check again with PodPress.

    By the way, this plugin is being rewritten as it needs to finish some features and the current design does not allow me to do it as I want.

  9. lifeischoice
    Member
    Posted 2 years ago #

    Since you're rewriting, it will be nice if it can have some file protection or allow to create file folder outside of www.

  10. Txanny
    Member
    Posted 2 years ago #

    You're right. I'm trying it. But I'm having some trouble as it works except when used for podcasting. For some reason iTunes and some other software don't get the files. I think is something with a wrong MIME type sent.

Topic Closed

This topic has been closed to new replies.

About this Topic