1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Link to resend confirmation e-mail

Discussion in 'XenForo Questions and Support' started by Phillip, Apr 15, 2012.

  1. Phillip

    Phillip Active Member

    I'm setting up a notice for members who have unconfirmed accounts to verify their e-mail address. Is there a default XenForo URL for a user to click on to resend their e-mail confirmation if they have misplaced it?
     
    erich37 likes this.
  2. Jeremy P

    Jeremy P Well-Known Member

    I'm fairly certain such a notice is in place by default (not as a part of the notices system), that includes a link to resend it.
     
  3. Brogan

    Brogan XenForo Moderator Staff Member

    Jeremy is correct.

    Any member who has not confirmed their account will see a message with a link when they log in.
    The message will be present until they confirm their account.
     
  4. Phillip

    Phillip Active Member

    Great, thank you guys. I won't worry about the notice for this one then.
     
  5. Lone Wolf

    Lone Wolf Well-Known Member

    Does anyone know where I can find and edit this notice?
     
  6. trilogy33

    trilogy33 Well-Known Member

    It's phrased:
    user_email_confirmation_body_html
    and
    user_email_confirmation_body_text

    http://xenforo.com/help/phrases/
     
  7. Mouth

    Mouth Well-Known Member

    Where do you find this notice? I have logged-in as a user that requires account email confirmation, and do not see any such message anywhere - or the ability to resend it.
     
  8. Mouth

    Mouth Well-Known Member

    /account-confirmation/resend ( linked from /account/verify ) is the default URL, but as per my post above I cannot find or see a default notice.
     
  9. CyclingTribe

    CyclingTribe Well-Known Member

    If you want to change template, add this line to library/config.php:

    Code:
    $config['debug'] = 1;
    
    NB: Turn it off when you're done. (y)
     
  10. Jeremy P

    Jeremy P Well-Known Member

    Do you experience this problem with the default style?
     
  11. Mouth

    Mouth Well-Known Member

    Yes, don;t see anythign with default style either.
     
  12. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    It is a notice. It is contained in this template:

    Admin CP -> Appearance -> Templates -> notice_confirm_email

    If it's not showing then make sure your user state is awaiting email confirmation. This problem might also be due to a template customization. Notices are called in PAGE_CONTAINER:

    Code:
    						<xen:hook name="page_container_notices">
    						<xen:include template="notices" />						
    						</xen:hook>
    
     
  13. Mouth

    Mouth Well-Known Member

    Thanks. I use the Aurora theme as a basis, and see this in my PAGE_CONTAINER ...

    Code:
                            <xen:if is="@aur_ShowNoticesInHeader == false">     
                        <xen:hook name="page_container_notices">
                                <xen:include template="notices" />
                            </xen:hook>
                            </xen:if>
    
    Confirmed that '@aur_ShowNoticesInHeader' in Style Properties is false (unticked).
    Confirmed that the test user is set to 'Awaiting Email Confirmation'

    Logged in as test user, and still do not see any default Notice regarding requiring to confirm email address when logged in.

    I've setup my own Notice, via Notices system, and see that though.
     
  14. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Try removing that condition around the notices. That is not part of the default style.
     
  15. Mouth

    Mouth Well-Known Member

    Thanks. Yes, I did that ...

    Code:
    <xen:comment>
                            <xen:if is="@aur_ShowNoticesInHeader == false">     
    </xen:comment>
                        <xen:hook name="page_container_notices">
                                <xen:include template="notices" />
                            </xen:hook>
    <xen:comment>
                            </xen:if>
    </xen:comment>
    The result was the same as using the unmodified default style. Still no notice for the applicable user.
     
  16. Jeremy P

    Jeremy P Well-Known Member

    Do you have a notice_confirm_email template? Is it not blank?
     
  17. Mouth

    Mouth Well-Known Member

    Yes. Here is its contents ....

    Code:
    {xen:phrase your_account_is_currently_awaiting_confirmation_confirmation_sent_to_x, 'email={$visitor.email}'}<br />
    <a href="{xen:link account-confirmation/resend}" class="OverlayTrigger">{xen:phrase resend_confirmation_email}</a>
    Thanks.
     
  18. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Could be an addon. Otherwise give me a URL and admin login.
     
  19. Mouth

    Mouth Well-Known Member

    Thanks, I'll disable all Add-Ons on a test installation first before taking-up your valuable time.
     

Share This Page