Wouldnt it be nice to have in the user/[uid]/ip-page also links to ban the IP address at hand?
so to
/admin/user/rules/add/113.106.194.221/host
Wouldnt it be nice to have in the user/[uid]/ip-page also links to ban the IP address at hand?
so to
/admin/user/rules/add/113.106.194.221/host
Comments
Comment #1
danielb commentedWhere did you get that path from? Doesn't go anywhere for me. I assume it's something in the Rules module or a related module?
The only IP blocking I know of is admin/config/people/ip-blocking
Comment #2
eiland commentedWelcome, bienvenue to Drupal 6.
Comment #3
danielb commentedno idea what you said, but Drupal 6, gotcha...
Comment #4
danielb commentedI've added the link to Drupal 6.
I wanna do something better with D7 by integrating with the page provided by system_ip_blocking()
Maybe even change that page to display more like the people or content pages with a little checkbox and a form and a hook to add operations
Comment #5
eiland commentedThats what I call quick.
I'm now also making a view which takes an IP address as argument to filter the access log... so see what an IP address has been up to.... another useful addition?
Comment #6
eiland commentedow, just a small thing, it should be
l(t('Ban IP'), 'admin/user/rules/add/' . $record['ip'] . '/host'),instead of
l(t('Ban IP'), '/admin/user/rules/add/' . $record['ip'] . '/host'),(mind the slash) otherwise you to ban on localhost.