Helpful Information
 
 
Category: vBulletin 4.x Template Modifications
Mini Mods - YBMF-Hotlink Image protection

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


RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?yobromofo\.com/ [NC]
RewriteCond %{HTTP_REFERER} !vbulletin\.org [NC]
RewriteCond %{HTTP_REFERER} !google\. [NC]
RewriteCond %{HTTP_REFERER} !search\?q=cache [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*\.(jpe?g|gif|bmp|png)$ /images/nohotlink.jpg [L]


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 ;)

sound good, tag for later use, thanks

* Tagged * - for later use too, Thank You.

why i should use this? what is hotlink?

this is awesome
--------
EDIT: however you should not forget to allow this specific image for hotlinking by adding this line :
RewriteCond %{REQUEST_URI} !^/images/nohotlink\.jpg$

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

???

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

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

God damn my site is called mydadfarts.com :eek:










privacy (GDPR)