Closed (fixed)
Project:
Rules
Version:
7.x-2.x-dev
Component:
Module Integrations
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Mar 2014 at 22:05 UTC
Updated:
11 Sep 2017 at 19:52 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dave reidComment #2
geerlingguy commentedSeems to work for me. I'm interested in seeing this added so #2218537: Add Trigger and Rules event support can add oft-requested functionality for spam bot banning for Honeypot users. I tested the banning of the current user's IP address (as determined by
ip_address()), but didn't test adding code to use some other IP address...Comment #3
fagoThanks, patch looks good and makes nicely use of the API for adding data types. Committed to 7.x-2.x.
Comment #5
Jeroen94 commentedThe 'Block IP address' action only supports values of the type 'IP address', which is a good thing. However, the built-in hostname of e.g. comments is not of this type. Therefore, tokens like
[comment:hostname]are not accepted by the action. Apparently, it is also not possible to convert into an IP address type. Is this desirable?