Reply To: Prohibit create groups with existing name
Is it possible to do the same with Events? For example in Events Manager plugin?
I’m not familiar with the plugin but likely you can do the same sort of thing. Drop the plugin author the same question on their support forum. Hopefully they’ll get back to you with the info.
so should we use
bp_core_add_message
function to show the user an error?
Yes, the bp_core_add_message() function will display a message you provide after a page reload. Be sure you have do_action( 'template_notices' ); in your template because the function will use that hook.