Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Support Daniel Tara

    (@danieltara)

    Hi. In order for a custom avatar to show up Elementor’s Author Box widget, one must first be added for said user outside of Elementor (i.e. in the edit user screen).

    I have tested the plugin with the Author Box widget and found it to work as expected, both backend and frontend. If you’re having issues getting it to work, please specify further details about your setup, like what other plugins you are using.

    I hope this helps.

    Thread Starter christofer92

    (@christofer92)

    Hello @danieltara, I’ll go into more specifics

    I’m doing some tests for a course platform (learndash + elementor + woocomerce)

    I am creating a user profile using the members area of ??woocomerce customized with elementor PRO.

    The shortcode [upload_avatar] I inserted it via php in the “edit-profile” tab of woocomerce so that each user can upload their own photo. The problem that once uploaded the photo is not displayed in the preview image of the elementor block “author box” (the default gravatar remains) while if I leave the default avatar of learndash it works. But for customization needs I should find a solution for the elementor block`.

    I hope I have explained, thank you very much.

    Plugin Support Daniel Tara

    (@danieltara)

    I’m guessing you are referring to the [avatar_upload] shortcode. If so, try adding the ‘user’ parmeter to it, like so:

    echo do_shortcode( sprintf( '[avatar_upload user="%s"]', get_current_user_id() ) );
    
    Thread Starter christofer92

    (@christofer92)

    Hello @danieltara

    Thanks for reply, unfortunately not work. i give you some screen:

    1) Block elementor used: https://prnt.sc/1qhye4t

    2) Shortcode that you gave me: https://prnt.sc/1qhylsl

    I did notice one thing though, upload the avatar as administrator work fine, but the avatar is universally loaded for each user in the site, subscribe and contributors included

    Thanks a lot!

    Plugin Support Daniel Tara

    (@danieltara)

    This may be a case of another plugin interfering with the avatar upload process. Go to Avatars -> Settings and check “Always use the browser file uploader to upload avatars”.

    Also please confirm that the avatars are being uploaded and assigned to the right users by going to Users where the avatars should be previewed. I’m trying to figure out if it’s an upload issue or a display issue. Thanks.

    Thread Starter christofer92

    (@christofer92)

    The avatar is loaded and assigned perfectly to the test user i created, but the administrator avatar remains visible in the frontend (account subscriber). Could it be that elementor is the problem?

    These are the active plugins on my site: https://prnt.sc/1qi24pk

    • This reply was modified 3 years, 7 months ago by christofer92.
    Plugin Support Daniel Tara

    (@danieltara)

    I have already tested Elementor’s author with the plugin box and found no issues. What happens if you deactivate all other plugins?

    Thread Starter christofer92

    (@christofer92)

    Hello Daniel, unfortunately! i stil have this problem. I create a new site with subdomain, and let’s see if it works with a new installation! i keep you update. Thanks a lot!

    Thread Starter christofer92

    (@christofer92)

    Hello @danieltara ,

    I did a fresh install and I keep seeing the site administrator avatar on a user account all the time.

    But I leave you a screen (https://prnt.sc/1qo6ruk) of the original site and not this new one. Does it work for you?

    thanks a lot!!

    Plugin Support Daniel Tara

    (@danieltara)

    What avatar do you see when logged in with a different user? I have a suspicion that you might be seeing the currently logged in user’s avatar and not necessarily the admin avatar. In that case it means that the viewed user’s ID is not properly passed.

    Thread Starter christofer92

    (@christofer92)

    Hello @danieltara, I see the admin avatar.

    I also did a test with all the admins logged out, but I still see the admin avatar in the user dashboard. What could be the cause in your opinion?

    Thanks a lot!

    Plugin Support Daniel Tara

    (@danieltara)

    It’s hard to tell since you’ve used custom code. I’m happy to take a closer look at your website if you’d give me private access.

    Thread Starter christofer92

    (@christofer92)

    Hello @danieltara

    Of course, I will create you a temporary login of 7 days, where can I send you the link? Thank you very much

    Plugin Support Daniel Tara

    (@danieltara)

    You can reach me here.

    Thread Starter christofer92

    (@christofer92)

    Hello @danieltara

    Now sent the message via your page. Thanks again

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Elementor author box’ is closed to new replies.