Register Members List Search Today's Posts Mark Forums Read

Mod Options
IP Blocker Widget Details »
IP Blocker Widget
Mod Version: 1.00, by DHS2 (Member) DHS2 is offline
Developer Last Online: Jan 2019 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (1 vote - 5.00 average) Installs: 7
Released: 15 Dec 2010 Last Update: Never Downloads: 0
Not Supported Template Edits  

Deny access to IP address array
Create a new widget or forum side block (direct php execution)

Title for example "IP Blocker"
Description "IP Blocker Array"

Paste this code on widget configuration and save:

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

change with the ip you want to block
change "security.png" with your desidered image
change "" with the link desidered to redirect

This is my first version (is a simple code)
If the user's IP number is contained in the array will be redirected to the FBI homepage, otherwise this will print the image. png

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.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Old 15 Dec 2010, 08:13
zelnik zelnik is offline
Join Date: Aug 2008
sorry but i'm confused what this does over the built in ip ban that has been in vb since day 1?
Reply With Quote
Old 15 Dec 2010, 08:47
DHS2's Avatar
DHS2 DHS2 is offline
Join Date: Nov 2010
Originally Posted by zelnik View Post
sorry but i'm confused what this does over the built in ip ban that has been in vb since day 1?
This is not ip ban, is a simple mod for block determinated ip addresses to view the forum (or home page in case of publishin suite).
Reply With Quote
Old 05 Jan 2011, 19:34
Delphiprogrammi Delphiprogrammi is offline
Join Date: Feb 2004
Real name: Erik
this is easy it will not block the ip address contained in the array but they will be redirected to the configuerd url this might scare spammers
Reply With Quote
Old 06 Apr 2011, 04:54
DNN DNN is offline
Join Date: Mar 2011
I'm a lil' confused on this one too
Reply With Quote
Old 06 Apr 2011, 11:21
Rahstyles Rahstyles is offline
Join Date: Jul 2008
Hey man this is freaking neat!!! it works.. very nice.. im supposing .. if you have multiple ip's u can put an extra "" and put the ip inbetween correct?
Reply With Quote
Old 06 Apr 2011, 16:34
DHS2's Avatar
DHS2 DHS2 is offline
Join Date: Nov 2010
This is a simple code that I had to get rid of some people several months ago.
If you want you can develop in many different ways and it also interact with the database for example.

You can add more IP numbers if you want.
"", "", "", "m.o.r.e", "m.o.r.e", "m.o.r.e" etc. etc.

(the best way is modify the code and download array from database or an external .txt file for many ip's)

(Sorry for my bad english)

Last edited by DHS2; 06 Apr 2011 at 16:43.
Reply With Quote
Old 17 Apr 2011, 09:36
DNN DNN is offline
Join Date: Mar 2011
Where is the download link?
Reply With Quote
Old 23 Jul 2011, 14:04
LorinPotter LorinPotter is offline
Join Date: Jan 2008
Excellent, and something that I'm wanting for my VB 3.7.

Can someone please provide me with the varable name used in 3.7 for the incoming IP?
Reply With Quote

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 09:59.

Layout Options | Width: Wide Color: