• Resolved miguel1876

    (@miguel1876)


    Hi there

    I was wondering if you could add compatibility with YITH WooCommerce Advanced Reviews. I tried it, however the Avatar loads for only a very quick second and then it disappears. When I look at the source code, I can see that your Plugin code never loads.
    Any chance you can look into it? I can send you the Plugin if needed.

    Thanks so much in advance for your help.

    Cheers

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author Sibin Grasic

    (@seebeen)

    Hello Miguel,

    I’ll gladly look into it.

    Can you send me the plugin via e-mail: [email protected]

    I’ll try to add the support for YITH reviews as soon as possible.

    Cheers,
    Sibin

    Thread Starter miguel1876

    (@miguel1876)

    Hi

    Thank you so very much.

    I sent you an email.

    Cheers

    Plugin Author Sibin Grasic

    (@seebeen)

    Version 2.7 is out which fixes this issue.

    I’d appreciate it if you left a review for the plugin.

    Thread Starter miguel1876

    (@miguel1876)

    Hi there… You are amazing!
    Thank you very much!!

    I just have one more issue and I am so sorry for the trouble. It looks like the Plugin pulls in the first letter of the email address instead of the Display Name or Author Name.
    See screenshot: https://imgur.com/a/DVZoQWl

    Is it possible to make it the first letter of the Display Name/Author Name?

    Thanks

    Thread Starter miguel1876

    (@miguel1876)

    PS. I will be happy to make the necessary changes in the code if needed, if you tell me what the changes are ??

    Thanks

    Plugin Author Sibin Grasic

    (@seebeen)

    You can change it like this:

    In YITH review plugin folder:

    templates/ywar-review.php – line 56

    Replace:

    echo get_avatar ( $review_author_data["display_email"], apply_filters ( 'woocommerce_review_gravatar_size', '60' ) );

    with

    
    $comment_id = get_post_meta( $review->ID, YITH_YWAR_META_COMMENT_ID, true );
    $comment = get_comment( $comment_id );
    echo get_avatar ( $comment, apply_filters ( 'woocommerce_review_gravatar_size', '60' ) );
    
    • This reply was modified 6 years, 6 months ago by Sibin Grasic.
    • This reply was modified 6 years, 6 months ago by Sibin Grasic.
    Thread Starter miguel1876

    (@miguel1876)

    Hi
    Thanks but now the first letter doesn’t show up. Only the background color.
    Also you can see a warning for a quick second or two while the page is loading.
    https://rarinutrition.com/infinity/

    Please advise.

    Thanks

    Thread Starter miguel1876

    (@miguel1876)

    The full if statement was changed like this:

    I replaced:

    <?php if ( $user && ! $review_author_data['is_modified_user'] ):
       echo get_avatar ( $user->ID, apply_filters ( 'woocommerce_review_gravatar_size', '60' ) );
       else:
       echo get_avatar ( $review_author_data["display_email"], apply_filters ( 'woocommerce_review_gravatar_size', '60' ) );
       endif; ?>

    with this:

    <?php if ( $user && ! $review_author_data['is_modified_user'] ):
       echo get_avatar ( $user->ID, apply_filters ( 'woocommerce_review_gravatar_size', '60' ) );
       else:
       $comment_id = get_post_meta( $review->ID, YITH_YWAR_META_COMMENT_ID, true );
       $comment = get_comment( $comment_id );
       echo get_avatar ( $comment, apply_filters ( 'woocommerce_review_gravatar_size', '60' ) );
       endif; ?>
    • This reply was modified 6 years, 6 months ago by miguel1876.
    Plugin Author Sibin Grasic

    (@seebeen)

    Try this piece instead:

    global $comment;
    
    			$comment_id = get_post_meta( $review->ID, YITH_YWAR_META_COMMENT_ID, true );
    			$comment = get_comment( $comment_id );
    			echo get_avatar ( $comment, apply_filters ( 'woocommerce_review_gravatar_size', '60' ) );
    Thread Starter miguel1876

    (@miguel1876)

    Thanks but it’s still not working properly.
    My client Chris B was the one who added most of the reviews from Amazon. So all the reviews he added are showing with the first letter “C” instead of the edited Author name’s first letter.

    Thread Starter miguel1876

    (@miguel1876)

    Hello
    I didn’t hear back so I am just checking to see if you have a solution to the issue?

    Thanks

    Thread Starter miguel1876

    (@miguel1876)

    It seems that you are no longer replying nor helping with this.
    Are you not able to help any longer?

    • This reply was modified 6 years, 6 months ago by miguel1876.
    Plugin Author Sibin Grasic

    (@seebeen)

    Hello Miguel,

    I’ve sent you out a very detailed e-mail about your issue.
    Did you get it?

    Thread Starter miguel1876

    (@miguel1876)

    Hi.
    No, I did not get it :/

    Thread Starter miguel1876

    (@miguel1876)

    Hi… I just saw it. So sorry, It was in my SPAM mail.
    Just added you on Skype

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Not working with YITH WooCommerce Advanced Reviews’ is closed to new replies.