Author Topic: Simple Download Monitor problems  (Read 59929 times)

pepak

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 945
    • View Profile
    • Pepak.net
Simple Download Monitor problems
« Reply #15 on: November 09, 2009, 04:14:31 PM »
The cause is quite simple: The plugin was intended for downloading, so it sends HTTP headers useful for downloading (which incidentally prevent display in pages). Support of "hotlink monitoring" like you suggest is possible and even feasible. I'll look into it in near future (I hope).

Ricardo

  • Guest
Simple Download Monitor problems
« Reply #16 on: November 10, 2009, 12:43:57 AM »
Thanks for the report...it would be a great addition to the plugin if it could do that...do you know any other plugin that can do that? i've been searching for a few months for one but didnt find one

Rizaldy

  • Guest
Simple Download Monitor problems
« Reply #17 on: November 10, 2009, 06:10:03 AM »
hai pepak, this great plugin plugin is just what i need, but i can't make it work.

ok here is my situation, i had a folder named download located in root, an inside it has 2 sub-folder

after i install plugin and go to wp-admin -> setting -> Simple Download Monitor
- in Allowed directories i put ==>  download/
- in Allowed extensions i put ==> zip|rar|7z|avi|mkv
- in Store detailed logs? ==> i check Use detailed statistics.

and then i put
RewriteRule ^(download/.*) /index.php?sdmon=$1 [L]
directly above RewriteCond %{REQUEST_FILENAME} !-f
as instructed

but when i go to wp-admin ->  tools -> Simple Download Monitor
there's no file at all......
there is text :


All downloads

Show nonexistent downloads

     Filename      Download count    Last date


but my files aren't showing.

am i missing something ? i'm at lost now
i hope you can point me to right direction

thanks
A-r

pepak

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 945
    • View Profile
    • Pepak.net
Simple Download Monitor problems
« Reply #18 on: November 10, 2009, 06:36:57 AM »
Quote from: Rizaldy
but my files aren't showing.

am i missing something ? i'm at lost now
i hope you can point me to right direction
The files don't show until someone downloads them. So the first step should be, try to download some of your files and see if they appear in the list.

Try to download one of your files through a special link: instead of http://www.youwebsite.com/download/file.zip, try to use http://www.yourwebsite.com/index.php?sdmon=download/file.zip If it downloads, then the plugin is configured correctly and either your .htaccess file is incorrect or your webhoster doesn't support it (or mod_rewrite). Try the steps I suggested to Forge earlier in this thread.

Rizaldy

  • Guest
Simple Download Monitor problems
« Reply #19 on: November 10, 2009, 07:50:03 AM »
Thanks for fast reply pepak :D

i tried the
http://www.yourwebsite.com/index.php?sdmon=download/file.zip

and it work!!

at first i thought that all my download folder and file in it will be listed in tools -> Simple Download Manager.
but, it's just listed the file being downloaded, now i understand :D

thank again pepak, and thanks for this great plugin :D

surfer96

  • Guest
Simple Download Monitor problems
« Reply #20 on: November 13, 2009, 08:39:27 PM »
Works perfectly, nicely done! One question: how to reset to stats to zero?

pepak

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 945
    • View Profile
    • Pepak.net
Simple Download Monitor problems
« Reply #21 on: November 13, 2009, 08:52:49 PM »
There is no function for that, but you can simply delete all content from the two SDMON tables in PhpMyAdmin (or whatever you use for MySQL management).

Ricardo

  • Guest
Simple Download Monitor problems
« Reply #22 on: November 22, 2009, 07:41:38 PM »
Quote from: pepak
Support of "hotlink monitoring" like you suggest is possible and even feasible. I'll look into it in near future (I hope).

any prediction on this feature?

pepak

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 945
    • View Profile
    • Pepak.net
Simple Download Monitor problems
« Reply #23 on: November 22, 2009, 07:49:51 PM »
I didn't have the time this weekend, but I'll look at it this week.

pepak

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 945
    • View Profile
    • Pepak.net
Simple Download Monitor problems
« Reply #24 on: November 24, 2009, 04:32:39 PM »
It works! Now I just need to remember how one uploads plugins to the WordPress repository.

pepak

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 945
    • View Profile
    • Pepak.net
Simple Download Monitor problems
« Reply #25 on: November 24, 2009, 06:32:20 PM »
And it is online! Crowds rejoice and Pepak is showered with glory. Or something like that. ;-)

pepak

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 945
    • View Profile
    • Pepak.net
Simple Download Monitor problems
« Reply #26 on: November 29, 2009, 06:21:23 PM »
Version 0.08 supports deletion of selected statistics.

MrBoss

  • Guest
Simple Download Monitor problems
« Reply #27 on: December 02, 2009, 12:01:08 AM »
I created 'facul' and within this directory has no other directories and subdirectories and files scattered as I create it. Htaccess file for the plugin to work properly?
I put the htaccess in the 'facul' with the following lines:
Options + Indexes

RewriteEngine On
RewriteRule ^ (optional /facul/.*) / index.php? Sdmon = $ 1 [L]
RewriteCond% (REQUEST_FILENAME)!-F
RewriteCond% (REQUEST_FILENAME)!-D

pepak

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 945
    • View Profile
    • Pepak.net
Simple Download Monitor problems
« Reply #28 on: December 02, 2009, 06:31:03 AM »
I am not quite sure what you are trying to say. But looking at your .htacess file, I can see that there are several major errors:

- You have a number of extra spaces where there should be none
- the "optional" string shouldn't be there at all, unless all your files are stored in /optional/facul/...
- "Sdmon" should have a lower-case "s".

Why didn't you copy the relevant line from the readme file exactly as it was written there? Then you would simply replace files with facul and be done with it.

MrBoss

  • Guest
Simple Download Monitor problems
« Reply #29 on: December 02, 2009, 10:59:45 AM »
I has directory "facul" inside this folder has other many folders and files. I want create one .htaccess in "facul" and this working for all files and directory inside in "facul"


In .htaccess has this lines:

RewriteRule ^(facul/.*) /index.php?sdmon=$1 [L]
RewriteCond% (REQUEST_FILENAME)!-F

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Note: this post will not display until it's been approved by a moderator.
Name: Email:
Verification:
This box must be left blank:

Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture: