Re: need help with plugin
Put this in config, and just rename groups everywhere in your theme to courses.
define ( 'BP_GROUPS_SLUG', 'courses' );
But this won’t allow you to have both groups and courses, you’ll have to make a plugin/component for that.
Note: Haven’t tested that group slug before, so not sure if it works.