Originally Posted by jgeoff
That code is to be placed on every page, for instance, in Threads?? That's too much work for me... wink
no, an include to that page is included on every page; which in threads is as simple as adding it to your header include as:
Code
include("/path/to/blacklist.php");

And htaccess will only work in apache, not to mention youd have to make manual updates; whereas mine updates everything automatically with no work (after being installed) being needed.

blacklist.dat and blacklist.php go to your web root. The include to blacklist.php goes in your header include on yoru ubb.

Example:
/btra/ (755)
/btra/index.php (644)
/blacklist.dat (666 or 777)
/blacklist.php (644)

Your header will hold the include to your blacklist.php file. You need this in your header as you're stopping the page loading if the users ip is blacklisted; if it's in the footer it'll stop after the page has loaded (in which case it'd be pointless).


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!