Replies
- This reply has been marked as private.
hello Brajesh,
thanks for your support.
I check another time.
I will update it soon.
Thank you,
Giuseppe
Hello,
is there a solution for both tab issues #44289 and #44376 ?
Many thanks,
Giuseppe
- giuseppe on April 11, 2022 at 2:37 pm in reply to: [Resolved] Having name and last name in post and header #44379
Hi Brajesh,
yes you are perfectly right that problem is sync.
Thanks a lot for your wide support,
Giuseppe
Hello,
thanks a lot for your support. I had already translated strings, so the problem has arrived. Theme author sent me a new post-form.php to use to edit words directly and use in child theme. Considering that, for the moment, I just need Italian language it can be a solution, and it works.
Thanks again,
Giuseppe
Hello,
I have tried to remove “email” tab from profile with these settings (following here: https://buddydev.com/support/forums/topic/get-rid-of-settings-tab-with-plugin-buddypress-user-profile-tabs-creator-pro/ )
slug: “notifications”
enabled
Tab: “Email”
Tab slug “notifications”
Yes Predifined
Yes site admin
tab for Admin
visible for Admin
but it’s still visible to Users.
Do you have some suggestions?
Many thanks,
Giuseppe
- giuseppe on April 8, 2022 at 10:49 am in reply to: [Resolved] Having name and last name in post and header #44348This reply has been marked as private.
Hi Brajesh,
thank for your support.
It happens only for the member to post on group page.
Many thanks,
Giuseppe
- giuseppe on April 7, 2022 at 7:28 pm in reply to: [Resolved] different header with chrome and firefox #44331This reply has been marked as private.
- giuseppe on April 7, 2022 at 6:04 am in reply to: [Resolved] Having name and last name in post and header #44312
Hi Brajesh and thank you for your support.
I have tried and created the two fields and added the suggested snippet to hide the buddypress name function but it does not work.
Anyway this is a solution that can create, in an environment with a lot of customized code, problems that can become very difficult to manage.
So I have changed the registration page having two times the last name and so using one for the header and one for the full name using Force plugin.
The remaining issue is that Force plugin does not work properly as I have to manually update the new registration and the proposed code obviously does not work because it refers to Buddypress native full name.
/**
* Before activity post form.
*/
function buddydev_before_activity_post_form() {
add_filter( ‘bp_get_user_firstname’, ‘bp_get_loggedin_user_fullname’, 10, 2 );
}
add_action( ‘bp_before_activity_post_form’, ‘buddydev_before_activity_post_form’ );/**
* After activity post form.
*/
function buddydev_after_activity_post_form() {
remove_filter( ‘bp_get_user_firstname’, ‘bp_get_loggedin_user_fullname’, 10 );
}
add_action( ‘bp_after_activity_post_form’, ‘buddydev_after_activity_post_form’ );Is there a code to use name and last name as registered in wordpress?
Thank you very much as usual,
Giuseppe