You should be able to add
<?php bp_add_friend_button(); ?> to your member template. If you don’t have a member template set-up, check out the Template Hierarchy article which will show you how to create one.
if i get it right, this code goes to
but do i need to create a function?
because if i just add the above line you posted, the code breaks and gives me a error message on screen when loaded…
sorry, i am not a coder…