BuddyBoss Home – Web › Support Forums › General › Requests and Feedback › Show @handle in activity feed / forums
Tagged: @ handle, comment, Notifications
- This topic has 12 replies, 5 contibutors, and was last updated 8 years, 5 months ago by Anonymous.
Question
October 18, 2014 at 3:22 am #32690Answers
October 24, 2014 at 8:51 am #32892@milena@style960, it’s especially painful with folks like you who have a totally different user name 🙂
I think the issue with the buddypress activity was solved in
buddypress 2.1.1
“Forget the old days of trying to remember someone’s username when you want to @mention them in a conversation! With BuddyPress 2.1, type a @ when leaving a status update or commenting on an activity item or blog post, and the new suggestions panel will open.”bbpress needs this bad though. thanks for nagging them
October 24, 2014 at 12:33 pm #32894@style960@milena I’ve seen that yeah. To be honest, I’d picked up on this problem from using the forums on here, so maybe it’s a bbpress issue. I did originally suggest this on the BP forum a few months ago and got told to “think Buddypress, not Twitter”. Maybe it did gain some traction at some point though 🙂 On my username – at the time I was purely thinking in terms of WordPress login, not aware it would default to an @handle. Something for me to think about on my own site for user registration maybe. See what test feedback I get. I’d still like to show the @handle beneath the username in activity feeds though if I’m honest.
October 27, 2014 at 1:26 am #32959@milenaYep, it would make things easier. I don’t know if my users will understand that they can mention someone by using a @handle. Having it beneath the username would make it more intuitive.
The forums could only benefit from becoming more “buddypress”.
There are great things in both of these plugins, I wish they would just borrow more from each other:) It would make the site more uniform too.October 27, 2014 at 3:14 am #32960@style960I’m going to add the @handle at some point. Can’t be more than editing a few template files and adding a little css. Will share when I’ve figured it out.
October 27, 2014 at 3:16 am #32961@milenaPaul, how come the buddypress forum has the @handle under the user name? https://buddypress.org/support/topic/comment-notifications/
October 27, 2014 at 5:38 am #32965@style960I’m pretty sure that’s new, very recent – possibly added in the last few days. Maybe it’s under testing. That’s exactly what I was thinking of, hopefully that will be extended across activity streams and user profiles. If they could add a live notification system too, Buddypress would be superb.
February 8, 2015 at 3:43 pm #35636@milenaHi Paul 🙂 I just noticed that the forums here display @handle under the username- is that something new? I don’t have that in my child theme (buddyboss updated to the latest one )
@style960 @tjchesterFebruary 8, 2015 at 4:16 pm #35639@milenahey again,
I found this code
/** * Add @mentionname after bbpress forum author details */ add_action( 'bbp_theme_after_reply_author_details', 'mentionname_to_bbpress' ); function mentionname_to_bbpress () { $user = get_userdata( bbp_get_reply_author_id() ); if ( !empty( $user->user_nicename ) ) { $user_nicename = $user->user_nicename; echo "@".$user_nicename; } }
in this bbpress thread-
https://bbpress.org/forums/topic/putting-the-mention-below-name/,and it works. But still wondering- was it added to the theme or is it custom added to this forum?
February 10, 2015 at 7:10 am #35745@style960@milena I would say this has been custom coded – I don’t see @names on bbPress by default with any theme.
February 10, 2015 at 11:24 am #35756@alyssa-buddyboss
AlyssaParticipant@milena @style960 we added this to our functions.php file:
function buddyboss_add_handle (){ echo '<span class="bbp-user-nicename"><span class="handle-sign">@</span>'. bp_core_get_username(bbp_get_reply_author_id(bbp_get_reply_id())) .'</span>' ; } add_action( 'bbp_theme_after_reply_author_details', 'buddyboss_add_handle' );
February 2, 2016 at 3:04 pm #57942@bryceevans@tjchester – I tried that fix you provided above and it broke everything, haha. Is there a different way you’re doing it now? Or I possibly put it in the wrong place?
I added it to functions.php of the child theme in the section where it says to add the custom code.
May 26, 2016 at 11:11 pm #70782@
AnonymousHi @bryceevans
If you still need assistance please simply open a new tickets (linking to this one if necessary)
and one of the team will be only too happy to help.
Regards
Varun Dubey
- The question ‘Show @handle in activity feed / forums’ is closed to new replies.