• Resolved simonmnt

    (@simonmnt)


    Hi,

    I would to change gravatar image for name member on buddydrive-content.

    I found the the file and line but i don’t know what i change.

    <div class="buddydrive-actions">
    				<# if ( 'undefined' !== typeof data.user_avatar ) { #>
    					<a class="buddydrive-owner" href="{{data.user_link}}" data-user-id="{{data.user_id}}">{{{data.user_avatar}}}</a>
    				<# } #>

    data.user doesn’t work and i don’t found documentation.

    Thanks

    https://wordpress.org/plugins/buddydrive/

Viewing 2 replies - 1 through 2 (of 2 total)
  • This is actually a bug i think! Because if WordPress avatars are disabled from the discussion settings. I shouldn’t show avatars.

    I’ll need to take care of it in a future release. Thanks for your feedback. Once done, i’ll come back here to tell you how you can force it to display names.

    If you want to follow my progress you can go there https://github.com/imath/buddydrive/issues/74

    I advise you not to edit in place the BuddyDrive Javascript templates. But instead use the BuddyPress template overriding feature and create a /buddypress/assets/buddydrive/index.php within your theme. To achieve what you want you’d also need to filter buddydrive_prepare_for_js to add the user name, so that it’s available in the json output

    Thread Starter simonmnt

    (@simonmnt)

    Ok, thanks math

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘add member name’ is closed to new replies.