Replies
- 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- Brajesh Singh on March 29, 2020 at 7:54 pm in reply to: [Resolved] Why are menu items pr default listed with dots? #28406
Hi Carsten,
Thank you for the question.
It is happening because they are list items and by default list items are styled that way.
You can override that by specifying list-style-type:none; on a proper selector(css selector depends on how you have put the code).
Regards
Brajesh Hi Mike,
Thank you.We are doing well. I hope you and your family are safe.
Please replace your display name filter
function my_bp_displayed_user_fullname() { global $bp; return $bp->displayed_user->userdata->user_login; } add_filter( 'bp_displayed_user_fullname' , 'my_bp_displayed_user_fullname' );with this
function my_bp_displayed_user_fullname( $name ) { return bp_get_displayed_user_username(); } add_filter( 'bp_displayed_user_fullname', 'my_bp_displayed_user_fullname' );That will fix it.
Regards
BrajeshHi Yuva,
Thank you for the question.We have the plugin working with Google Cloud storage currently. We haven’t added aws storage support yet. Will be doing that soon.
Please do let me know if you will be interested in the google cloud storage, I will share a copy.
Regards
Brajesh- Brajesh Singh on March 28, 2020 at 1:59 am in reply to: Moderated bbPress discussions and replies are still emailed out to users #28392
Hi Nabha,
Thank you.I will check it today and will get back to you in next 24 hours.
Regards
Brajesh - Brajesh Singh on March 27, 2020 at 10:01 pm in reply to: [Resolved] Remove the subject line requirement in messages? #28388
Hi Carsten,
Thank you for confirming. I am glad it worked.Regards
Brajesh