WordPress.org

Ready to get started?Download WordPress

Forums

I Recommend This
[resolved] Filter recommends by username not by IP (9 posts)

  1. joetheinsider
    Member
    Posted 1 year ago #

    Hi, how do you filter unique likes? Is it just via username?
    We have a private site for our company and we're using one single Internet/Public IP, and once a user liked a post the others can't like the post anymore.

    If you are filtering by IP, can this be disabled? What file to look this up for? I think it is better if a control is base on the username not IP but if this is not possible for now, I am ok to not have filtering anymore for now.

    Please help.

    Thanks!

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

  2. Harish Chouhan
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,

    The filter is done using IP and not username. Currently the plugin works as general and not for logged in user.

    Inside the plugin file, search for AJAX call and remove the filtering IP related queries.

    I would be releasing an update later next week to include a feature to disable this.

  3. joetheinsider
    Member
    Posted 1 year ago #

    Hi,

    Is the IP filter disable option already included in the latest release?

    Can you provide the actual code to remove and the line # and filename please.

    Thanks!

  4. Alkorr
    Member
    Posted 1 year ago #

    Maybe what would be cool is to provide Logging Methods like:

    - Logged by IP
    - Logged by Cookie
    - Logged by Username

    I guess it's not easy to implement. My favorite option would be logging by Cookie, if you happen to know how I could modify your code only to add that option, that would be great :)

    Thanks Harish!

  5. Harish Chouhan
    Member
    Plugin Author

    Posted 1 year ago #

    Currently the data is saved only based on IP and Cookie.

    This would involve lot of work and I won't be the right person to guide you in the right direction. This plugin was just created for my own needs and when I was learning plugin development.

    However if you create something like you mentioned and would like to contribute let me know. Will give you credit for the same in the plugin page.

  6. Harish Chouhan
    Member
    Plugin Author

    Posted 1 year ago #

    @joetheinsider I haven't added the option to disable it yet. Had tried but it caused some issues int he AJAX call. I am working on it and will try to update it soon as I need it for myself too.

  7. Alkorr
    Member
    Posted 1 year ago #

    Hi Harish. Alas, I don't know coding much... I wish I could help. But if the filter by IP could be disabled, that would be very interesting to :)

    Thanks for your work!

  8. Harish Chouhan
    Member
    Plugin Author

    Posted 1 year ago #

    Alkorr sorry for the delay. I shall have the plugin updated with this feature before end of this month.

  9. Harish Chouhan
    Member
    Plugin Author

    Posted 1 year ago #

    @Alkorr the feature for disabling IP address based logging is added to the new version of the plugin. Do update and let me know if there are any issues.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.