![]() |
IP Blocker Widget
1 Attachment(s)
Description:
Deny access to IP address array Installation: 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: PHP Code:
change 127.0.0.1 with the ip you want to block change "security.png" with your desidered image change "http://www.fbi.gov" 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 |
sorry but i'm confused what this does over the built in ip ban that has been in vb since day 1?
|
Quote:
|
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 :D
|
I'm a lil' confused on this one too
|
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?
|
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. "127.0.0.1", "127.0.0.1", "127.0.0.1", "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) |
Where is the download link?
|
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? |
All times are GMT. The time now is 02:11 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|