Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Stop Image Hotlinking! Details »
Stop Image Hotlinking!
Mod Version: 1.00, by dxlwebs (Member) dxlwebs is offline
Developer Last Online: Dec 2012 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (2 votes - 3.00 average) Installs: 18
Released: 25 Sep 2009 Last Update: Never Downloads: 1
Not Supported Code Changes Additional Files  

Hey all,

I thought that this might be usefull for you all its very simple and you can do it within 1 minute!

Basically all it does is stop people from hotlinking your images and using your bandwidth!

This code below allows your to stop hotlink for all sites apart from the sites you choose all you do is add this code your you .htaccess file!

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

i have provided a image below for you to use if you would like other wise you can put your own image there, just chage the address of your site and location to your forum and add my image to your forum root and everytime some one trys to hotlink you they will only see that image!

thats it easy as pie! remember to back up your .htaccess file before editing anything!

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	nhl.png
Views:	143
Size:	142.3 KB
ID:	104753  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #16  
Old 25 Sep 2009, 10:37
FiMeTi FiMeTi is offline
 
Join Date: May 2008
Thanks mate, but I tried that surely, too. Still not working. Cache always empty before I test.
Anyway, this is still good enough.
Reply With Quote
  #17  
Old 25 Sep 2009, 10:40
dxlwebs dxlwebs is offline
 
Join Date: Jun 2008
hmmm try putting www. before your domain if not then im stumped it should work!
__________________
aarretalo.net
Reply With Quote
  #18  
Old 25 Sep 2009, 11:07
Arcade Fire's Avatar
Arcade Fire Arcade Fire is offline
 
Join Date: May 2008
Works, but not show alternative image.

I put one smile of my forum in Post #3 of this thread, but isn't sustitute for nhl.png image.
Reply With Quote
  #19  
Old 25 Sep 2009, 19:58
thedvs thedvs is offline
 
Join Date: May 2002
this is mine which i have used for years, works great, use .gif for the deny picture!

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Last edited by thedvs; 25 Sep 2009 at 20:04.
Reply With Quote
  #20  
Old 26 Sep 2009, 10:09
Arcade Fire's Avatar
Arcade Fire Arcade Fire is offline
 
Join Date: May 2008
Thanks theadvs, woks fine!.

Example wen i put a icon of my forum:

Reply With Quote
  #21  
Old 26 Sep 2009, 10:16
Shogunreaper Shogunreaper is offline
 
Join Date: Sep 2008
Originally Posted by dxlwebs View Post
and what if they dont have cpanel not everyone is rich you know
What kind of hosting does not have a cpanel lol?
Reply With Quote
  #22  
Old 26 Sep 2009, 11:09
EidolonAH EidolonAH is offline
 
Join Date: May 2009
Real name: Eidolon
Originally Posted by thedvs View Post
this is mine which i have used for years, works great, use .gif for the deny picture!

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
I got that in my .htaccess file like this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

But it aint stopping the hotlinking (if it's working the image should be a nasty looking poo!)
*snip* nasty poo removed!

So what have I done wrong?

Last edited by EidolonAH; 26 Sep 2009 at 11:18.
Reply With Quote
  #23  
Old 26 Sep 2009, 11:13
Arcade Fire's Avatar
Arcade Fire Arcade Fire is offline
 
Join Date: May 2008
EidolonAH, woks fine for you, I see a poo

Delete cookies of your site, and you can see the diference.

Last edited by Arcade Fire; 26 Sep 2009 at 11:26.
Reply With Quote
  #24  
Old 26 Sep 2009, 11:19
EidolonAH EidolonAH is offline
 
Join Date: May 2009
Real name: Eidolon
Originally Posted by Arcade Fire View Post
EidolonAH, woks fine for you, I see a poo

Delete cookies of vb.org, and you can see the diference.
Thanks Arcade Fire, I just saw, I removed the nasty poo image.
Reply With Quote
  #25  
Old 26 Sep 2009, 19:40
Robru's Avatar
Robru Robru is offline
 
Join Date: Aug 2005

Last edited by Robru; 26 Sep 2009 at 19:53.
Reply With Quote
  #26  
Old 27 Sep 2009, 08:37
princeedward's Avatar
princeedward princeedward is offline
 
Join Date: Jan 2007
Real name: Edward
thanks for this....cant make it work...

here's my code

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://.*epaloids\.com.*$ [NC]
RewriteCond %{REQUEST_URI} !^.*leech\.gif$ [NC]
RewriteRule ^.*\.(swf|bmp|gif|jpg|png|jpeg|avi|wmv|mpg|mpeg|wav|mp3)$ http://www.epaloids.com/leech.gif [NC,R,L]

need help pls. thanks and best regards
__________________

My vBulletin Mod Hacks
Along With Some Helpful vB.Org Genious Coders & Designers, I Release This Modification...Please Don't Hesitate To PM Me For Support As Long As I Can.

Last edited by princeedward; 28 Sep 2009 at 20:18.
Reply With Quote
  #27  
Old 27 Sep 2009, 18:15
EidolonAH EidolonAH is offline
 
Join Date: May 2009
Real name: Eidolon
Originally Posted by princeedward View Post
thanks for this....cant make it work...

here's my code

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://.*epaloids\.com.*$ [NC]
RewriteCond %{REQUEST_URI} !^.*leech\.gif$ [NC]
RewriteRule ^.*\.(swf|bmp|gif|jpg|png|jpeg|avi|wmv|mpg|mpeg|wav|mp3)$ http://www.epaloids.com/leech.gif [NC,R,L]

need help pls. thanks and best regards

<<< My Site Image
Give it a go from one of the smilies on your site or something like that, the image you are testing is hosted on photobucket, not your server.
Reply With Quote
  #28  
Old 27 Sep 2009, 19:51
princeedward's Avatar
princeedward princeedward is offline
 
Join Date: Jan 2007
Real name: Edward
Originally Posted by EidolonAH View Post
Give it a go from one of the smilies on your site or something like that, the image you are testing is hosted on photobucket, not your server.
i guess got it now....
__________________

My vBulletin Mod Hacks
Along With Some Helpful vB.Org Genious Coders & Designers, I Release This Modification...Please Don't Hesitate To PM Me For Support As Long As I Can.

Last edited by princeedward; 28 Sep 2009 at 20:16.
Reply With Quote
  #29  
Old 05 Oct 2009, 19:38
Mike08's Avatar
Mike08 Mike08 is offline
 
Join Date: Sep 2006
what about google spiders?? Do not we must insert his url's in this code??
Reply With Quote
  #30  
Old 05 Oct 2009, 20:08
IRANCITY's Avatar
IRANCITY IRANCITY is offline
 
Join Date: Nov 2007
Originally Posted by Mike08 View Post
what about google spiders?? Do not we must insert his url's in this code??
this is my question...
how can alow bot for save this pic and page ?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 03:15.

Layout Options | Width: Wide Color: