PDA

View Full Version : YBMF-Hotlink Image protection


TimberFloorAu
27 Jan 2010, 06:29
This is so simple:

open .htaccess in yourdomain.com/
and possibly in yourdomain.com/forum

dependant on your setup. ( both if applicable )

Add this code to the end: READ INSTRUCTIONS AFTERWARDS



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Instructions:

1. change yobromofo to your domain ( so if you run a site called mydadfarts.com enter mydadfarts in place of yobromofo

2. add exceptions, in this case my exceptions are:

vbulletin ( org )
google ( all tld's )

Simple huh.

Now open your fave image program such as , Photoshop ( use the included PSD if you like )

Change it to suit your site, and save as nohotlink.jpg

Then upload it to your server :
to----
yourdomain.com/images/
yourdomain.com/forum/images/

Done ;)

RL714
27 Jan 2010, 07:05
sound good, tag for later use, thanks

Welshy2008
27 Jan 2010, 08:25
* Tagged * - for later use too, Thank You.

cloferba
27 Jan 2010, 16:58
why i should use this? what is hotlink?

YankForum
24 Oct 2010, 16:25
this is awesome
--------
EDIT: however you should not forget to allow this specific image for hotlinking by adding this line :


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

naveeid
13 Apr 2011, 06:18
i wonder how this mod will effect this url in which there is no ".JPG" but only php file extension
http://www.nidokidos.org/attachment.php?attachmentid=40704&d=1302073201

???

yahooooh
20 Apr 2011, 03:13
i wonder how this mod will effect this url in which there is no ".JPG" but only php file extension
http://www.nidokidos.org/attachment.php?attachmentid=40704&d=1302073201

???
me too

naveeid
26 Apr 2011, 05:54
me too

yahoooh i got the solution.
you need to add some more lines. i have installed it and its working.

see this modification
http://www.vbulletin.org/forum/showthread.php?p=2188755

Mr Morningstarr
03 May 2011, 15:15
God damn my site is called mydadfarts.com :eek: