The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Anti-Leech Attachments - prevent hotlinking and bandwidth theft! Details »» | |||||||||||||||||||||||||||||
Anti-Leech Attachments - prevent hotlinking and bandwidth theft!
Developer Last Online: Dec 2014
Title : Anti-Leech Attachments
Version : 1.1 Coder : Jason Williams Purpose : Prevent your forum attachments from being directly linked to - prevent bandwidth abuse. Why : Bandwidth can be expensive, plus I was frustrated with one of my members linking to three video clips on my forum from his own site, effectively abusing the bandwidth I pay for, so I set about a system that stops hotlinking, but at the same time, as a courtesy, providing a dynamic link to the post containing the attachment. How : This could be replicated very easily using .htaccess but the one thing that it can't do is give you the link to the attachment itself. This mod displays a message informing the user that hotlinking is not allowed, then giving them the link to the post to view the attachment directly. Known Issues : The security can be defeated by using the drop down style menu on the Anti Leech page - this has only been confirmed as an issue on Firefox. I have unsucessfully tried to find a way of removing the drop down on that page only. Confirmed working with vBSEO 3.2.0. Important : This has been tested on 3.6.2 and 3.8, I can presume it will be compatible with 3.7.x because it works on 3.8 - as always BACKUP FIRST! Demo : http://www.steadiforum.com/attachmen...9&d=1180779148 Installation : 1. Import Product - product-antileech.xml 2. Save bandwidth! File uploads : 0 Files to Import : 1 New Templates : 1 New Phrases : 2 Uses Hooks : 1 Uses Queries : 1 History : v1.0 - Original release v1.1 - Added enable/disable option, tested on VB 3.8 Done - if you like please click install! (and click Nominate for MOTM!) Download Now
Show Your Support
|
Comments |
#22
|
|||
|
|||
3.6.7?
|
#23
|
||||
|
||||
Untested - but I think in all honesty it should work, but feedback appreciated so I can update the most up to date version.
Cheers Jason |
#24
|
|||
|
|||
Can I also request a couple extra features ^^
1. captcha - To ensure a use does not make a bot to download the image over and over to waste my bandwidth on the site, this will make each user who goes to download the image, to verify they are human first (kinda similar to rapidshare ^^ ) 2. A count down time, which can be set from the admincp per usergroup, eg. this usergroup can be 10 seconds, this usergroup can be 60 seconds, this usergroup can be no count down timer etc. (kind of similar to rapidshare ^^ ) These 2 extra features integrated into this modification would defantly get my vote for mod of the month! |
#25
|
||||
|
||||
|
#26
|
||||
|
||||
Great idea! This should be a default vBulletin feature! Thanks a bunch!
|
#27
|
||||
|
||||
Quote:
Jason |
#28
|
|||
|
|||
I just gave this a try, but it would not work with my forum. 3.6.7 (VBSEO). I am guessing it was because my urls are rewritten? Not sure. It sure looks like a nice modification. Thanks for developing it Jason. If you think there is a way to make it work with re-written URLs, I will be installing it!
Regards, Kether |
#29
|
||||
|
||||
Quote:
Jason |
#30
|
|||
|
|||
Quote:
The attachment did not show with the modification enabled. Nothing showed. I already removed the modification from my board and was hoping that you would have a solution so that I could re-install when it was working correctly. Sorry to not have it installed any longer. Thanks, K |
#31
|
||||
|
||||
Hmmmm strange, I may install it to see what happens, it does sound like a rewrite issue though, but I'm just not too sure as it may be different for attachments as it is for threads and posts.
I've added this as a Known Issue for the moment while I look into it. Jason |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|