No Unauthorized Message for profiles
Author | Posts |
---|---|
May 16, 2013 at 4:59 pm 3704 | |
Hi, On Forms there is an option to show an Unauthorized Message when posts can only be made to logged in users. But this is not available on registrations forms. The profile page is therefore just a blank page when you are not logged in. An Unauthorized Message for registration forms would enable us to give clear instructions to the user to log in or register... Any ideas would be great. Thanks | |
May 16, 2013 at 5:36 pm 3708 | |
Thanks for the input. Currently there is no way to change this without change some code. Change the codes in [php] if ( is_user_logged_in() ) { $this->profile_edit( $id, $form_vars, $form_settings ); if ( is_user_logged_in() ) { if ( get_option( ‘users_can_register’ ) != ‘1’ ) { $this->profile_edit( $id, $form_vars, $form_settings ); | |
May 16, 2013 at 5:48 pm 3710 | |
Excellent, it works. Thanks for the help. |