Closed (fixed)
Project:
IP address manager
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
26 Jun 2009 at 11:40 UTC
Updated:
23 Mar 2014 at 12:20 UTC
Jump to comment: Most recent
Comments
Comment #1
danielb commentedComment #2
danielb commentedThe feature is now part of the IP module.
Comment #3
danielb commentedSELECT DISTINCT uid, hostname FROM `watchdog` WHERE type = 'content' AND message = 'Comment: added %subject.';
SELECT DISTINCT uid, hostname FROM `watchdog` WHERE type = 'content' AND message = '@type: added %title.';
those are the queries, but there are more things in that table we can get IPs from, plus we'll need a way to only get comments/nodes from before the module was installed.
Comment #4
danielb commentedAlright I have this working in my development copy, just need to commit. Doesn't work as well as I hoped since watchdog seems to only keep the last 1000 records?
Comment #5
danielb commented