Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Template Notice on Registration Error


techguy
Participant

@crashutah

It was easy. Luckily I was able to figure it out. Plus I could have done most of it in the theme too. The real key was that I needed to figure out how the errors were being passed on the registration page. Then, I figured they had to be in $bp and they were. Here’s the code I used in bp-custom.php

function registtration_screen_message_on_error() {

The message I want to appear for the user.

}
add_action( ‘template_notices’, ‘registtration_screen_message_on_error’ );

To get the errors and only display it if there are errors I used $bp->signup->errors

Just thought I’d share.

Skip to toolbar