• Resolved Ivijan-Stefan Stipic

    (@ivijanstefan)


    Hi, great plugin.

    I come across with problem where I use shortcode user_verification_check on the custom login page. I need to visitor after verification have login form.

    Problem was that I constantly get error message on that login page when visitor is not under verification. For that reason I create new shortcode in my theme to fix this problem:

    if ( !shortcode_exists( 'user_verification_check_validate' ) ):
    	add_shortcode('user_verification_check_validate', 'uv_filter_check_activation_validate');
    	if(!function_exists('uv_filter_check_activation_validate')) :
    		function uv_filter_check_activation_validate($attr, $content = NULL) {
    			if( isset( $_GET['activation_key'] ) || (isset( $_GET['uv_action']) && isset($_GET['id'])) ) return do_shortcode($content);
    		}
    	endif;
    endif;

    Is it possible for you to made something like this or to add some attribute to your shortcode to we can hide error messages for the standard visitors?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author PickPlugins

    (@pickplugins)

    Thanks for your contributions,

    We recommend creating new page for user verification instead of using login page, but love the recommendation, i will try to fix and update plugin sosn.

    Regards

    Thread Starter Ivijan-Stefan Stipic

    (@ivijanstefan)

    Well, by my experience, you have to cover all the cases that are possible (if are possible) because everyone has different requirements and reasons that are sometimes not logical but have a purpose.

    Anyway, great plugin! You saved me a weeks of coding.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘New shortcode for the hidding error message’ is closed to new replies.