Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Bandwidth Thieves Details »»
Bandwidth Thieves
Version: 1.00, by Rostor Rostor is offline
Developer Last Online: Jul 2018 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 03-03-2002 Last Update: Never Installs: 2
 
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 03-04-2002, 09:09 AM
Rostor Rostor is offline
 
Join Date: Nov 2001
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Upped last good attachment.php
Reply With Quote
  #3  
Old 03-04-2002, 09:15 AM
xware's Avatar
xware xware is offline
 
Join Date: Nov 2001
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks.But how to use this script?
Reply With Quote
  #4  
Old 03-04-2002, 09:58 AM
Rostor Rostor is offline
 
Join Date: Nov 2001
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 03-04-2002, 10:20 AM
wooolF[RM]'s Avatar
wooolF[RM] wooolF[RM] is offline
 
Join Date: Jan 2002
Posts: 524
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

]nice one... I'll install it today Thanx
Reply With Quote
  #6  
Old 03-04-2002, 12:14 PM
N!ck N!ck is offline
 
Join Date: Mar 2002
Location: Lake Havasu City, AZ
Posts: 886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not to be a bother but i don't believe you're allowed to distribute entire vBulletin files
Reply With Quote
  #7  
Old 03-04-2002, 12:17 PM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 03-04-2002, 01:24 PM
MrLister's Avatar
MrLister MrLister is offline
 
Join Date: Oct 2001
Posts: 434
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 03-04-2002, 02:31 PM
cditty's Avatar
cditty cditty is offline
 
Join Date: Oct 2001
Location: Memphis TN
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #10  
Old 03-04-2002, 03:04 PM
wot-Mike wot-Mike is offline
 
Join Date: Oct 2001
Location: Netherlands
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:35 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04543 seconds
  • Memory Usage 2,288KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete