Support » Plugin: Leira Letter Avatar » Plugin considers the first letter of the email

  • Hello guys,

    I noticed that the plugin considers the first letter of the user’s email instead of considering the first letter of the name: https://prnt.sc/10fkuv0

    Is it possible to make it considered the first letter of the name instead of the email?
    It would only be considered the first letter of the email when there is no name, but it usually has a name.

    Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Ariel

    (@arielhr1987)

    Hi @vejapixel

    The behavior you describe is by default how the plugin works.
    The image you sent, is it from the admin comments list page?
    I don’t remember if wordpress shows how many approved comments a user has like is shown in the picture, are you using a plugin to manage comments?
    Some times plugins use a different approach to store comment author, like save the name in comment metadata. Maybe thats the case and thats why leira letter avatar can’t find the author name.
    In your database check the “comment_author” column in “wp_comments” table. If the filed is empty the comment author is stored somewhere else.

    Thread Starter Rodrigo

    (@vejapixel)

    The image you sent, is it from the admin comments list page?

    Yes, it’s from the admin page. But on the front-end it is also the same.

    are you using a plugin to manage comments?

    No.

    In your database check the “comment_author” column in “wp_comments” table. If the filed is empty the comment author is stored somewhere else.

    The column “comment_author” is filled in normally: https://prnt.sc/10ge0q0

    Plugin Author Ariel

    (@arielhr1987)

    I need your help to understand the scenario where these incorrect avatars are shown.

    Is this error happening only for the avatar in comments made by not logged in users?
    or it happens for all users, comments or avatar in your site?.

    Which plugins are you using that might be interfering with users/comments information? If you disable all plugins the error persist?

    Anything related with your theme? if you change your theme the error persist?

    Thread Starter Rodrigo

    (@vejapixel)

    Is this error happening only for the avatar in comments made by not logged in users?

    Yes. This only happens with users who are not logged in. Users logged in, the plugin inserted the first letter of the name correctly.

    Which plugins are you using that might be interfering with users/comments information? If you disable all plugins the error persist?

    I disabled all plugins, except “Leira Letter Avatar”, and the error continues. This means that it is not in conflict with any plugin.

    Anything related with your theme? if you change your theme the error persist?

    I changed a default WordPress theme and the error continues (https://prnt.sc/10habk9).

    Plugin Author Ariel

    (@arielhr1987)

    @vejapixel I just tried a clean new wp installation, installed leira letter avatar and is getting the letter from user name.
    Which wp version are you using?
    Which theme?

    Thread Starter Rodrigo

    (@vejapixel)

    Hello @arielhr1987

    In your test on a clean wp installation, did you make comments with the initial of the name different from the initial of the email?
    For example, you comment with the name Ariel (initial A) and enter the email mynameisariel@gmail.com (initial M). Do you do it that way, does the letter A (initial of the name) appear to you?

    I’m using the latest version of wp, 5.7

    In one of my subsites, I installed the wpDiscuz plugin, and realized that the plugin shows the letter correctly, that is, it shows the initial letter of the name.
    In a comment I made, on the comments screen on the wp backend, it shows the initial letter of the email (https://prnt.sc/10nk648), but on the frontend it shows the initial of the name (https://prnt.sc/10nk6nx).

    The wpDiscuz plugin can capture the initial of the name, but the wp system captures the initial of the email.

    Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.