Replies
Hi Hans,
I am sorry but I am not sure I am understanding it correctly.I am unable to understand how a badge will be able to represent a custom action for the group. I have a few question.
1. is the badge assigned to group and is visible on group and not on user profile?
2. If yes, allowing group admin to create badge will make it meaningless, why would you like the option for group admin?Thank you
BrajeshHi Rav,
Thank you for the question.Please use the following code.
$read_count = BP_Notifications_Notification::get_total_count( array( 'user_id' => bp_loggedin_user_id(), 'is_new' => 0, ) );Regards
BrajeshHi Hans,
Sorry but I am not able to provide any snippet.BP Nouveau does not provide any consistent action hook between the header and the content.
If there were any, we could have used did_action() to easily accomplish it.My suggestion will be to override default-fron.php and put this line at top.
remove_filter( 'bp_get_group_description', 'bp_excerpt_group_description');That way, you remove the above filter from being applied to front page content.
Regards
Brajesh- Brajesh Singh on October 13, 2019 at 2:39 am in reply to: Member Types + conditional profile fields + Rehub Theme #25849
Hi Cap,
Sorry, I am not seeing the conditios on your current registration page.There are two reasons why this may happen.
1. A javascript error is preventing the plugin from applying conditions.
2. Or the markup is not confirming to the plugin’s default understanding.I doubt it is the first case as I can see some js error from various plugins there.
Regards
Brajesh - Brajesh Singh on October 13, 2019 at 2:35 am in reply to: Show full group description (mobile devices) #25847
Hi Craig,
Thank you for the question.
This is most probably happening dues to css media queries or text-overflow property.Are you using a custom theme?
Regards
Brajesh - Brajesh Singh on October 13, 2019 at 2:33 am in reply to: [Resolved] Username Availability Checker issue #25846
Hi Mac,
I am sorry. I could not release due to lack of time. Will need till Tuesday.Thank you
Brajesh - Brajesh Singh on October 11, 2019 at 1:40 am in reply to: [Resolved] Username Availability Checker issue #25837
Hi Mac,
Thank you.The usernames will be treated different on a normal WordPress install. “ian johnson” becomes “ian-johnson” for nice name.
The problem is BuddyPress is removing the space before inserting user
$user_login = preg_replace( '/\s+/', '', sanitize_user( $user_login, true ) );This was unexpected.
Anyway, I will push a release today or tomorrow with this fix and will let you know.
Regards
Brajesh - Brajesh Singh on October 11, 2019 at 1:11 am in reply to: [Resolved] Username Availability Checker issue #25835
Hi Mac,
Are you using BuddyPress registration? Hi Hans,
I will look into it and assist you tomorrow.Thank you
Brajesh- Brajesh Singh on October 10, 2019 at 10:26 pm in reply to: [Resolved] BuddyPress Group Badges #25830
Hi Hans,
Thank you for the suggestion.Can you please help me understand the following:-
1. What a group badge represents?
2. How do we assign a badge to a user(criteria)?
3. Who manages the group badges?(site admin, group admin?)Thank you
Brajesh