Replies
- This reply has been marked as private.
- calu on June 9, 2023 at 9:42 am in reply to: Organize user submitted images in the Media Library #49720
Hello Ravi, thanks for coming up with a solution to this issue, which I think would be of great help to all using BP.
Unfortunately images uploaded with MediaPress still appear in the Media library.
Regards
Carsten - This reply has been marked as private.
- This reply has been marked as private.
Hi Brajesh, thanks to Ravi for reporting back. Yes, I’m using BuddyPress Who’s online avatar block.
I guess I could change the hard coding, else is it possible to overwrite the widget file in my child theme?
Regards
Carsten- calu on March 30, 2023 at 10:03 pm in reply to: Slug to use to remove the “profile” subnav menu item. #49038
Hi Brajesh, sorry for not perceiving this in your reply. So the conclusion is, that it is not possible to remove this tab.
It is a bit redundant on other profiles, and does nothing good for the design with two profile tabs on top of each other. I guess I can hide it with css then.
Regards
Carsten Hi Brajesh, yes it is a bit strange, as the same avatar appears in the correct size 110x110px in the other widget.
Thanks, I appreciate Ravi is looking into this issue.
Regards
CarstenHi Brajesh, the code is in functions.php and is working fine with profile photo and widget avatars, except for avatars in the Who’s Online widget.
Regards
Carsten- calu on March 30, 2023 at 8:50 pm in reply to: Slug to use to remove the “profile” subnav menu item. #49030
Hi Brajesh, I’m sorry, but all solutions breaks my site. Clicking on a profile, directs to the frontpage.
Regards
Carsten Hi Brajesh, thanks for the clarification.
1. Yes, the avatar thumb size has been changed to 110px.
if ( ! defined( 'BP_AVATAR_THUMB_WIDTH' ) ) define( 'BP_AVATAR_THUMB_WIDTH', 110 ); //change this with your desired thumb width if ( ! defined( 'BP_AVATAR_THUMB_HEIGHT' ) ) define( 'BP_AVATAR_THUMB_HEIGHT', 110 ); //change this with your desired thumb height if ( ! defined( 'BP_AVATAR_FULL_WIDTH' ) ) define( 'BP_AVATAR_FULL_WIDTH', 450 ); //change this with your desired full size,weel I changed it to 260 :) if ( ! defined( 'BP_AVATAR_FULL_HEIGHT' ) ) define( 'BP_AVATAR_FULL_HEIGHT', 450 ); //change this to default height for full avatar
Regards
Carsten- This reply was modified 1 year, 7 months ago by calu.