Replies
Hi Brajesh, thanks for the clarification, it sounds like a good solution, but not easy to achieve, I guess.
Are there any documentation to find on the subject?
Regards
Carsten- calu on March 3, 2021 at 11:01 pm in reply to: Adding div class around Show Xprofile Field Data in The Profile Header code #36567
Hi Brajesh, thanks for bringing up the solution, appreciate it!
Regards
Carsten Hi Brajesh, thanks for the explanation, the term is new to me, what is table-less layout, and how do I exploit it in relation to xprofile fields which is based on tables?
Regards
Carsten- calu on February 20, 2021 at 5:14 pm in reply to: [Resolved] Upload avatars or cover images and delete accounts options blocked #36318
Hi there, the issue was part of a later break down of the hole page, so the issue was not caused by BP. The site is up and running again, after recreation, so all is good 😉
Regards
- calu on February 20, 2021 at 2:43 pm in reply to: [Resolved] Considerations about moving to Nouveau #36316
Hi Brajesh, thanks for your feedback, I managed the switch to Nouveau without too much effort.
Regards
Carsten Hi Ravi, it’s working now!
Thanks for your effort to help me in making it work, you are most kind
Regards
CarstenHi Ravi, thanks for the code. It output the same result.
What I need is to hide the two tags individually, so the statement should be an OR.
Is elseif = || ?
Hi Ravi, thanks again, you have been most helpful. For some reason it has no effect in this function, where this element should be hided on the /members/profilename/settings/ but I must look for a solution elsewhere.
add_filter( 'generate_hook_element_display', function( $display, $element_id ) { if ( 45256 === $element_id && bp_is_current_component( "bp-messages" ) || bp_is_settings_component() ) { $display = false; } return $display; }, 10, 2 );
Regards
CarstenHi again Ravi, can you inform me if
bp_is_settings_component()
is deprecated as well?Hi Ravi, thanks for the clarification, the
bp_is_user_profile_edit
is working, while thebp_is_profile_edit
is not. strange thatbp_is_user_profile_edit
apparently is not listed in the Template Tag Reference.Regards
Carsten