I have tried that, but have limited knowledge of php, so the whole thing crashed. I copied the function.php file from buddypress, put it in the child theme’s folder, and then inserted the code after the initial <?php. It crashed. So then I cut it, and put it at the end, it just displayed the text, so then I cut it and put it right before the final ?>
I’m doing something wrong, just can’t figure it out.