Thank you for your response....those changes to layout were provided by JomSocial to remove the Invite Friends button.
This is a closed community and members cannot invite other members.
Do you have an alternative solution or what needs to be changed in the code to accomplish the same thing?
Regards,
Dom