The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#5
|
|||
|
|||
![]()
There is a free spam blocking product called zbblock which works in the same way (code is inserted at the top of each page). Their instructions say to do this:
Code:
<php? ECHO "hello world"; ?><?php where the <?php in red is the existing one at the beginning of global.php. I think the reason for having them on the same line is that if you put a newline between them, the newline character will get sent as part of the document and you'll get "header already sent" errors. You could also just put your code on line two so that it was inside the existing <?php tag, but I think they figured this way would keep their added code separate. BTW, zbblock is a product that does something similar to what you're trying to do, except that it builds up a list of ips to block by scanning for attacks (and I believe it blocks spiders). We used it for a while and it was pretty good except that it was too aggressive about blocking some legit users, mostly because it thought some search result urls were SQL injection attempts. If I had had more time I think I could have tried to solve that issue myself (or asked for help on their forum). In any case they may have done something about that since I tried it |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|