Replies
Hi,
I had a look and I do see that the preloader does not work with inline content.The problem is inline content loads immediately and it is the image inside the content which takes time to load.
Currently, I am not seeing any direct way other than implementing our own loading indicator for image(something like lazy loading).
Regards
BrajeshPlease copy the contents from “community/buddypress” and move to “community/” and they will work.
For example, activity goes to community/activity.Regards
Brajesh- Brajesh Singh on July 21, 2020 at 3:36 pm in reply to: Mediapress create a white space at top of mobile screen #31851
Please share exact version of WordPress/BuddyPress and OS(Android/IOS), Browser details.
Also, Please tell me which page did it happen? Are you able to see the same on MediaPress demos site?
Thank you
Brajesh Hi Theo,
Thank you for the reply.The BuddyPress Better Message works fine with Community Builder/Community Builder pro.
Regards
Brajesh- Brajesh Singh on July 20, 2020 at 9:40 am in reply to: Logout Redirect to Mainsite for Multisite/BuddyPress confusion #31840
The plugin was meant for a multisite(WordPress MU at that time) where if a user logged out from a sub site, they would be redirected to the main site’s home page. It should have no effect on normal WordPress install.
Regards
Brajesh - Brajesh Singh on July 20, 2020 at 9:24 am in reply to: Logout Redirect to Mainsite for Multisite/BuddyPress confusion #31837
Hi Carsten,
Thank you for the question.The logout redirect is for WordPress multisite. It doe snot redirect to profile. The description is incorrect.
Please use Login redirect instead.
Regards
Brajesh - Brajesh Singh on July 20, 2020 at 6:08 am in reply to: [Resolved] Change name in Buddypress profile from 'Gallery' to something else #31834
You are welcome.
- Brajesh Singh on July 20, 2020 at 6:07 am in reply to: Different Member Types, Different Display Names #31833
Hi RES,
Thank you for the question.It is a simple customization. you can do it with a couple of lines of code.
I will rephrase your question and share the code.
Here is the code that will show nice name for all users except the teacher(for them, let the full name work).
/** * Filter Display Name. */ add_filter( 'bp_core_get_user_displayname', function ( $name, $user_id ) { if ( ! bp_has_member_type( $user_id, 'teacher' ) ) { $name = bp_members_get_user_nicename( $user_id ); } return $name; }, 10, 2 ); /** * Filter Displayed User full name for BuddyPress. */ add_filter( 'bp_displayed_user_fullname', function ( $name ) { if ( ! bp_has_member_type( bp_displayed_user_id(), 'teacher' ) ) { $name = bp_members_get_user_nicename( bp_displayed_user_id() ); } return $name; } );You can put it in bp-custom.php in plugins directory or functions.php of your theme.
Regards
Brajesh - Brajesh Singh on July 20, 2020 at 4:09 am in reply to: [Resolved] Hide buddypress block button in members directory #31832
Hi Tosin,
Thank you for the suggestion. It will be available as part of our upcoming release this week.I will post back after the release.
Regards
Brajesh - Brajesh Singh on July 20, 2020 at 4:06 am in reply to: BuddyPress Confirm Actions support for buddypress block users plugin #31831
Hi Tosin,
Thank you for the suggestion.I am not sure if we should do it as an option since Confirm Action is a different plugin. We have an update of BuddyPress Block User this week and I will let you know how to achieve this after the release(may be adding some code to enable it).
Thank you
Brajesh