Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Return to Sender - Redirect / Reject Visits From Certain Sites/IPs Details »
Return to Sender - Redirect / Reject Visits From Certain Sites/IPs
Mod Version: 0.0.4, by dartho (Coder/Designer) dartho is offline
Developer Last Online: Apr 2019 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (4 votes - 5.00 average) Installs: 23
Released: 01 Sep 2009 Last Update: 12 Sep 2009 Downloads: 85
Supported Uses Plugins  

Make sure you check the NOTES section below!

This add-on allows you to specify domain names (or IP addresses) which you do not wish to accept links from. You have the choice to return a 404 message, redirect back to where they came (where they followed a link to your site from), display custom HTML, or redirect to another URL.

You could use this for a few different purposes. Say you suddenly get popular on slashdot or digg and your bandwidth is about to suffer - you can redirect all visitors that have clicked through on a link from said site to another URL, display them a "Too Busy" message, 404 them or just have them sent back to whence they came.

Say a dodgy site has links to your site, you could again 404, or display a "DO NOT WANT" message or just send them straight back to the referring page.

You can also just mess with people who have static IP addresses (partial addresses accepted).

Version Control
0.0.1 - Initial Release
0.0.2 - Fixed issue when having blank fields caused forum errors. Also made more lightweight (got rid of pregmatchs)
0.0.3 - Fixed another small bug
0.0.4 - OK - this time I fixed the bug :S

NOTES
WARNING
  1. Do not test with your own IP address, or domain name! You will lock your self out of your forums and will have to disable hooks to reconfigure the addon.
  2. Do not include leading HTTP:// or directory names - domain names (or partial) only!
    eg. use: evil-website.com , NOT http://evil-website.com and NOT http://evil-website.com/forum
  3. To disable the hook/plugin system, edit your includes/config.php file and place the following code on the second line (immediately below <?php) To re-enable hooks, undo the edit!

    Block Disabled:      (Update License Status)  
    Suspended or Unlicensed Members Cannot View Code.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Forum Display Enhancements Script to reject browsers Kzyl-orda vBulletin 3.7 Add-ons 7 02 Jul 2008 08:39

  #16  
Old 06 Sep 2009, 16:47
Megatr0n Megatr0n is offline
 
Join Date: Jul 2007
When, will the new version be released?
Reply With Quote
  #17  
Old 09 Sep 2009, 04:37
dartho dartho is offline
 
Join Date: Sep 2005
This has now been updated to be more light weight and not cause forum errors when required fields are left blank.
Reply With Quote
  #18  
Old 09 Sep 2009, 11:25
Megatr0n Megatr0n is offline
 
Join Date: Jul 2007
dartho, I have just updated to next release and I get the same error when enabling it after.
Reply With Quote
  #19  
Old 10 Sep 2009, 12:05
dartho dartho is offline
 
Join Date: Sep 2005
I'm really not sure Megatr0n - I've tested on a couple sites (live and test) and can;t get an error to trigger.

An exact error message might help, could be a clash with another add-on?

If you like, I could look at your site and get this working, but I'd need logon and FTP details etc - PM me if you want help.
Reply With Quote
  #20  
Old 10 Sep 2009, 12:16
Megatr0n Megatr0n is offline
 
Join Date: Jul 2007
Details sent.
Reply With Quote
  #21  
Old 12 Sep 2009, 10:30
Hi-Jack Hi-Jack is offline
 
Join Date: Sep 2009
Get error as soon as this is actuvatred on 3.8.4

Warning: strpos() [function.strpos]: Empty delimiter in [path]/includes/init.php(304) : eval()'d code on line 148

Warning: strpos() [function.strpos]: Empty delimiter in [path]/includes/init.php(304) : eval()'d code on line 157
Reply With Quote
  #22  
Old 12 Sep 2009, 13:12
dartho dartho is offline
 
Join Date: Sep 2005
bugger - wanna try it again with version 0.0.4 ?
Reply With Quote
  #23  
Old 12 Sep 2009, 23:54
ExplosiveGFX ExplosiveGFX is offline
 
Join Date: Sep 2009
Real name: Mike
Great stuff!

/me clicks install
__________________
Reply With Quote
  #24  
Old 13 Sep 2009, 10:27
dartho dartho is offline
 
Join Date: Sep 2005
Excellent. I've had confirmation that the latest version does indeed remove any known 'bugs' in the code.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 07:32.

Layout Options | Width: Wide Color: