[buddypress-trac] [BuddyPress Trac] #5934: Enabling suggestions for @-mentions in groups component

buddypress-trac noreply at wordpress.org
Mon Oct 13 08:50:28 UTC 2014


#5934: Enabling suggestions for @-mentions in groups component
-------------------------+------------------
 Reporter:  m@…          |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  2.2
Component:  Groups       |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------

Comment (by m@…):

 Adding the condition bp_is_groups_component() in bp-activity-functions.php
 results in performing bp_activity_maybe_load_mentions_scripts() for a
 Group's activity stream.

 Corresponding script also get loaded for Group Forums with that.
 Specifically for forums, in addition, class="bp-suggestions" needs to be
 assigned to the textarea in groups/single/forum/topic.php, as target for
 the mentions script.

 With that, suggestions work for legacy bbPress Group forums.

 I assume BuddyPress' groups/single/forum/topic.php template is also used
 for bbPress 2.x forums? If so, suggestions should work for that variant in
 a similar way.

 Please correct me if I'm wrong, thanks.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5934#comment:7>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list