Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of Hugo

Inconsistency when turning at-username into link (4 posts)

Started 4 months, 1 week ago by: kwerri

  • Profile picture of kwerri kwerri said 4 months, 1 week ago:

    When people make comments in response to a post, if they type in the at sign followed by a member’s username (@username) sometimes, this turns into a link to the members profile. But sometimes, this does NOT happen.

    Does anyone know why? Or, can anyone point me to the code that does this?

  • Profile picture of Paul Gibbs Paul Gibbs said 4 months, 1 week ago:

    I think they should work fine in WordPress comments. If you can figure out how to make it stop working reliably, let us know on http://buddypress.trac.WordPress.org

  • Profile picture of kwerri kwerri said 4 months, 1 week ago:

    Hello Paul Gibbs,

    Unfortunately, I haven’t been able to make it stop working reliably, so I want to put logging to track the behaviour.

    Can you please point me to where I would need to go to put logging?

  • Profile picture of kwerri kwerri said 4 months ago:

    For anyone else who wants to know, the function is bp_activity_at_name_filter, and the location is wp-content/plugins/buddypress/bp-activity/bp-activity-filters.php