Prevent Hotlinking and Bandwidth Theft

Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support

Prevent Hotlinking and Bandwidth Theft

Post by Stoker »

Post the content of the htaccess file you uploaded.

Prevent Hotlinking and Bandwidth Theft

Post by martin123456 »

Take a link from your forum ie: a file or image then go here http://www.phpbb.com/community/viewforum.php?f=26

and make a post but dont post it just preview it and click the link in the preview :D thats how i tested mine with 100% good results.

Prevent Hotlinking and Bandwidth Theft

Post by martin123456 »

You have installed it wrong after joining up every image is from what i can see is hotlinked protected or

you have the symptoms of using other sites images and they have just installed the hotlink mod and in return you get the image

uninstall it and read the first post here a few times

Prevent Hotlinking and Bandwidth Theft

Post by Terr0r »

the images that I have on my forum that is made by my self and state on my computer

this is the code that state in the htaccess

Code: Select all

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+.)?http://phpbb.grandtheftcrime.nl/index.php [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*.(php)$ ../stop.gif [L]

Prevent Hotlinking and Bandwidth Theft

Post by Stoker »

Delete: index.php

Prevent Hotlinking and Bandwidth Theft

Post by Terr0r »

okay I have do that but noting is changing take a look

now I get this

Code: Select all

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+.)?http://phpbb.grandtheftcrime.nl/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*.(php)$ ../stop.gif [L]

Prevent Hotlinking and Bandwidth Theft

Post by Stoker »

Try:

Code: Select all

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+.)?grandtheftcrime.nl/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*.(php)$ ../stop.gif [L]

Prevent Hotlinking and Bandwidth Theft

Post by Terr0r »

I have now this

Code: Select all

    RewriteEngine On
    RewriteCond %{HTTP_REFERER} !^http://(.+.)?grandtheftcrime.nl/ [NC]
    RewriteCond %{HTTP_REFERER} !^$
    RewriteRule .*.(php)$ ../stop.gif [L]
look this or take a look on my forum

http://phpbb.grandtheftcrime.nl/download/file.php?id=29

EDIT
I think it is working

Prevent Hotlinking and Bandwidth Theft

Post by Stoker »

It works terror. Visit a topic to see your avatar. Click CTRL + F5 to refresh the browser.

Prevent Hotlinking and Bandwidth Theft

Post by Terr0r »

I have already refresht my broweser it is working thanks Stoker :thumb: