• Resolved jakubl373

    (@jakublutter)


    Thank you for the plug-in.

    I have one issue – all reviews that I create manually are created as “anonymous”, even when I input the name.

    I tried adding the name of the “manual reviewer” to the lis t of reviewers but it did not help.

    How is it possible to add reviews with names as well?

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support mivtt

    (@mivtt)

    Hi,

    Thank you for contacting us.
    Adding single reviews with an anonymous name or multiple review with available anonymous names for products are working as expected in my check.

    Can you show your settings and the front end result after creating a virtual review? It is more practical by a video.

    Best regards.

    Thread Starter jakubl373

    (@jakublutter)

    Dear Mivtt,

    Please see the result on this test page:
    https://tst.greenmed.sk/produkt/cbd-pre-zvierata/cbd-konopny-olej-pre-macky/

    The review is displayed as anonymous but it actually has a name in the backend.

    Please, let me know, whether you need more information.

    Thank you.

    Thread Starter jakubl373

    (@jakublutter)

    Dear Mivtt,

    I am enclosing the list of reviews for the product and a comparison between a real review and virtual review (the “real” review is being displayed with a name):
    https://pasteboard.co/K8JILbI4.png
    https://pasteboard.co/K8JIGkP.png

    However, I remembered that I have the following in functions.php:

    add_filter('get_comment_author', 'my_comment_author', 10, 1);
    
    function my_comment_author( $author = '' ) {
    $comment = get_comment( $comment_ID );
    if (!empty($comment->comment_author) ) {
    if($comment->user_id > 0){
    $user=get_userdata($comment->user_id);
    $author=$user->first_name.' '.substr($user->last_name,0,1).'.';
    } else {
    $author = __('Anonymous');
    }
    } else {
    $author = $comment->comment_author;
    }
    
    return $author;
    }

    This is to ensure that in case of reviews, only the first name and the initial of the last name is displayed to protect the privacy of buyers (otherwise, the full name would be displayed by default – unless the user changes the display name).

    When I commented it out, now the name entered in the virtual reviews is showing.

    So I thought – maybe your plugin inputs the whole name as the last name? Is there any possibility to make it compatible?

    Thank you.

    Plugin Support mivtt

    (@mivtt)

    Hi,

    We are sorry for missing your topic.
    I am not sure what you mean with this word:

    The review is displayed as anonymous but it actually has a name in the backend.

    Because our plugin simply can create/add virtual manes and displays them on the front end. I am understating your problem that the virtual manes in the backend do not display the same on the front end, right? Please clarify this problem.

    Best regards.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Anonymous reviews’ is closed to new replies.