Project:IP anonymize
Version:6.x-1.1
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I'm not sure if this is a webform issue or an ip_anon issue, but it would be nice to anonymize webform submissions, too. At least for me, with the ip_anon module enanbled, webform submissions still safe (and keep) the user's IP.

Comments

#1

On the drupal 5 version there's no way for other modules to alter the set of tables and columns, because drupal 5 doesn't support http://api.drupal.org/api/function/drupal_alter

So the only way to add this table is to patch the module. if you submit the patch then I could commit it, given that it's probably a fairly popular module.

on drupal 6 you could submit a patch for the webform module to implement hook_ip_anon_alter().

#2

I went ahead and submitted a patch for the webform module at #469760: Implement hook_ip_anon_alter() Please review if you get a chance.

#3

Status:active» fixed

This feature is now available in the 6.x-1.x and 7.x-1.x branches so marking this fixed - although it hasn't yet been backported to 5.x-1.x

#4

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

#5

Version:5.x-1.1» 6.x-1.1
Status:closed (fixed)» needs review

It seems this has never been added to 6.x.1.x. It works for me, though, to just copy the function over from 7.x-1.x-dev and add it to ip_anon.pages.inc:

<?php
/**
* Implements hook_ip_anon_alter() for webform module.
*/
function webform_ip_anon_alter(&$tables) {
 
$tables['webform_submissions'] = array(
   
'hostname' => 'remote_addr',
   
'timestamp' => 'submitted',
  );
}
?>

#6

Status:needs review» fixed

This was committed Mon, 23 Aug 2010 21:07:08 +0000 http://drupalcode.org/project/ip_anon.git/commitdiff/137eea3a41707c50c0e...

#7

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here