• [MOD] Download limit v1.0.1 4 0 5 1
Currently:  

Author Topic: [MOD] Download limit v1.0.1  (Read 194899 times)

0 Members and 1 Guest are viewing this topic.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Download limit v1.0
« Reply #180 on: January 13, 2009, 04:07:20 PM »
Step 2.3 done?




P.S.
If you want, zip your modified download.php and attach with your reply
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Blesi

  • Full Member
  • ***
  • Posts: 104
    • View Profile
Re: [MOD] Download limit v1.0
« Reply #181 on: January 14, 2009, 11:31:27 AM »
I checked STEP 2.3. Everything is correct. I used WinRAR, i hope its okay. I dont have WinZip. If you dont have WinRar, i can download WinZip.
I checked ALL Steps, and every Step is correct. But the prolblem is still here.
If you want i cant send you a login per PM then you can see it.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Download limit v1.0
« Reply #182 on: January 14, 2009, 04:18:47 PM »
Strange, your download.php looks fine. At the moment I don't have anywhere to test it, but for now, please lower on your site the limit time to 5 minutes or so.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Blesi

  • Full Member
  • ***
  • Posts: 104
    • View Profile
Re: [MOD] Download limit v1.0
« Reply #183 on: January 15, 2009, 08:18:03 AM »
I set the Time Limit to "1" hour. If you want i can give you a login. Then you can test it. In the Details Page are usual the Download-Buttons. The normale und the ZIP Button. The Zip Button i deleted from the Details Page becaus he was out of order too. I that the problem? The normal was ok, but the zip not ok. At the Lightbox is a zip button.

thanks
« Last Edit: January 15, 2009, 08:29:58 AM by Blesi »

Offline Blesi

  • Full Member
  • ***
  • Posts: 104
    • View Profile
Re: [MOD] Download limit v1.0
« Reply #184 on: January 20, 2009, 08:17:20 PM »
V@no, you have a new idea? Can i help you, that you can test more? If you cant help me, i have to delete the ZIP-Downloadbutton at the lightbox.

Thanks Blesi

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Download limit v1.0
« Reply #185 on: January 21, 2009, 01:24:10 AM »
I'll need FTP access and an admin account for your gallery if you want any further help on this issue. PM me if you up to it.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Download limit v1.0.1
« Reply #186 on: January 22, 2009, 01:26:46 AM »
I guess some code was missing in my instructions...I added Step 2.8
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Blesi

  • Full Member
  • ***
  • Posts: 104
    • View Profile
Re: [MOD] Download limit v1.0.1
« Reply #187 on: January 22, 2009, 09:22:07 AM »
THANK YOU FOR YOUR HELP!!!!
I saw just at the moment that you did something. But there are still two problems.
The first is, when i download three pictures in the lightbox, it counts six pictures. It counts always the double of the pictures.
The second problem is, when i set the download count in the users menu to zero, it doesnt set it to zero. It adds to the old count.

Offline Blesi

  • Full Member
  • ***
  • Posts: 104
    • View Profile
Re: [MOD] Download limit v1.0.1
« Reply #188 on: January 22, 2009, 07:42:04 PM »
When i set all settings to zero its okay.
But the problem is still the counter who counts wrong.


Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Download limit v1.0.1
« Reply #189 on: January 23, 2009, 03:26:49 AM »
The new step 2.8 is ok, it's in your download.php for some reason the last change I made wasn't saved...it should work now.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Blesi

  • Full Member
  • ***
  • Posts: 104
    • View Profile
Re: [MOD] Download limit v1.0.1
« Reply #190 on: January 23, 2009, 12:10:22 PM »
I checked it and it works perfect.

!!!!!!!!!!!!!Thank you very much!!!!!!!!!!!!!

 :P  :thumbup: :thumbup:

Offline Jan-Lukas

  • Addicted member
  • ******
  • Posts: 1.289
    • View Profile
    • Discover the New World of Kindersurprise
Re: [MOD] Download limit v1.0.1
« Reply #191 on: June 07, 2012, 06:17:49 PM »
Kann man diesen Mod evtl. noch erweitern ?

Möchte nur diese User begrenzen, die den ganzen Tag in unserem Katalog hocken, und sich fleißig Bilder saugen.
User die also auch fleißig Bilder hochladen, dürfen downloaden, die anderen (faulen) halt nur eine von mir begrenzte Anzahl am Tag,Woche etc.
danach wird der Download deaktiviert (evtl. ein Popup das erst nach ???? wieder freigeschaltet wird)

Oder kann das dieser Mod schon, ihr wisst, mein englisch  :oops: (bitte, sagt jetzt nicht diesen Translator hier oben im Kopf, dann lieber Englisch  :wink:)

LG
Danke Harald




Offline kiki

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: [MOD] Download limit v1.0.1
« Reply #192 on: May 21, 2013, 10:28:32 PM »
Hello  :D

Can you tell me if this mod works with the 1.7.11 release?
Or if there is another way / MOD Block number of downloads per day (24 hours)

thank you very much