• Resolved seccyeth

    (@seccyeth)


    Hi,

    I’d just like to display the user’s profile picture that people upload via their user-account page. Unfortunatly, all Elementor pro dynamic “user profile picture” seem to fetch another one (the one from “Accounts” on the WP Dashboard, which is different from the Masterstudy one).
    How can I fetch the profile picture from Masterstudy? (as you do in the Side Profile Menu)

    Thanks in advance,

    Adrien

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support EricStylemixThemes

    (@ericstylemixthemes)

    Hello @seccyeth,

    Thank you for reaching out!

    YOu can review the following file to check how LMS uses a user avatar.

    wp-content/plugins/masterstudy-lms-learning-management-system/_core/stm-lms-templates/account/private/parts/avatar_edit.php

    Regards

    Thread Starter seccyeth

    (@seccyeth)

    Hi @ericstylemixthemes ,

    Thank you for your answer and for pointing me to the right direction.

    Unfortunatly, my php level is not very advanced, and I think it’d be a nice addition to add a shortcode allowing us to display the current user’s avatar, as elementor or such plugins will always go and fetch buddypress/wordpress avatars. I’ve tried my luck/skills creating such a function, but that seems to be out of my league.

    Thanks anyway, and have a good day,

    Best regards,

    Hi, @seccyeth

    Unfortunately, we can’t give code snippets as it all depends on the conditions, installed plugins, and database on the website and system settings.
    What works correctly on our side may not work correctly on your side.
    In the comments of the plugin, we cannot provide such support.

    You can contact the customization department with this request:

    Link

    Best regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Dynamically display user’s profile picture’ is closed to new replies.