Replies
Hello La,
Thank you for posting. Please let me know your exact requirements so that I can help. Are you looking for role-based default cover images or any single default cover image that would apply to all the users without a cover image? Please let me know.
Regards
Ravi- Ravi on April 11, 2024 at 10:04 pm in reply to: [Resolved] User change avatar and cover photo #52334
Hello La,
Thank you for posting. You do not need any specific plugin to allow users to upload cover photos and avatars as it is there in the BuddyPress core plugin. There is a settings under Settings > BuddyPress > Options > Community Members in the backend and make sure “Profile Photo Uploads” and “Cover Image Uploads” are enabled.
On frontend: You can see sub-tabs “Change Profile Photo” and “Change Cover Image” under the profile menu from there users are allowed to upload
Regards
ravi - Ravi on April 11, 2024 at 1:05 pm in reply to: Is Buddypress Google Maps compatable with Buddyboss #52330
Hello Gene,
I have tested it with BuddyBoss(2.5.80) and it is working fine for me. Please give it a try.
FYI, It provides the basic functionality of google Maps where group admins can add a location in their settings and it will reflect on the “Map” tab of the group.
Regards
Ravi - Ravi on April 11, 2024 at 12:42 pm in reply to: Is Buddypress Google Maps compatable with Buddyboss #52328
Hello Gene,
Sorry for the delayed reply. I am assuming with the “Buddypress Google Maps” plugin you are referring to the following plugin:
https://buddydev.com/plugins/bp-simple-google-map/I am checking this plugin with BuddyBoss and will update you soon.
Regards
Ravi - Ravi on April 9, 2024 at 7:59 pm in reply to: Is Buddypress Google Maps compatable with Buddyboss #52324
Hello Gene,
Welcome to the BuddyDev forums. Sorry, But I am not getting your issue your issue properly. Will you please help me in understanding your issue so that I can help?
Regards
Ravi Hello La,
Thank you for the acknowledgement. I am glad that I could help.
Regards
RaviHello La,
Please download the plugin “BP Shortcodes” from the following URL:
https://github.com/buddydev/bp-shortcodes/archive/refs/heads/master.zip
Install and activate it and use the shortcode like follows:
For the profile photo replace user_id with yours or use username for displaying the photo [bpsc-profile-photo user_id=1]
and for displayed user name use
For display name. Replace user_id with yours also you can use [render_user_display_name user_id=1]
Regards
RaviHello La,
See if the following can help you.
/** * Set different default background images based on user roles * * @param array $settings * * @return array */ function buddydev_set_custom_default_profile_cover( $settings = array() ) { $displayed_user_id = bp_displayed_user_id(); if ( user_can( $displayed_user_id, 'list_users' ) ) { // Users with administrator role. $settings['default_cover'] = 'http://example.com/cover-admin.jpg'; } elseif ( user_can( $displayed_user_id, 'moderate_comments' ) ) { //editor // Users with editor role. $settings['default_cover'] = 'http://example.com/cover-editor.jpg'; } elseif ( user_can( $displayed_user_id, 'edit_published_posts' ) ) { //author // Users with author role. $settings['default_cover'] = 'http://example.com/cover-author.jpg'; } elseif ( user_can( $displayed_user_id, 'edit_posts' ) ) { // Users with contributor role. $settings['default_cover'] = 'http://example.com/cover-contributor.jpg'; } else { // Users with subscriber role. $settings['default_cover'] = 'http://example.com/cover.jpg'; } return $settings; } add_filter( 'bp_before_members_cover_image_settings_parse_args', 'buddydev_set_custom_default_profile_cover', 40 );
Regards
RaviHello La,
Thank you for posting. In the backend Capabilities > Capabilities screen on checkbox hover you can see the capability name and Using these capabilities, you can try it.
Instead of this
bp_before_xprofile_cover_image_settings_parse_args
use this
bp_before_members_cover_image_settings_parse_args
If still facing issues you can share the capabilities with me and I will share the code. Please let me know
Regards
Ravi- Ravi on April 4, 2024 at 7:00 am in reply to: Menu plugin? Buddy Press Menu isn’t adding to Menu #52268
Hello La,
Please let me know what toolbar you are pointing to. It would be nice if you could share the screenshot or short video of the issue so that I can assist to better with this.
To share you can use sites like: https://imgbb.com/
Regards
Ravi