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

XF 1.4 Awaiting Email Confirmation from Edit

Lone Wolf

Well-known member
#1
There is a notice for Users Awaiting Email Confirmation supplied by a phrase.

Is it possible to show two different notices for the two different user states, Users Awaiting Email Confirmation and Users Awaiting Email Confirmation from Edit?
 

Lone Wolf

Well-known member
#3
Thanks Brogan, I know that.

What I mean is that there is a default notice which I want to remove and replace with two custom notices for each user state
 

Brogan

XenForo moderator
Staff member
#4
You can try editing (emptying) the notice_confirm_email template to stop the default message showing.
 

Brogan

XenForo moderator
Staff member
#6
In that case you would need to edit the notice template and use a conditional statement to prevent the notice showing for the awaiting email confirmation state.
 

Brogan

XenForo moderator
Staff member
#8
Actually I don't think it's possible as the $notices array is passed to the template so you would need to either prevent it being added to the array in the code or somehow unset it in the template.
 

Lone Wolf

Well-known member
#9
Actually I don't think it's possible as the $notices array is passed to the template so you would need to either prevent it being added to the array in the code or somehow unset it in the template.
I guess the best solution is to try and word the notice so it fits both states and then place it in that template.