Skip to content

Modifying IPCCP to work with CyStats

While searching for a Google Analytics replacement, I found CyStats and IPCCP.
IPCCP stands for IP City Cluster. “The IP City Cluster Plugin (IPCCP) generates a geographical cluster map based on where from people access you website (or to be precise: based on the IP they got from their provider).”
What it needs is an IP databse/log. For an unknown to me reason, CyStats stores the remote_addresses in the blog databse as BIGINTs. Those ‘ll have to be converted first. Here is the patch you need: the patch.

5 Comments

  1. adamo wrote:

    “For an unknown to me reason, CyStats stores the remote_addresses in the blog databse as BIGINTs.”

    An estimated guess: IPv6

    Sunday, April 13, 2008 at 11:45 pm | Permalink
  2. streamkid wrote:

    Your guess must be true, except that cystats code won’t handle ipv6 addresses at all. Feature will be implemented in the future, propably.

    Tuesday, April 15, 2008 at 12:36 am | Permalink
  3. cywhale wrote:

    I’m the author of CyStats.
    The reason CyStats uses bigints fpr remote adresses is the optional anonymization feature. There was a big discussion about anonymous storage of remote adresses in germany which was the reason i implemented this feature.

    Wednesday, July 23, 2008 at 8:01 pm | Permalink
  4. Jason wrote:

    How do i get this patch to work? I have a lot of programming experience, but I’m new to php.
    I’m running the latest WP on windows server 2003, php 5.

    Friday, November 21, 2008 at 11:02 pm | Permalink
  5. streamkid wrote:

    Well, you need the patch app to apply this (found on *nix systems).
    You can manually add/remove the lines directed by the patch file (with +/-) though :)

    Saturday, November 22, 2008 at 2:35 pm | Permalink

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*