I’ve gotten a hang of customizing the CSS of Buddypress in my custom theme, but now I want to augment the scripts to modify the user experience. Namely, I want to start with the following two things:
1) I want to clear the search bar after searching the main groups directory.
2) I want to stop the page from entirely reloading if someone tries to post a topic, but forgets a title and so loses all their other progress when the page reloads and the notification comes up. Just want the notification to come up via ajax.
What is the buddypress best practice for making these changes outside of the core bp files so that my modifications are not lost when I update BuddyPress down the road.
EDIT: I should mention that I am using the BP Template Pack to help make BP compatible with my custom theme.