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

XF 1.2 How do I remove the email confirmation notice?

Discussion in 'Styling and Customization Questions' started by Joe Link, May 17, 2014.

  1. Joe Link

    Joe Link Well-Known Member

    I have the notifications add-on by Chris D, so I want to remove this email confirmation notice on the front page. I've disabled the notice system, but it still appears. How do I do this?

    email confirmation notice.PNG
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Those internal notices are always there. The easiest way to remove all notices (including the internal ones) is to empty the contents of this template:

    Admin CP -> Appearance -> Templates -> notices
     
  3. Joe Link

    Joe Link Well-Known Member

    Thanks for the response Jake. Is there somewhere I can find a list of all these internal notices, so I can replace them with the notifications add-on?
     
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    library/XenForo/Dependencies/Public.php

    Code:
    	/**
    	 * List of notice templates and phrases to load if the specified param is set
    	 *
    	 * @var array [param => template/phrase key]
    	 */
    	public $notices = array(
    		'showUpgradePendingNotice'    => 'notice_upgrade_pending',
    		'showBoardClosedNotice'       => 'notice_board_closed',
    		'isAwaitingEmailConfirmation' => 'notice_confirm_email',
    		'isEmailBouncing'             => 'notice_email_bounce',
    		'showCookieNotice'            => 'notice_cookies'
    	);
    
     
  5. Joe Link

    Joe Link Well-Known Member

    Perfect, thanks.
     

Share This Page