Re: Facebook like for BuddyPress
But as @Svenl77 already stated, you have to taylor the code in order to add dynamic URL for forum posts or whatever. The article uses bp_activity_thread_permalink() for activity stream updates and bp_user_link() for user profiles.
I think that by adding the parameter for forum posts it will work there. Unfortunately, I do not know which parameter it is.
Edit: searching http://phpxref.ftwr.co.uk/buddypress/nav.html?_functions/index.html I found bp_the_topic_permalink(). Not sure if it is the correct template tag tho…