WordPress.org

Support

Support » Plugins and Hacks » WooCommerce » [Plugin: WooCommerce – excelling eCommerce] Spam Bots Keep Posting On Product Reviews

[Plugin: WooCommerce – excelling eCommerce] Spam Bots Keep Posting On Product Reviews

Viewing 6 replies - 1 through 6 (of 6 total)
  • I second this!

    Plugin Author James Koster

    @jameskoster

    Reviews are just extended WP comments so should be governed by the same rules I think.

    IE, if in your WP settings you’ve set only registered users to submit comments, that should be extended to the review form.

    Likewise if you add a captcha plugin to add a captcha input to comment forms, it should be added to the review form too.

    Thanks

    @jameskoster

    thank you that worked but now I have a new problem.

    when you “log in” from that review link it goes to the wordpress page, however, I use woocommerce and I really don’t want my users to think they are going to an entirely new place. do you now how I can fix this?

    the page is on easyengrave.com for you to check what I mean if it’s not clear.

    Thank you.

    in relation to my last post, I found a stop-gap measure for now. its not great, but there are plugins to make a “custom” login page.

    It would be nice do something that still uses the basic page layout, but a custom login page is better than a stock wordpress login page.

    Add following arg in single-product-reviews.php

    $comment_form = array(
    
    'must_log_in' => sprintf( __( 'You must be <a href="%s">logged in</a> to write a review.'), get_site_url() . '/my-account'),
    )

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    On to top of whatever form comments u have. this will allow you to customise the text u want to show when user is not logged in.

    Oops

    I meant

    'must_log_in' => sprintf( __( 'You must be <a href="%s">logged in</a> to write a review.'), get_site_url() . '/my-account'),

    Remember the href.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: WooCommerce – excelling eCommerce] Spam Bots Keep Posting On Product Reviews’ is closed to new replies.
Skip to toolbar