The code that @wmcomdesigns provided is PHP and intended to be used in a template.
@planetoffitness There is built in dynamic link support for member profiles. e.g. try http://example.com/members/me/activity/mentions/ on your site (changing the domain obviously) to redirect to the logged-in user’s activity mentions page.
Dude I also rode around for at least a week to find all the information to do my way. But I did and it’s working a lot. I’m going to code for you.
The comments are in English, use google to translate.
See example there on my platform soamigo.com.br
See the ready code just put in the functions.php file of your theme.