View Full Version : Miscellaneous Hacks - Anti-Leech Attachments - prevent hotlinking and bandwidth theft!
steadicamop
06-13-2007, 10:00 PM
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/attachment.php?attachmentid=909&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!)
steadicamop
06-13-2007, 10:43 PM
Reserved for future use
rjmjr69
06-13-2007, 11:17 PM
Sweet I'll test it out
Are there any settings or anything to adjust?
Barakat
06-13-2007, 11:23 PM
i love your hacks man ...
installed
rjmjr69
06-13-2007, 11:28 PM
http://www.isosdcftp.com/forums/attachment.php?attachmentid=3&d=1181780809
I dont know if its working thats a link to an attachment at my site
http://www.isosdcftp.com/forums/showthread.php?p=388#post388
steadicamop
06-13-2007, 11:55 PM
http://www.isosdcftp.com/forums/attachment.php?attachmentid=3&d=1181780809
I dont know if its working thats a link to an attachment at my site
http://www.isosdcftp.com/forums/showthread.php?p=388#post388
This is something I forgot to mention - the attachments on my site are guest viewable - yours require login - so unless they're a member who's already logged in using cookies, it won't make any difference.
The best way to test if it's working is copy the attachment.php link and test it in a new browser window - this is how I tested it on mine.
Barakat
06-14-2007, 12:06 AM
its works good but if you click on the "Click here to visit the post with the attachment"
its not functioned as well with the right link ...
showthread.php?p=%1$s
steadicamop
06-14-2007, 12:17 AM
its works good but if you click on the "Click here to visit the post with the attachment"
its not functioned as well with the right link ...
showthread.php?p=%1$s
Ok, I've reuploaded the product xml - if you download the new version and overwrite the old one, the template should now have the necessary code to parse the url.
Sorry for the hassle,
Jason
Barakat
06-14-2007, 12:25 AM
yes thanks .... works good now .....
rjmjr69
06-14-2007, 12:29 AM
Works like a charm if I do as you say. I opened it in IE and got the message thanks this works great now
dope15gd
06-14-2007, 01:09 AM
this is quite awesome, thanks
mtlcore
06-14-2007, 01:14 AM
Would one be able to view attachments if one is not a member of the site?
puertoblack2003
06-14-2007, 01:34 AM
so if i understand this hack will work all browser??
steadicamop
06-14-2007, 01:36 AM
Would one be able to view attachments if one is not a member of the site?
That is defined by your usergroups, this does not change that, merely check the referring url and if it matches carry on - but firstly it checks user permissions.
steadicamop
06-14-2007, 01:37 AM
so if i understand this hack will work all browser??
I cannot guarantee every single browser will support it - but I'd like to know if one does not work so I can investigate why.
DJ XtAzY
06-14-2007, 02:02 AM
Is it possible to limit Download Accelerators or Managers to download the attachments with just one connection? Most people will use these attachment links and use the download manager and abuse it, causing more bandwidth wastage.
HI,
I am using this mod VB Image hosting and I am not sure if the images can be hotlinked to other sites. Will your mod will work also on this?
https://vborg.vbsupport.ru/showthread.php?p=1048212
VB image Hosting
Mod Information
Add A Comment
Mark as Installed
Nominate for MOTM
Jump To Comments
The Developer
About Developer
Support Developer
Paypal verification - you must have an account. PayPal Verification
Visit Web Site
Version: 1.0.1, by Ranma2k (Coder) Ranma2k is offline
steadicamop
06-14-2007, 02:22 AM
HI,
I am using this mod VB Image hosting and I am not sure if the images can be hotlinked to other sites. Will your mod will work also on this?
https://vborg.vbsupport.ru/showthread.php?p=1048212
VB image Hosting
Mod Information
Add A Comment
Mark as Installed
Nominate for MOTM
Jump To Comments
The Developer
About Developer
Support Developer
Paypal verification - you must have an account. PayPal Verification
Visit Web Site
Version: 1.0.1, by Ranma2k (Coder) Ranma2k is offline
I have that installed myself and it does not work on that - only forum attachments, it may be possible to make a plugin which will be supported, if I get a chance I will see what can be done.
Jason
steadicamop
06-14-2007, 02:23 AM
Is it possible to limit Download Accelerators or Managers to download the attachments with just one connection? Most people will use these attachment links and use the download manager and abuse it, causing more bandwidth wastage.
Not really, that's more server side, plus download accelerators just connect 10+ times, you could limit one connection per IP but this could give problems elsewhere.
HTH
Jason
Mrdby
06-14-2007, 02:43 AM
3.6.7?
steadicamop
06-14-2007, 06:02 AM
3.6.7?
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
Hornstar
06-14-2007, 07:51 AM
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!
Barakat
06-14-2007, 11:56 AM
3.6.7?
works perfect.
projectego
06-14-2007, 02:49 PM
Great idea! This should be a default vBulletin feature! Thanks a bunch! :)
steadicamop
06-14-2007, 07:04 PM
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!
Will see what I can do - will release it as a sub-release if I can do this.....
Jason
kether1
06-15-2007, 01:54 AM
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
steadicamop
06-15-2007, 02:29 PM
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
Can you copy and paste me a link to one of your attachments as it shows with VBSEO please? I will see what happens with the link and url....
Jason
kether1
06-15-2007, 06:23 PM
Can you copy and paste me a link to one of your attachments as it shows with VBSEO please? I will see what happens with the link and url....
Jason
Hi Jason,
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
steadicamop
06-15-2007, 06:44 PM
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
steadicamop
06-15-2007, 06:53 PM
Hi Jason,
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
I don't have VBSEO but I have just installed and tested Zoints SEO and that works fine - it does not rewrite the attachment url, only the thread/post ones - I am very curious to find out what it did to this mod ..... can you give me more of an idea what was happening?
Cheers
Jason
kether1
06-16-2007, 01:45 AM
I don't have VBSEO but I have just installed and tested Zoints SEO and that works fine - it does not rewrite the attachment url, only the thread/post ones - I am very curious to find out what it did to this mod ..... can you give me more of an idea what was happening?
Cheers
Jason
Hi Jason,
I will install it again tomorrow and make sure to detail the total process and effect. Thanks for working on this. I would really like for this to work! I hope it is not me being an idiot and screwing up the install. :eek:
Thanks,
K
Sorry...I don't get it.
In our board attachments will show only to registered users. It's impossible to hotlink as they'll only "come up" to registered users. It's a vBulletin setting for a long time. Am I missed something here ? :confused:
steadicamop
06-16-2007, 06:08 AM
Sorry...I don't get it.
In our board attachments will show only to registered users. It's impossible to hotlink as they'll only "come up" to registered users. It's a vBulletin setting for a long time. Am I missed something here ? :confused:
Not at all - I designed this with my forum in mind and decided to release it, if you set your forum to allow only members to download attachments then you don't need this.
I just felt my forum was best have guest viewable attachments so that's why I made this to prevent my bandwidth being leeched.
steadicamop
06-16-2007, 06:10 AM
Hi Jason,
I will install it again tomorrow and make sure to detail the total process and effect. Thanks for working on this. I would really like for this to work! I hope it is not me being an idiot and screwing up the install. :eek:
Thanks,
K
You certainly can't screw up the install - unless I screwed up the code!
I'm just very curious if it does rewrite the attachment url.
If you PM me your site details I will sign up and can test this out if you would prefer.
Cheers
Jason
badboy_29
06-16-2007, 03:13 PM
Very easy to install and it works very well. I already had 2 people email me saying when they clicked files on there site it sent them to my forums.
Triky
06-18-2007, 12:00 PM
Nice idea. :)
Installed.
Mrdby
09-23-2007, 01:13 PM
this even work with photoplog?
steadicamop
09-28-2007, 06:33 PM
this even work with photoplog?
Good question ... I see you have it installed, as long as it uses the standard attachment system it should be compatible as that's where the hook is.
Taking this off Beta stage as it's been in use long enough with very few issues.
Mrdby
10-01-2007, 11:36 PM
does this work with photoplog?
Sandy-XXX
03-05-2008, 02:13 PM
Im install but i think if not working.
I have 3.6.8 level 2, and the watermark mod (maybe if a conflict with this mod).
steadicamop
03-11-2008, 07:49 PM
Im install but i think if not working.
I have 3.6.8 level 2, and the watermark mod (maybe if a conflict with this mod).
It's a possible conflict, but I don't have that mod installed so I can't confirm or deny this, I will look into it when I get a few mins spare
COBRAws
03-15-2008, 04:19 AM
It would be great if we had the ability to add some URL's in a whitelist :D
steven s
06-28-2008, 03:04 PM
Are there any settings I need to do?
Does this work with 3.7.2?
Snookieboy
08-20-2008, 06:51 PM
This works in 3.7.2 and with vBSEO 3.2.0 :)
For those who want to see an example, Guests can download so here you go:
http://insanenutter.com/leech.html
Click the Leech Link there :)
The only problem I have with this script is it doesn't allow people with no referer field to download. This is a problem because users with rubbish security packages like Norton Internet Security which blocks the referer field, cannot download either. If that was fixed, it would be perfect :)
Paul M
01-10-2009, 11:32 AM
Moved to 3.8 section.
tlwwolfseye
01-12-2009, 11:26 AM
v1.1 - Added enable/disable option, tested on VB 3.8
So that means that option is only working in 3.8 ? Because in my 3.7.5 i don?t find anything after I installed that mod. Where would i have to search for it ?
steadicamop
01-12-2009, 03:29 PM
The option will be in the AdminCP -> VBulletin Options -> Anti-Leech Settings, at the bottom ... it's just enable/disable, no other available options.
alik4277
01-14-2009, 05:29 PM
The option will be in the AdminCP -> VBulletin Options -> Anti-Leech Settings, at the bottom ... it's just enable/disable, no other available options.
In my 3.8 i can nothing find too
steadicamop
01-15-2009, 08:08 AM
I've checked the package and the option code is there, I did test it before I uploaded it by uninstalling it, then reinstalling on my own 3.8 installation and the option did reappear. If this clarifies anything, the option is with all the standard VB options, on the drop down menu, on mine, it's one up from the bottom, but may not be at the bottom. If it still doesn't appear I'll give it a further test on my installation.
samuelss
01-15-2009, 12:17 PM
Thanks for the Mod. The options are not showing on my 3.80 also so there must be something somewhere.
Thanks.
alik4277
01-16-2009, 03:28 PM
If you can not see option to enable Anti-Leech:
Go to AdminCP -> Plugin & Products -> Plugin Manager -> anti-leech Plugin
Replace all plugin code with
$ref = str_replace('http://www.','',$_SERVER['SERVER_NAME']);
if(!strstr($_SERVER['HTTP_REFERER'],$ref)) {
$id = $vbulletin->db->fetch_array($vbulletin->db->query_read("SELECT postid FROM ".TABLE_PREFIX."attachment WHERE attachmentid = ".mysql_escape_string($_REQUEST['attachmentid'])));
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('antileech') . '");');
exit;
}
Save
MẪ$T?Я
01-16-2009, 03:34 PM
it`s nice :up:
will try it
ammm
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
backup for database ?
thanks
Installed and just doing a test run (http://alldownriver.com/forum/attachment.php?attachmentid=5041&d=1231196215). Woo Hoo! This is awesome!! Works like a charm... cept I still don't have the acp enable/disable to show --- I used the code snippet from a couple of posts abovea and that didn't allow this mod to show up in the vbacp either.
samuelss
01-16-2009, 08:13 PM
If you can not see option to enable Anti-Leech:
Go to AdminCP -> Plugin & Products -> Plugin Manager -> anti-leech Plugin
Replace all plugin code with
$ref = str_replace('http://www.','',$_SERVER['SERVER_NAME']);
if(!strstr($_SERVER['HTTP_REFERER'],$ref)) {
$id = $vbulletin->db->fetch_array($vbulletin->db->query_read("SELECT postid FROM ".TABLE_PREFIX."attachment WHERE attachmentid = ".mysql_escape_string($_REQUEST['attachmentid'])));
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('antileech') . '");');
exit;
}
Save
I still cannot see this in my VBulletin Options on 3.8.0 even after i have changed the code as you mentioned above. I also noticed that "if ($vbulletin->options['al_disable'])" is missing from the code you quoted above.
Thanks
alik4277
01-16-2009, 08:36 PM
samuelss,
Replace, Save and test it
samuelss
01-16-2009, 09:10 PM
Thanks. I have replaced and saved with and without "if ($vbulletin->options['al_disable'])". I have also tried install and uninstall and nothing is still showing.
Thanks.
alik4277
01-16-2009, 09:21 PM
You can nothing find.
Replace plugin code with mine code, save and open link to attach-file on new window
Angel-Wings
01-17-2009, 04:53 PM
Hmmm - can't this be done already with htaccess ?
Something like:
<FilesMatch "attachment\.php">
RewriteCond %{HTTP_REFERRER} !^http://(www\.)?example.com(/)?.*$ [NC]
RewriteRule .*\.*$ - [F,NC]
</FilesMatch>
And when using the filesystem as storage:
<LocationMatch "/uploads">
RewriteCond %{HTTP_REFERRER} !^http://(www\.)?example.com(/)?.*$ [NC]
RewriteRule .*\.*$ - [F,NC]
</LocationMatch>
Or is there any difference like some additional check ? Reading the addon, if I understand it right you parse HTTP_REFERRER too via PHP, doing it directly via the Server is maybe less portable, but maybe also faster that PHP doesn't need to be called everytime.
pipin
02-02-2009, 05:00 AM
Thanks. I have replaced and saved with and without "if ($vbulletin->options['al_disable'])". I have also tried install and uninstall and nothing is still showing.
Thanks.
Same here with 3.8.1
Does not work and no Option in the vB Settings.
scottct1
02-03-2009, 03:13 PM
Same here... No option... Please help.
djxcee
02-07-2009, 06:58 AM
Getting the same problem people are getting. I don't see an option in the backend.
steadicamop
02-07-2009, 07:58 AM
Hmmm this is odd, I will download the mod again and re-install it on my forum, the option is definitely there on mine, not too sure what's happening here.....
djxcee
02-08-2009, 09:59 AM
Hmmm this is odd, I will download the mod again and re-install it on my forum, the option is definitely there on mine, not too sure what's happening here.....
This problem is very odd.
Tried reinstalling it and still no go.
Actually this is only working for browsers where the referer is passed back to the site. This won't work for anyone using a proxy or a multiple proxy with altering hostnames. Be aware of this.
icemann
02-17-2009, 08:49 PM
Works good for me. :cool:
Pebbled
03-15-2009, 01:29 PM
Hmmm - can't this be done already with htaccess ?
Something like:
And when using the filesystem as storage:
Or is there any difference like some additional check ? Reading the addon, if I understand it right you parse HTTP_REFERRER too via PHP, doing it directly via the Server is maybe less portable, but maybe also faster that PHP doesn't need to be called everytime.
Angel-Wings, is it possible to display an alternative image for advertising your site instead of a plain red X - In this way it's free advertising for your site by linking to an alternative hotlink image? :cool:
I've had a go with copying some other code for .htacess from another hotlinking post on here but couldn't get it to work because I assume it only works on the filetype stated rather than the attachments. Code I used as below:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://www.examplesite.co.uk/forum/.*$ [NC]
RewriteRule .(jpg|jpeg|gif|png|bmp)$ http://www.examplesite.co.uk/forum/images/hotlink.jpg [R,L]
I'm a total novice at this type of stuff so apologies for any errors!
steadicamop would it be possible to add an alternate image to display in the plugin you have created?
dutchbb
04-21-2009, 02:00 AM
Just imported the product, nothing has changed, attachments can still ne hotlinked? Also no option, like others have mentioned...
*uninstalled.
Pebbled
04-30-2009, 06:33 PM
Same here!!! I've tried importing the product again yet nothing has changed, attachments can still be hotlinked? Also like you say, there is no option in admin CP!
Pebbled
05-02-2009, 08:00 PM
*uninstalled* which is a great shame because it had so much potential :(
steadicamop
05-13-2009, 09:47 PM
Sorry guys, been out of the loop for quite a while now, will take a look at this and see if anything needs updating, I have tested it on my current install and it works fine.
Jason (Steadicamop)
steadicamop
05-13-2009, 09:54 PM
[Update]
Tested on vb 3.8.0 - click to test -- http://www.steadiforum.com/attachment.php?attachmentid=1002&d=1222457106
Could you confirm which version of vb you are attempting to run this on? I will re-investigate the admincp issue, there should be the option there.
Thanks,
Jason
Snookieboy
05-19-2009, 01:43 PM
Works perfectly on my forum - VB 3.8.2 with VBSEO :)
Only problem that still remains is with people with no referer entry (ie they have antivirus programs like Norton which remove the referer tag for no apprant reason). A fix that would also allow people with no referer to download to would be brilliant.
Example attachment: http://digiex.net/attachments/guides-tutorials/1554d1241817070-windows-live-messenger-photo-sharing-remover-version-2009-14-0-8064-206-wlm9-photosendfix.zip
Installed, much appreciated
ShackMaster
08-10-2009, 12:38 AM
Installed on my 3.8.3 board, but does not work and there is no option in vB Options either. I tried replacing the plugin code as an earlier poster suggested, but it still does not work.
pablete
08-10-2009, 11:58 AM
thanks. there is a mod like this but to do this with the images displayed in a forum? is that if someone copies the address of an image to put in another forum, this will not show any image and leave another pic in place? thanks
grafbyte
09-18-2009, 12:44 AM
hi
im install dir in the 3.8.4 and i cant not see the settings :(
<?xml version="1.0" encoding="ISO-8859-1"?>
<product productid="antileech" active="1">
<title>Anti Leech Attachments</title>
<description>Prevent hot linking your
attachments!</description>
<version>1.1</version>
<url>https://vborg.vbsupport.ru/showthread.php?t=149666</url>
<versioncheckurl><![CDATA[https://vborg.vbsupport.ru/misc.php?do=productcheck&pid=antileech]]></versioncheckurl>
<dependencies>
</dependencies>
<codes>
</codes>
<templates>
<template name="antileech"
templatetype="template" date="172182599" username="Jason" version="1.00b"><![CDATA[$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[antileech]</title>
</head>
<body>
$header
$navbar
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%"
align="center">
<tr>
<td class="tcat">$vboptions[bbtitle] - $vbphrase[antileech]</td>
</tr>
<td class="panelsurround" align="center"><br /><br />
<div class="panel" style="width:70%">
<br /><phrase 1="{$id['postid']}">$vbphrase[antileechmessage]</phrase><br /><br />
</div><br /><br /></td>
</tr>
</table>
$footer
</body>
</html>]]></template>
</templates>
<plugins>
<plugin active="1" executionorder="5">
<title>anti-leech</title>
<hookname>attachment_start</hookname>
<phpcode><![CDATA[if
($vbulletin->options['al_disable'])
{
$ref = str_replace('http://www.','',$_SERVER['SERVER_NAME']);
if(!strstr($_SERVER['HTTP_REFERER'],$ref)) {
$id = $vbulletin->db->fetch_array($vbulletin->db->query_read("SELECT postid FROM ".TABLE_PREFIX."attachment WHERE
attachmentid = ".mysql_escape_string($_REQUEST['attachmentid'])));
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('antileech') . '");');
exit;
}
}]]></phpcode>
</plugin>
</plugins>
<phrases>
<phrasetype name="GLOBAL"
fieldname="global">
<phrase name="antileech" date="1172182599" username="Jason"
version="1.0"><![CDATA[Anti Leech Protected]]></phrase>
<phrase name="antileechmessage"
date="1172182522" username="Jason" version="1.0"><![CDATA[Sorry, only direct links from threads are allowed to view
attachments. As a courtesy, the link to the post containing the attachment is provided below.<br /><br /> <a
href=showthread.php?p={1}>Click here to visit the post with the attachment.</a> <br /><br /> Leeching from the forum is not
permitted, to save bandwidth abuse only direct clicks from the thread the attachment is with will work. All attachments are
viewable by guests (you are not required to register).]]></phrase>
</phrasetype>
<phrasetype
name="vBulletin Settings" fieldname="vbsettings">
<phrase name="setting_al_disable_desc"
date="1231584976" username="Jason" version="1.00b"><![CDATA[Enable Anti-Leech Attachments? Allows non-hotlinking of
attachments, the only way they can be viewed is from clicking the attachment link on the post.]]></phrase>
<phrase name="setting_al_disable_title" date="1231584976" username="Jason" version="1.00b"><![CDATA[Enable Anti-Leech
Attachments]]></phrase>
<phrase name="settinggroup_leech_settings" date="1231576342" username="Jason"
version="1.00b"><![CDATA[Anti-Leech Settings]]></phrase>
</phrasetype>
</phrases>
<options>
</options>
<helptopics>
</helptopics>
<cronentries>
</cronentries>
<faqentries>
</faqentries>
</product>
TheChaosFactor
09-30-2009, 09:43 AM
thanks. there is a mod like this but to do this with the images displayed in a forum? is that if someone copies the address of an image to put in another forum, this will not show any image and leave another pic in place? thanks
I just copied the address and posted that pic in my forum using image tags with no problem, which is what I thought this was supposed to prevent?
Not sure I understand the use of this, at all?
kalisekj
09-30-2009, 04:36 PM
Installed but its not working :( I am still able to hot link to my attachments :(
TheChaosFactor
10-04-2009, 02:14 PM
Installed but its not working :( I am still able to hot link to my attachments :(
I tested it using the demo pic and hotlinked it from there, so I don't think it's just you.
dinodonk
11-29-2009, 04:03 AM
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!
i second that.. please add these features
TheInsaneManiac
12-01-2009, 11:46 PM
Making people register to download attachments is a good way to benefit from hotlinking. You gain registration, hits, advertisement clicks, and sometimes good members.
Also the way to prevent the style from displaying on the attachments page is simple. Either use hooks to edit it out via a plugin or just perform a template edit and use a conditional to not display it on the attachments page.
horussjr
03-05-2010, 07:29 PM
update for 4.0?
Cerbero1000
05-30-2010, 05:21 PM
Finally works after 2 hours!
kalisekj
05-31-2010, 01:59 PM
i tried this as well and its not working sites still able to leech and for the life of me I cannot find the admincp setting for this plugin :(
Snookieboy
08-10-2010, 10:39 PM
Anyone had any luck converting this to be used on VB4? Cant go without this plugin :(
Brandon Sheley
08-10-2010, 10:49 PM
this is sharp, I'll check this out sometime
/me clicks install
harisafp
12-24-2010, 02:38 AM
Thanks ... not show in admincp > option
*Uninstalled*
g0rdy
01-29-2011, 05:47 AM
Is there any way to do the opposite?
I've searched high and low for a way to get urls from:
forums/attachment.php?attachmentid=3846&stc=1&thumb=1&d=1295480296
to:
forums/attachment/3/8/4/6/image_name.jpg
Like I said, I have tried searching maybe I'm not using the best keywords but this thread/mod was the closest I get. :(
InsaneNutter
04-13-2011, 05:12 PM
It would defiantly be fantastic if this could be upgraded to work with VB4.
Does anything like this exist for VB4?
naveeid
04-25-2011, 06:16 PM
i want this mod for version 4x
naveeid
04-26-2011, 04:57 AM
It would defiantly be fantastic if this could be upgraded to work with VB4.
Does anything like this exist for VB4?
for vb4 we dont have this kind of mod , but you can protect your attachment.php through .htaccess.
see this mod
https://vborg.vbsupport.ru/showthread.php?p=2188755
MissKalunji
05-04-2011, 12:55 PM
I don't see the options to turn off and on?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.