Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to tag people in a post so that they receive an email notification

  • @bbc

    Participant

    Hi

    I have tried to look up information about tagging people in the documentation section, but maybe I don’t use the right words, so I post my question here.

    If I understand it correctly I can “tag” people in a post in my forum. And I do that by @<username>
    And then they receive an email notification.
    Before I continue: is this correct?

    When this thus not work, where must I look?
    Can I also tag all the users at once, let say with “@All”?
    When I want want to tag more then one person, is this possible?
    – and how must I do that? Separate them with an enter, space, semicolon?

    I hope that one of you can help me out.

    Thanks

    Conrad

Viewing 23 replies - 1 through 23 (of 23 total)
  • @robkk

    Moderator

    @mentions is not part of bbPress yet.

    but for now you can use the @mentions feature from BuddyPress and use on forums with this code.

    copy this into your child themes functions.php or use a functionality plugin.

    function custom_bbpress_maybe_load_mentions_scripts( $retval = false ) {
    	if ( function_exists( 'bbpress' ) && is_bbpress() ) {
    		$retval = true;
    	}
     
    	return $retval;
    }
    add_filter( 'bp_activity_maybe_load_mentions_scripts', 'custom_bbpress_maybe_load_mentions_scripts' );

    and i think you would get an email notification from BuddyPress anytime you get @mentioned

    for multiple users you can just separate it with a space.

    @bbc

    Participant

    @robkk
    Thank for reaction.
    Is this the same code that bbpress is using on this forum?
    You are also talking about a plugin functionality
    Is there also a plugin who can do this?
    If not then I will ask my web builder to implement your code.

    Again thanx

    Greetings
    Conrad

    @bbc

    @robkk

    Moderator

    Is this the same code that bbpress is using on this forum?

    i dont think so, i think its something else, maybe just BuddyPress but i think they took out the notifications for each @mention.

    if you use what i am talking about you type @ then after that a bunch of users names show up that are in the topic for you to put their name in.

    You are also talking about a plugin functionality

    i mean a plugin that you can paste code snippets llke the one i put above into ,

    https://wordpress.org/plugins/functionality/

    Is there also a plugin who can do this?

    For @mention notifications , BuddyPress. For placing code snippets you can use the plugin i mentioned above.

    @bbc

    Participant

    Hi Rob

    I have an extra question
    If I read your post for the second time
    It looks if I can only tag people who are already in the threat
    Is that correct?
    Or can I (with your code) tag everyone who is one the forum?
    That is what I am looking for.

    Hope to hear from you.
    Thank Conrad

    @robkk

    Moderator

    you can tag anybody that is not in the topic manually.

    just type @username

    im talking about the little dropdown that suggests people to @mentino that is shown in this image that will show only people in the topic.

    here is the code any where i got it from

    Add the New BuddyPress Mentions Interface to bbPress Forum Replies

    @bbc

    Participant

    Robkk

    That is strange.
    The suggestion that you do.
    Manually tag people Sith @username.
    Is the thing that is not working on my site.

    Must i configure bbpress here for, and how?
    I have tried it without all plugins deactived and it did not work.

    Do you have an idea how I can active the standard tag feature from bores

    Greetings
    Conrad

    @robkk

    Moderator

    @bbc

    Do you have bbPress and BuddyPress activated??

    @bbc

    Participant

    No only bbpress wp411 and twenty twelve

    @robkk

    Moderator

    you need BuddyPress to use @mentions , bbPress does not support it yet.

    @mentions is not part of bbPress yet.

    but for now you can use the @mentions feature from BuddyPress and use on forums

    @bbc

    Participant

    Where or who can I ask to help me.
    To let the @username tag function work?

    @makaleenet

    Participant

    Thank for reaction.Great article 🙂

    @robkk

    Moderator

    @bbc

    Where or who can I ask to help me.

    i thought i already did help you??

    @bbc

    Participant

    @robkk

    I need à working tag function with in bbpress.
    At this moment it is not working.

    And I want to know who I can call or email at bbpress to help me out.

    That is why I am not helped.

    Greetings
    Conrad

    @robkk

    Moderator

    @bbc

    I already told you how to make @mentions work for bbPress.

    Is there anything confusing you from what i said , or do you want @mentions without BuddyPress??

    @bbc

    Participant

    @robkk

    Thank you for your patience
    I think I don’t understand it
    I taught you where saying that @mentions only worked for buddy press
    And use bbpress

    Is buddy press the same?
    How is buddy press related to bbpress

    Can you explain for a none techie what I must do and install
    To make tagging work on my bbpress forum

    I hope you want to do that
    You will make a lot of users of my forum very happy

    I have also an other request from them that want a like button just as on Facebook
    Is that possible with in bbpress?
    Thanks Again for your patience
    Greets
    Conrad

    @robkk

    Moderator

    I have also an other request from them that want a like button just as on Facebook
    Is that possible with in bbpress?

    i already replied to your other topic about a facebook like button.

    How can I get a "like button" ala Facebook within bbpress

    I taught you where saying that @mentions only worked for buddy press
    And use bbpress

    it should work for both.

    When you have installed both on your site..

    If you only have bbPress installed you do not get @mentions.

    If you only have BuddyPress installed you get @mentions.

    Is buddy press the same?

    They both improve your community.

    One is just forums (bbPress)

    the other is basically a lot features a social network usually has (BuddyPress)

    How is buddy press related to bbpress

    Same Lead Developer and both provide community functionality.

    Can you explain for a none techie what I must do and install
    To make tagging work on my bbpress forum

    Fist make sure you have installed both BuddyPress and bbPress then go to a topic and try to @mention someone. If it shows up in a link its working on your site.

    Tell me if you understand all of this.

    @marjons

    Participant

    Hello, I’m the webdesigner for BBC and installed both buddypress and the extra code for functions.php for him.

    However, the auto mentions only work from the text tab (not the visual), is this a bug?

    Also, it seems that some users get a notification, but some are not.

    Any idea what could be the problem?

    Thanks in advance!

    @robkk

    Moderator

    @marjons

    However, the auto mentions only work from the text tab (not the visual), is this a bug?

    i think the functionality to make the script work for the TinyMCE visual editor is not possible now. You see that we are basically just borrowing the script from BuddyPress to work for bbPress forums , and also that neither bbPress and BuddyPress have the visual editor in their default installations without some plugins or functions added.

    It is possible to make it work for TInyMCE though, you would probably have to use some of the code of this auto-complete plugin for TinyMCE.

    https://github.com/abrimo/TinyMCE-Autocomplete-Plugin

    If you want to develop some custom functionality to make it work for your client ,only thing i can suggest is look over how this plugin is developed and see how they make it work for TinyMCE and of course add on to the script from the BuddyPress plugin.

    wordpress.org/plugins/mentionable/

    Other than that maybe decide to disable the visual editor for bbPress to make it work fine.

    Also, it seems that some users get a notification, but some are not.

    If you are talking about the notifications users get when @mentioned , then go to the BuddyPress Support forums for help on this.

    https://buddypress.org/support/

    @marjons

    Participant

    Hello Rob,

    Thanks for your reply. I’ll have a look at the option you mention. Maybe I’ll get it to work that way.

    For the other question: yes, that’s what I was talking about. I’ll start a new topic on that one.

    @fivedayweekend

    Participant

    Great discussion and somehow have the same problem re @username. Thanks a lot for the answers!

    @robkk

    Moderator

    @marjons

    okay

    @mwbartko

    Participant

    When I use the script you provided it works but I also start to get the following errors.

    Warning: Cannot modify header information – headers already sent by (output started at /home/solida17/public_html/wp-content/themes/campaign-child/functions.php:7) in /home/solida17/public_html/wp-content/plugins/gd-bbpress-toolbox/modules/features/mod.tracking.php on line 313

    Warning: Cannot modify header information – headers already sent by (output started at /home/solida17/public_html/wp-content/themes/campaign-child/functions.php:7) in /home/solida17/public_html/wp-content/plugins/gd-bbpress-toolbox/modules/features/mod.tracking.php on line 325

    Warning: Cannot modify header information – headers already sent by (output started at /home/solida17/public_html/wp-content/themes/campaign-child/functions.php:7) in /home/solida17/public_html/wp-login.php on line 396

    Warning: Cannot modify header information – headers already sent by (output started at /home/solida17/public_html/wp-content/themes/campaign-child/functions.php:7) in /home/solida17/public_html/wp-login.php on line 409

    @robin-w

    Moderator

    you will have space characters at the start or end of stuff. recheck your files, amn make sure that when copying/pasting you haven’t taken any characters through

    usually Whitespace before <?php or after ?>

    and on line 7

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