Ok, so this has turned into a two part question.
1. In my users activity feed (modified to show both @mentions, status updates, photos from bp-gallery etc) it shows guest posts as follows “@marty hey hows it going” — My Goal is to elinimate the @username and I’ve successfully done this with css by adding “Display: none;” on my “div.activity_data p a:first-child” style selector.
As you can see this has obvious flaws, it hides any first link in the activity feed data, and its hiding my 1st photo on activity updates made by BP-Gallery.
So, what I am trying to do, is add a (id=”remove_mention”) to the link that is generated by buddypress for the @mention so I can hide it.
The closest thing I could find was in (bp-activitybp-activity-filters.php) but had no luck modifying it to include this “id=remove_mention” I could only get it to add the id to all posts.
2. I have the post-form.php working correctly on profiles that are not the logged in users and am able to leave @mentions but having to manually type in the @mention before the message then post.
I would like to include the displayed users mention id to the forms data before being posted, (e.g what I’m doing now “@marty hey hows it going?” would like to type “hey hows it going” and have the @marty attached before posting much like on this site here.
Any help would be greatly appreciated, these are the last two major things I need to overcome before finishing up this site.