• Resolved monkeynoodles

    (@monkeynoodles)


    I just installed the plugin and I’m loving it. Thanks for your great work!

    As I’m playing around with it, I’m wondering what kind of protection we could add to avoid spam ratings? As my site reviews different hospitals, I’m also wondering what is to keep a competitor from giving someone else low ratings? I see there is a cookie added to help multiple entries, but it seems easy enough to use a different browser or a different computer to sabotage someone else.

    Is it possible to add a parameter that requires the user to be logged in to rate?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Blaz K.

    (@blazk)

    Hi @monkeynoodles,

    I have IP verification on my to-do list and now I also added an option to choose who can rate posts. However, there are many things in the works right now, so I can’t give a time just yet ??

    In the meantime you could hide the widget to users who are not logged in by modifying the rmp-star-rating-widget.php template in /public/partials. The solution is not ideal because you will lose all your changes on update but if you want to try it here is a gist:
    https://gist.github.com/blaz-blazer/3489f7bd4bacd49fbda61b187a298b85

    Otherwise I haven’t noticed many sabotage attempts on the website where I use the plugin ?? Sure you get a bad rating from competition from time to time but votes are mostly legit. However, that might not be the case for every website.

    Blaz

    Thread Starter monkeynoodles

    (@monkeynoodles)

    Thanks again for your work and continued development!

    For now I’ve turned on all of the features of the feedback options and jacked up the review feedback requirement all the way to 5. Now all ratings must leave feedback in order for their vote to count. The feedback will help me determine the reality of the rating.

    Plugin Support Blaz K.

    (@blazk)

    Sounds like a good solution. I’ll keep you updated on the voting permission feature.

    Blaz

    Plugin Support Blaz K.

    (@blazk)

    @monkeynoodles, in version 2.5.0 you can set who can rate posts (everyone or logged in users only). The option is in the security tab. The widget will be shown also to logged out users but they won’t be able to interact with it. You can add text (for example log in to rate) after or before the widget with hooks (rmp_after_all_widgets and rmp_before_all_widgets). See example below:

    
    function my_add_after_rating_widgets() {
      if ( !is_user_logged_in() ) {
        echo '<p>Please login to rate!</p>';
      }
    }
    add_action( 'rmp_after_all_widgets', 'my_add_after_rating_widgets');
    

    If you want to hide the widget to users who are not logged in you can do this with css:

    
    .rmp-not-logged-in {
         display: none;
    }
    

    Regards,
    Blaz

    Thread Starter monkeynoodles

    (@monkeynoodles)

    Excellent work! Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Spam Protection’ is closed to new replies.