WordPress.org

Ready to get started?Download WordPress

Forums

I Recommend This
[resolved] IP address security don't work (5 posts)

  1. MMaxim
    Member
    Posted 10 months ago #

    When I vote on a post (as a guest and as member) and I delete the cookies, I can vote again on the same post.

    My IP address is saved in the database, but there is no IP-security.

    In the code below should the && be replaced by the | | and then will it work.
    if ( isset($_COOKIE['dot_irecommendthis_'. $post_id]) && $voteStatusByIp != 0 ) { return $recommended; }

    However, I do not get it solved in the 'active'-class. I think the bug is in the $options['disable_unique_ip']. Do you have the solution?

    http://wordpress.org/plugins/i-recommend-this/

  2. Harish Chouhan
    Member
    Plugin Author

    Posted 10 months ago #

    @MMaxim Sorry for the late reply. I will try to check this and get it fixed this week itself.

  3. Harish Chouhan
    Member
    Plugin Author

    Posted 10 months ago #

    Hello,

    I just released an update. Can you please test and let me know if it works. Due to the options, I'm finding hard to keep up. Might have to re-structure the code soon.

  4. MMaxim
    Member
    Posted 10 months ago #

    Hello Harish, it works fine now. Thanks! Is it possible to include an cookie, IP and user security? Adding also the function to see who liked the post? An additional MySQL table is there likely to be necessary for.

  5. Harish Chouhan
    Member
    Plugin Author

    Posted 10 months ago #

    Hi,

    Adding user security is possible but it would involve lot of additional code. If you are and plan to and those features, then please do share.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.