vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Bandwidth Thieves (https://vborg.vbsupport.ru/showthread.php?t=35706)

Rostor 03-03-2002 10:00 PM

Bandwidth Thieves
 
Looking on my stats during the last day, I found that many people had linked my forum icons and images on other sites/board, due to the high costs of bandwidth I decide to look around to find a way to stop them !!!
I found this Great Script by Christopher Heng and I use it for protect my icons, then I integrated this code in the attachment.php of VB.
In this way anyone that link directly my images receive an error :)
Look at the modify on my file.

Rostor 03-04-2002 09:09 AM

Upped last good attachment.php :)

xware 03-04-2002 09:15 AM

Thanks.But how to use this script?

Rostor 03-04-2002 09:58 AM

To protect icons and smiles you must use chimage script by Christopher Heng, configure the good hosts and the path to images directory, e-mail address and your host homepage.
Then copy the script in your forum directory and modify the smiles and icons path like the example image here attached.
To protect your attached images, you only have to configure the first line of the attachment.php with your good host list and your e-mail address.

wooolF[RM] 03-04-2002 10:20 AM

]nice one... I'll install it today :) Thanx

N!ck 03-04-2002 12:14 PM

not to be a bother but i don't believe you're allowed to distribute entire vBulletin files

Admin 03-04-2002 12:17 PM

nicksaunders is correct, you may not post full files from vBulletin. I removed the attachment from your post. You need to make this hack in a text file with instructions on how to install it.

MrLister 03-04-2002 01:24 PM

Wouldn't it be easier to add a .htaccess file inside your images directory that will allow only your site to pull stuff from it. So lets say you have that file in there and inside images directory you have happy.jpg. if you wish you could specify a different link when they request that. so when they add www.domain.com/images/happy.jpg it would send them www.domain.com/images/stolen.jpg and on that picture you can add anything such as "Stolen from DomainForums". I think this might be easier then changing the html of every smilie.

cditty 03-04-2002 02:31 PM

I agree with MrLister. This is what I do and I no longer have the problems I once did. Plus my hits from those sites are up. People are curious when they see the little red x and they come to see the site.

If anyone wants the htaccess file, send me a pm.

Chris

wot-Mike 03-04-2002 03:04 PM

I tried the .htaccess method. It stops people from downloading images to other sites, but sometimes it fails to deliver content to visitors of my site as well, usually those behind a proxy server.

Any fix for that?


All times are GMT. The time now is 01:31 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01482 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete