• I don’t know if there is a code or other way to display the verification status on the user page (my account page)?

    Allow users who have not yet verified to view directly on the user page and resend the verification letter?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter slyc

    (@slyc)

    Question 2

    Can I use shortcodes or other methods to restrict a certain page or block from being displayed after the user is authenticated?

    Zohaib

    (@zohaibayub85)

    Hi,

    There is no option to display verification statuses in the front end on the user my account page.

    In the WordPress dashboard though, admins can view verified and unverified users. You can enable this option from WooCommerce > Settings > Email Verification > Admin > Verified Column. Enable this option then navigate to Users > All users and you will find a new column for verified.

    Our plugin is best suited for email verifications and does not restrict content based on user verification. The only thing you can block is the checkout process for unverified users.

    However, I have forwarded both your requests to our development team. If it might be possible they might consider adding these as features. They will likely only be available in the paid version though.

    Plugin Author WPFactory

    (@wpcodefactory)

    Hello @slyc ,

    Good news!
    I’ve created some new options for you ??

    To display the verification status on my account page you can use the option:
    General > Verification info > My Account page

    And you can restrict content for unverified users with:
    Blocking > Block content > Blocked pages

    These options are available since version 2.1.1.
    Please let me know if they work for you ??

    Thread Starter slyc

    (@slyc)

    Hi @wpcodefactory

    Thank you,
    We saw the update,
    Currently in use!

    In addition, we would like to know, how should a verification message appear on the page so that members who have not yet verified can click the button and the system will send a verification letter?`

    Zohaib

    (@zohaibayub85)

    Hi @slyc

    General > Verification info > My Account page In the customization section you can use a code such as the following:

    <div class="alg-wc-ev-verification-info">
    	[alg_wc_ev_verification_status content_template="Verification status: {verification_status}"]
    </div>
    <div class="alg-wc-ev-resend-verification-url">You can resend the email with verification link by clicking <a href="{resend_verification_url}">here</a></div>

    More info on this is available in the Plugin’s FAQ

    Zohaib

    (@zohaibayub85)

    Hi @slyc

    Actually just relooking at the code above, it might not work. Here is the correct code:

    <div class="alg-wc-ev-verification-info">
    	[alg_wc_ev_verification_status content_template="Verification status: {verification_status}"]
    	[alg_wc_ev_resend_verification_url content_template="You can resend the email with verification link by clicking <a href='{resend_verification_url}'>here</a>"]
    </div>
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘User page shows verification status’ is closed to new replies.