the single topic is not compatible with buddyboss 2.0
in continue with this topic:
https://buddydev.com/support/forums/topic/badges-can-be-displayd-in-the-same-line-with-name/the badges now appears twice
see my image here:
https://drive.google.com/file/d/1wVVOqwc-WAbB4L_lJsnTR_uhQKdb_VDc/view?usp=sharingi do use the custom CSS above.
without it the badges is displayed 3 times as here:
https://drive.google.com/file/d/1J6r5AasZJ-DHR-7soJGyV7_k8i6pICnL/view?usp=sharingi fixed it with this CSS:
.bp-user-badges-badge-list {
display: none;
}
and if someone is intersted to display the badge in same line with name:
.item-meta .bp-user-badges-badge-list {
display: inline;
padding: 10px;
}*****************
only thing remain and i need your help with please –
the badge doesnt disalyed in the main topic (first message in a discussion)
https://drive.google.com/file/d/12_FbIhSpldX-ptVSVkY67co3cQ7DWlIU/view?usp=sharingi assume it baecause the buddyboss removed the profile avatar and information for main topic message?
dont get why id they do that…
how can we fix that so the badge (also dont mind all the info – avatar and name) to be displayed?
this is important to me please help me with that?Hi,
Thank you for creating this topic and sharing the details.I will have the update within next 24 hours with a solution.
Regards
BrajeshHi,
Thank you for the patience.Please add the following code too
add_filter( 'bbp_get_topic_author_link', function ( $link , $args) { if( isset( $args['type']) && 'name' != $args['type']) { return $link; } if ( bbp_is_single_topic() && function_exists( 'bp_user_badges_get_user_badges_html' ) ) { $link = $link . bp_user_badges_get_user_badges_html( bbp_get_topic_author_id() ); } return $link; }, 10, 2 );
That should show the badge in the main topic.
Regards
BrajeshHi,
Thank you for the replies.1. The link takes to the link you set while creating/editing badge in the User->Badges screen.
2. I checked, It is not linking to discussion. It is not linking to anything. Since the link is not pointing to here, It is leading to current document/page opened.Do you want the link on the badges to take somewhere or do you want to disable the link completely? Please let me know and I will assist.
Regards
Brajeshok i set the link inside the badges settings works great, but can the lnk be open in new window?
secondly
one more issue,
please see this image : the badge is over the message icon inside the members directory:
(buddyboss theme new 2.0 )
https://drive.google.com/file/d/1bEroS9O-1-Z4pbQcMHhkJVRLFYpw-M7l/view?usp=sharingHi,
Please allow us to check on Monday.are you using any custom css for badges? If yes, Please share the same.
Regards
Brajesh
You must be logged in to reply to this topic.