Prevent Hotlinking and Bandwidth Theft

Mixed forum with code snippets, guides and styles
Forum rules
Everything in this forum is for everybody
But support only for Donators!
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Prevent Hotlinking and Bandwidth Theft

Post by Stoker »

Post the content of the htaccess file you uploaded.
Board rules! No PM support
User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 13:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!
Contact:

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.
User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 13:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!
Contact:

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
User avatar
Terr0r
BBCoder V
BBCoder V
Posts: 339
Joined: 04 May 2011, 00:47
BBCodes: 100
Location: The Netherlands
Contact:

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]
If you can't fix it with ducktape you ain't using enough
For my MODS and BBCodes or other things that I have made take a look here
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Prevent Hotlinking and Bandwidth Theft

Post by Stoker »

Delete: index.php
Board rules! No PM support
User avatar
Terr0r
BBCoder V
BBCoder V
Posts: 339
Joined: 04 May 2011, 00:47
BBCodes: 100
Location: The Netherlands
Contact:

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]
If you can't fix it with ducktape you ain't using enough
For my MODS and BBCodes or other things that I have made take a look here
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

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]
Board rules! No PM support
User avatar
Terr0r
BBCoder V
BBCoder V
Posts: 339
Joined: 04 May 2011, 00:47
BBCodes: 100
Location: The Netherlands
Contact:

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
If you can't fix it with ducktape you ain't using enough
For my MODS and BBCodes or other things that I have made take a look here
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

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.
Board rules! No PM support
User avatar
Terr0r
BBCoder V
BBCoder V
Posts: 339
Joined: 04 May 2011, 00:47
BBCodes: 100
Location: The Netherlands
Contact:

Prevent Hotlinking and Bandwidth Theft

Post by Terr0r »

I have already refresht my broweser it is working thanks Stoker :thumb:
If you can't fix it with ducktape you ain't using enough
For my MODS and BBCodes or other things that I have made take a look here
Post Reply