Skip to content
Neil McGillivray edited this page Dec 7, 2016 · 1 revision

Source: https://buddypress.org/support/topic/a-modern-plugin-that-allows-registration-only-with-an-invite-code/

"The plugin is customised for a client, so the confirmation e-mail has been removed."

Anyway, you can re-enable it by deleting from line 653 to the end of file, so the confirmation email will be sent.

On line 684 there is funnction that is redirecting user to a custom welcome page. You can delete this function to avoid redirection or change the page id to your custom one.

I hope to find out some time to make this options to be selected from the admin panel. In the meanwhile this plugin maybe can do the trick anyway.

` //redirect user tu custom page after register function bp_redirect($user) { $redirect_url= get_permalink(20); //change with your welcome page id bp_core_redirect($redirect_url); } add_action(‘bp_core_signup_user’, ‘bp_redirect’, 100, 1);

Clone this wiki locally