Thanks V@no, Its working fine except for two things.
1) When user is off the limit but he still try to download a file, he get redirect back to home page when using IE.
I tried it with Fire Fox and I get blank page after that.
Is it possible that instead of redirect back to home page, a message box appear saying that u must be a register member.
(Or something else)
2) Now the big issue, I installed your Mod
[MOD]-BETA Whole/part category download two days back and it is working just fine.
Now the problem is, when being off limit, I try to download a page it gives database error.
DB Error: Bad SQL Query: SELECT cat_id, image_media_file, image_download_url FROM 4images_images WHERE image_active = 1 AND image_id IN () AND cat_id IN (0, 22, 13)
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND cat_id IN (0, 22, 13)' at line 3
I tested it with download limit of three. First it download a zip file with three files which is good. But with second attempt it gives this error.
I have gone throw all the steps of these two mods but still the same situation. That means these two mods have some trouble with each other.
//Edited (Posted In Next Post)