Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove @Mentions


  • shonty
    Participant

    @shonty

    Hi guys,

    I’d like to use Activity Streams but not with @mentions. My users find it confusing having a display name and then their login name shows under their profile pic for @mention purposes. Trying to explain it to them is annoying. It also looks confusing.

    I see that when I use the @mention I can find them by their display name anyway and their login name (@mention name) is beside it. If there are duplicate display names I just scroll down the list until I find the right one. So, it doesnt really need to show their login name as the @mention does it?

    Anyway. I cannot find a way to remove @mentions unless I turn off Activity Streams.

    If I turn off Activity Streams I also lose the ability to comment on a photo with a photo, with RT Media. Because they require Activity Streams to be activated for that to work. Again, very annoying.

    Buddypress Groups is also useless without Activity Streams.

    So is Friends.

    At the moment it is easier to have Activity Streams turned off, than deal with the confusion but what a shame I cant use Activity Streams without it. Then I could use friends and groups and NOT confuse my users with @mentions.

    Any help would be awesome. I did find a plugin called “No @mention” and it crashed my site.

    Thank you all

Viewing 6 replies - 1 through 6 (of 6 total)

  • clickallco
    Participant

    @clickallco

    Do a quick search on the forum and you’ll find many other topics on this. Here’s an example

    https://buddypress.org/support/topic/disabling-mentions/


    shonty
    Participant

    @shonty

    Thank you Clickallco. I had already tried that topic and many others. The advice given on your example was given over 6 years ago and does not work. I end up with the code showing at the top of my site and the @mentions still showing.


    clickallco
    Participant

    @clickallco

    I’ve tried a fresh install of Buddypress with a standard wordpress theme and can’t replicate your issue.

    The following code still works for both the bp legacy and bp nouveau templates.

    add_filter( 'bp_activity_do_mentions', '__return_false' );

    Perhaps you have something else bugging it somewhere in your theme or plugins.

    Otherwise it might be best just hiding it through plain css for the time being, e.g.

    .buddypress #activity-mentions-personal-li,
    .buddypress #activity-mentions,
    .buddypress .user-nicename {
    	display:none!important
    }

    clickallco
    Participant

    @clickallco

    I end up with the code showing at the top of my site and the @mentions still showing.

    You mentioned this though – it sounds like you perhaps misplaced the code. Where did you insert it?


    shonty
    Participant

    @shonty

    hey Clickallco!

    That css code was EXACTLY what I wanted. Thank you so so much! This issue is resolved.

    If you have the time could you consider looking at another ticket I have open?. Now that I can have Groups again. The issue there is I have duplicate “Topics” and “Replies” showing in my Groups Activity Filter.

    That ticket is here

    Duplicate Topics and Replies


    shonty
    Participant

    @shonty

    @clickallco

    Thank you for also providing a temporary fix for the above. I have one more open topic here if you get bored. I could really use the answer for this too and I’ll be on my way:)

    Buddypress Filters – On hover: background color

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Skip to toolbar