Open allendav opened 9 years ago
@allendav so does the @mention functionality not currently work on self-hosted blogs?
No, it's not working on self-hosted blogs.
+1 to fixing :)
+1 to fixing as well. @allendav could you point me in the direction of where I should start looking to fix this? I can't seem to figure out where this code exists but I'd like to take a stab at it.
As for getting mentions to work for myself, the notifications feature of BuddyPress has enabled email notifications and @mention linking. However it doesn't have the autocomplete functionality.
What I've found so far is O2 is attempting to enqueue a javascript file which doesn't exist anywhere. I found this in the o2_Suggestions class here: https://github.com/Automattic/o2/blob/cc022db37da7d1274cfc499a7f2ba0cff5a8c9ea/modules/suggestions/load.php#L20
I believe suggestions.js should exist here but it does not: https://github.com/Automattic/o2/tree/cc022db37da7d1274cfc499a7f2ba0cff5a8c9ea/js
Can this file just be dropped in or must it be modified for use outside of WordPress.com?
This is a hard one to explore creating a patch for, particularly if there is working code that needs to be ported over. I can hide the filter, but having @mentions appear as one of the options in the O2 filter widget teases how nice this would be to have on a self hosted install:
It looks like this is tied to Jetpack, but doesn't seem to want to trigger (I can't find mention of this at all in the Jetpack repo): https://github.com/Automattic/o2/blob/master/modules/suggestions/js/suggestions.js
+1
+1
Any update on this? I would love to see this feature :)
The field guide for O2 states that mentions work but I setup via hosted Wordpress.com and it is not working.
Would love an update here.
Allow admin, editor and author users to @mention other blog users in posts and comments. The implementation should also include email and/or admin-bar notifications.
The majority of the front-side code is already there. This is already supported as well for o2 on WordPress.com. It is the self-hosted server side work that needs fleshing out.