Re: Need help locating the activity-header code
I’d like to know how you do that… I’m trying to alter the layout of the updates on our (child theme) activity stream page at http://www.hypergripe.com/activity/ so that when a blog update is mentioned, the permalink to the blog post is on the next line and bolded, or in an h3 tag or something to look like a blog title – (the way the code is now the second link does not have a css identifier, and adding css to that specific link is impossible – i think).
I tried to alter the core bp-blogs.php file on line 433 and line 468, where it SEEMS the code for the activity stream is getting generated, but when I change this line:
$activity_action = sprintf( __( '%s wrote a new blog post: %s', 'buddypress' ), bp_core_get_userlink( (int)$post->post_author ), '' . $post->post_title . '' );
$activity_action = sprintf( __( '%s wrote a new blog post: %s', 'buddypress' ), bp_core_get_userlink( (int)$post->post_author ), '
' . $post->post_title . '' );
then upload it, there is no change on the activity stream page….
I’m baffled. Ya, I know I’m changing core files – I’ve customized a few core files but have made a schedule of changes for future updates – or until there are gentler fixes.
Thanks in advance – your participation in other threads has been very helpful!