Hello Robin, Thanks for the quick reply. I have that plugin but it doesnt seem to work at all. I cant even see that it has any settings anywhere. I do have active right now, WP with Avada Theme, BBPress, bbp Style pack, bbpress notify, GD bbpress Attachments, and Ultimate Member and a few of its extensions for bbpress as it is a private forum.
on bbp style pack there is a check box to make @mentions help, but says you need buddypress or bbp-mentions-email-notifications which I have tried that plugin and it doesnt work either.
Would love to use your plugin but i cant get it to work at all.
I see on GIST there is some code for a bp-custom.php file which includes this
<?php
/** You could put this in the bp-custom.php file
* @see https://codex.buddypress.org/themes/bp-custom-php/
*/
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' );
I also see on that same Gist site that someone wrote this:
Interestingly or not tried this on a local dev install and it worked as expected on bbp topic textarea, thought no more and uploaded to a staging site where it apparently failed to work, after checking all the obvious, script enqueueing correctly etc found the only difference was I had the bbp textarea toolbar buttons activated, and indeed activating those on the staging site kicked the @mentions into life.
But I dont know where to activate the bbp textarea toolbar buttons.
ok, quite a while ago that I last looked at this area, I’ll try and take a fresh look when I can.
Thank you so much, it is an active site and just wish it had the drop down for @mentions working, the @robin-w works just fine on my site just wont populate while writing it is all.
@robin-w so looks like it was not working in my visual editor within bbpress but when i click on the text editor it does work. UGH, didnt think about that.Next question is there a way to make it work with visual editor? if not its okay but most people use the visual editor on bbpress instead of the text one is why i ask. Thanks again!!