Daniel Tara
Forum Replies Created
-
Forum: Plugins
In reply to: [One User Avatar | User Profile Picture] Meta Field for Import?Hi,
The avatars are stored in the usermeta table with the key ‘user_avatar’ prefixed with the current blog prefix.
For a non-multisite installation with the default ‘wp_’ prefix the key would be ‘wp_user_avatar’. You can check to see which key your website uses by performing this query:
SELECT * FROM `wp_usermeta` WHERE `meta_key` LIKE '%user_avatar'
I hope this helps.
Forum: Plugins
In reply to: [One User Avatar | User Profile Picture] Elementor author boxHi. 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.
Forum: Plugins
In reply to: [One User Avatar | User Profile Picture] Not working with BuddyBossIf I understand correctly, you are trying to change the default avatar while keeping BuddyBoss’ custom avatar functionality and allowing users to keep using Gravatar.
I’m afraid One User Avatar is not the right plugin for this job. It is intended to be a full replacement of the custom avatar functionality. It is currently not compatible with BuddyBoss or BuddyPress.
However, what you are trying to do is possible, you just need to add a tiny bit of code. This should go into either you child theme‘s functions.php file or a custom plugin file:
add_filter( 'bp_gravatar_not_found_avatar', function() { return 'https://yoursite.com/path/to/default-avatar.jpg'; } );
Replace
https://yoursite.com/path/to/default-avatar.jpg
with the path to the image you want to use as default avatar. You can upload that to the media library and copy the link from there.