• Resolved marcsnt

    (@marcsnt)


    Hello everyone!
    I’m new of Dokan plugin.

    I need to know if there is a filter that can disable the function to get the profile picture.
    I have a conflict with the theme I’m using. I should disable the vendor profile image feature only of the Dokan plugin.

    Thanks!

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

    (@fayeakuzzaman)

    Hello @marcsnt ,

    Would you mind specifying a little bit more about which profile image you referred to? Do you mention the profile image of the Single Store page or the profile image is shown on the Store List page?

    Currently, any hook is unavailable that will allow not to fetch the vendor’s profile image. However, you can override the templates in this case which is however not recommended. To see how the single store page’s vendor profile image is appearing, you can navigate to wp-content/plugins/dokan-lite/templates and check store-header.php file.

    If you want to check the functionality of the store listing page then you need to navigate to wp-content/plugins/dokan-lite/templates and have a look at to store-lists-loop.php file.?

    Thread Starter marcsnt

    (@marcsnt)

    Hello!
    Thanks for the reply @fayeakuzzaman

    I try to explain the problem:
    I have a theme that allows users to register and update their profile photo from the front-end user menu.
    If I activate the Dokan plugin, this profile photo uploaded from the front-end of the theme (not from the dokan vendor dashboard) is not displayed. If deactivate the Dokan plugin the problem does not exist.
    I would like to know how to prevent Dokan from reading or changing the seller’s profile photo, in short, disable this function

    I add:
    the user’s profile photo should only be managed by the theme functionality and not by the Dokan plugin



    Thank you so much!

    • This reply was modified 2 years ago by marcsnt.
    • This reply was modified 2 years ago by marcsnt.
    Plugin Support Md Fayeakuzzaman

    (@fayeakuzzaman)

    Hello @marcsnt ,

    Thank you for sharing the insight with us. Any default functionality is currently unavailable to remove the function associated with the profile photo. However, I can share an additional CSS with you to disable the profile picture upload field from the settings panel of the vendor dashboard.

    Please add the custom CSS in the Additional CSS section. The custom CSS will remove the profile image upload field. When you disable the area, anyone cannot add any extra profile image. That means previously added profile images will be available for this specific user.

    form#store-form .dokan-form-group:nth-child(4) {
    display: none;
    }

    Hope this information will be help.

    Plugin Support sazdhossain

    (@sazdhossain)

    Hi?@marcsnt

    Due to inactivity, we are marking this topic as resolved. For any further issues or queries, feel free to create another.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘disable the function to get the vendor profile picture’ is closed to new replies.