Replies
- Brajesh Singh on March 29, 2020 at 10:58 pm in reply to: How to separate "author page link" and "buddypress profile" in Youzer plugin? #28424
Hi Aditya,
Welcome to BuddyDev.I am sorry, but we do not provide any support for Youzer or Youzer compatibility of our plugins/themes too.
It is part of our unsupported plugins for compatibility/support.I will recommend asking the plugin developer for the support.
Regards
Brajesh - Brajesh Singh on March 29, 2020 at 10:52 pm in reply to: [Resolved] Replace text on tabs with icons #28422
Hi Carsten,
BuddyPress does not offer tab icons out of the box. That’s why I meant in my previous reply.The above code is for a theme which supports icons and I am providing an example on how to use the code for an icon.
Regards
Brajesh - Brajesh Singh on March 29, 2020 at 10:00 pm in reply to: [Resolved] Replace text on tabs with icons #28418
Hi Carsten,
Since your theme does not support it, I am unable to assist you with this. The efforts needed is beyond our support.
You may want to check our Community Builder theme(Freely available) and see if it can help in anyway.
Regards
Brajesh Hi Carsten,
I am sorry, I do not see anything wrong with that.You are using the ‘bp_after_member_body’ which gets fired on all user pages. That’s why the button is visible.
I am not sure of your purpose but you should most probably use a different hook.
Regards
Brajesh- Brajesh Singh on March 29, 2020 at 8:49 pm in reply to: Moderated bbPress discussions and replies are still emailed out to users #28415
Hi Nabha,
Thank you.I had a look at these filters. They are fired when an activity is created. We can not take decision when activity is created as the flag for moderation does not exist then.
Once an activity is marked as reported, we need a filter that allows us to exclude items before they are sent via mail. This allows us to check if the activity is in moderation queue and help us take decision.
Please do let me know if you get some response from them.
Regards
Brajesh - Brajesh Singh on March 29, 2020 at 8:41 pm in reply to: [Resolved] Why are menu items pr default listed with dots? #28414
Hi Carsten,
You are welcome.Try right clicking and inspecting the element. There might be an empty list item.
Regards
Brajesh Hi Yuva,
I have sent a copy to your mail.Please do open a new topic if you need assistance with it.
Regards
Brajesh- Brajesh Singh on March 29, 2020 at 7:55 pm in reply to: [Resolved] Replace text on tabs with icons #28409
Hi Carsten,
Thank you for the question.Does your theme support icons for profile tab? I helped on that topic as their theme supported it and I only had to help him with specifying icon code.
Regards
Brajesh - Brajesh Singh on March 29, 2020 at 7:55 pm in reply to: [Resolved] Roles in register form according to option select #28408
Hi Jennifer,
Thank you for the question.Your best bet is to do it on ‘bp_core_activated_user’. Check for the xprofile field and user set_role() over the user object to set role.
Here is an example, Please feel free to customize according to your needs.
add_action( 'bp_core_activated_user', function ( $user_id ) { $user = get_user_by( 'id', $user_id ); $field_id = 20; // Numeric field id. // We need raw data not in displayable form, so I am not using xprofile_get_field_data $field_val = maybe_unserialize( BP_XProfile_ProfileData::get_value_byid( $field_id, $user_id ) ); // example of setting role. if ( 'ans1' == $field_val ) { $user->set_role( 'subscriber' ); } }, 1 );Regards
Brajesh Hi Carsten,
Please share 2 screenshots to show me the issue. I will need more details to provide assistance.Regards
Brajesh