CodeCanyon

Simple Download Counter

  • Has been a member for 3-4 years
  • Bought between 1 and 9 items
bennieblanco says

I got this file purchased , ( did not have enough credit friend got it for me) , you have few bugs in there

line

33 else if (in_array($_GET[‘file’],$settings[allowedownloads]))

should be

else if (in_array($_GET[‘file’],$settings[‘allowedownloads’]))

and also geting message bug Undefined variable: message line 87 removed the . from

$message .

and works but need to know if this is ok fix

now please note i dont want to turn notices off , need the script to work properly , thnx

1 year ago
Author
Bricktop Bricktop replied

Hi there, thanks for the message.

I’ve had no reports of any faults with the code, it’s also been thoroughly checked by Themeforest staff before being published.

The two snippets of code you’ve pasted I can see no difference in.

Are you running your PHP in strict mode, i.e. error reporting turned to strict with all warnings and information turned on?

1 year ago
  • Has been a member for 3-4 years
  • Bought between 1 and 9 items
bennieblanco says

ALso small improvemant , in your download folder add .htaccess with

order deny, allow deny from all

1 year ago
  • Has been a member for 3-4 years
  • Bought between 100 and 499 items
webosb says
Purchased

Bricktop, do you think you can add support for remote server downloads? I think that would be a nice addition if some people have CDNs.

1 year ago
Author
Bricktop Bricktop replied

Hi webosb,

Thanks for the purchase. I must admit you’re the first person to request such a feature but it’s something I will look into.

Watch this space!

1 year ago
  • Has been a member for 2-3 years
  • Bought between 100 and 499 items
  • United States
Gutspiller says

I’m wondering if this script will work for me. You say make a list of files that are downloadable.

I lack programming skills, what if my site has user generated content and new downloadable files are always being created?

Is it still possible to use this script if new files are constantly being added to a folder to be downloaded, without me having the manually update a “list” of the files that are downloadable?

1 year ago
Author
Bricktop Bricktop replied

Hi there,

Thanks for the question.

With a small modification this would be possible, the script could generate a list of all the files in a directory and then use that list to control the downloads.

If you decide to purchase send me an email via my profile and I can make the modification for you.

Thanks

1 year ago
  • Has been a member for 2-3 years
  • Bought between 100 and 499 items
  • United States
Gutspiller says

Would there be any slowdown if we are talking about a directory that grows to 10,000 or 100,000 files? More files?

1 year ago
Author
Bricktop Bricktop replied

Hi there,

Very possibly. The script would need to traverse the entire directory everytime a file download was requested. With this amount of files it may take some time to traverse the directory and build a list of allowed downloads.

It’s possible to cache the results to speed up this process but this is beyond the scope of a simple tweak or modification and would require extensive work to complete.

Thanks

1 year ago
  • Has been a member for 1-2 years
  • Bought between 1 and 9 items
  • Germany
balwan says
Purchased

This is a super script, easy to use and works wonderfully. :bigsmile:

1 year ago
Author
Bricktop Bricktop replied

Thank you very much for your purchase and for the kind words!

Glad you like it ;)

1 year ago
  • Has been a member for 3-4 years
  • Exclusive Author
  • Bought between 10 and 49 items
  • United States
TylorSkory says
Purchased

I’m having issues with this script. When a computer goes to the download link for the first time it just spits out a bunch of gibberish. Once it’s reloaded again then it works fine, but new visitors (who’ve never been to the site) experience this without fail.

1 year ago
Author
Bricktop Bricktop replied

Hi, thanks for the purchase and for the message.

I’ve had no reports of anything like this from any of my other customers. Please contact me directly via my profile and I will try to assist further.

Thanks.

1 year ago
  • Has been a member for 3-4 years
  • Bought between 1 and 9 items
selcuk says

I need a click counter on my wordpress blog, but have no coding experience what so ever.

Do you offer “newbie” documentation with this file about how to set it up?

Thanks.

11 months ago
Author
Bricktop Bricktop replied

Hi selcuk,

Thanks for the question.

Just so you’re sure this script is a download counter, not a click counter. Is this what you’re after?

11 months ago
Default-user selcuk replied

Hello again,

Thanks for your quick reply Bricktop.

What I need is a download counter. I have a rar file (my latest album) and I need to know how many times this rar file has been downloaded.

11 months ago
Author
Bricktop Bricktop replied

While this script is perfect for your needs I’ve not had any experience coding up Wordpress extensions and have never used Wordpress before.

If it’s simply a case of uploading the files and telling Wordpress where to look to load the page then this will work perfectly.

If there was a ‘create a page’ option built into the Wordpress admin you should be able to copy and paste the code from the files included in this script and get it working that way.

Sorry I can’t be of more help, all I can say is the script is perfect for your requirements but unsure as to how you would integrate into Wordpress!

11 months ago
  • Has been a member for 1-2 years
  • Bought between 1 and 9 items
  • Mexico
notuo says

Hi. I wonder if this fits me needs. I have tree folder structure

FOLDER folder1 folder2 ... folder n

In each of them there are files potentially downloadable

Do I have to manually do something or just configuring the FOLDER as the start point you script takes care of the rest?

I now have around 5000 files and growing about 10 per week. How to manage this. Do I have to add it manually?

Thanks for your comments

8 months ago
Author
Bricktop Bricktop replied

Hi, thanks for the question. This script is more suited to a smaller number of downloads – as it’s not MySQL based adding new files is a manual process.

Thanks.

8 months ago
  • Has been a member for 1-2 years
  • Bought between 10 and 49 items
  • United States
inmo says

I went to purchase your code but when I clicked buy it was charging 5.00 not 3.00. Just thought you’d like to know L

7 months ago
Author
Bricktop Bricktop replied

Thanks for the message. You’re being charged extra because if you’re not using pre-paid credits $2 gets added on top of all prices across all Envato marketplaces.

If you apply pre-paid credit to your account you will get charged the $3.

Underneath the advertised price look for the text which reads “Add $2 if you are not using prepaid credits” just to confirm.

Thanks

7 months ago
  • Has been a member for 1-2 years
  • Bought between 10 and 49 items
nverluz says

Just wondering, can you create a drop down selection to download?

6 months ago
Author
Bricktop Bricktop replied

Hi, thanks for the question, yes creating a drop-down list shouldn’t be too difficult – just a few additional lines of code.

What do you mean by multiply download?

6 months ago
  • Has been a member for 1-2 years
  • Bought between 10 and 49 items
nverluz says

Also, can you create multiply downlad?

-Thanks

6 months ago
  • Has been a member for 1-2 years
  • Bought between 10 and 49 items
bulletdesigna says
Purchased

Im having problems, please help!!

2 months ago
Author
Bricktop Bricktop replied

Thanks for the email which I have just replied to.

2 months ago
by
by
by
by
by