Support » Plugin: Slimstat Analytics » [Plugin: WP SlimStat] Anonymize IP-Addresses

  • Resolved hebbet

    (@hebbet)


    Please add an option for anonymizing the ip-adresses of visitors.
    remove the last part of it should be enough.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jason Crouse

    (@coolmann)

    Hi Hebbet,

    in order to do that, you may want to edit the source code of my plugin, look for this line

    $stat['ip'] = sprintf("%u", $long_user_ip);

    and replace it with

    $stat['ip'] = sprintf("%u", $long_user_ip&4294967040);

    Where 4294967040 is the decimal representation of a mask 255.255.255.0

    Is this what you were looking for?

    Camu

    PS: don’t forget to vote for my plugin!

    works

    Plugin Author Jason Crouse

    (@coolmann)

    PS: don’t forget to vote for my plugin!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP SlimStat] Anonymize IP-Addresses’ is closed to new replies.