WordPress.org

Ready to get started?Download WordPress

Forums

WP SlimStat
[resolved] IPv6 Support (5 posts)

  1. ccblog
    Member
    Posted 2 years ago #

    Hi,
    great plugin !

    But it lacks in IPv6 Support. Every IPv6 Access is logged as "0.0.0.0". Is this a bug or a fail in configuration ?

    Best Regards
    Jörg

    http://wordpress.org/extend/plugins/wp-slimstat/

  2. camu
    Member
    Plugin Author

    Posted 2 years ago #

    Hi there,

    unfortunately PHP's ip2long does not support ipv6 just yet. I'll have to come up with a workaround for that...

  3. camu
    Member
    Plugin Author

    Posted 2 years ago #

    Also, MySQL's support for ipv6 is still being discussed

    http://bugs.mysql.com/bug.php?id=34037

    I found a workaround, though, and I could give it a try in the next version of WP SlimStat:

    http://www.samclarke.com/2011/07/php-ipv6-to-128bit-int/

    I will increase the size of the corresponding sql column in my table to BIGINT in order to be able to store that information ;) Would you be interested in testing the new version?

    Camu

    PS: a vote for my plugin would be a nice way to say thank you!

  4. rivy
    Member
    Posted 1 year ago #

    Hi Camu,

    Can I test the version with IPv6 support as well?

    Best regards,
    Thomas

  5. camu
    Member
    Plugin Author

    Posted 1 year ago #

    Hi there,

    Unfortunately my tests on supporting ipv6 weren't really encouraging, both PHP and MySQL still lack a true and ubiquitous support for it. So I've decided to postpone my plans to implement this feature for now.

    Thank you
    Camu

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic