Hello
I would like to completely change the aperance of bp message search_form(), but don’t want to do it in bp-messages-template.php Becouse it will be probably overwritten after BP upgrade.
Copy bp_message_search_form() to your theme’s functions.php file then change the name to custom_message_search_form(). You can then use the custom search form function in your theme templates.