Skip Navigation

[Resolved] Notifications are not being sent out after recent edit / update.

This thread is resolved. Here is a description of the problem and solution.

Problem:

The email notification of editing user form does not send.

Solution:

It a problem is plugin "Head, Footer and Post Injections" in user's website, it is preventing email from sending.

Relevant Documentation:

This support ticket is created 6 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 45 replies, has 2 voices.

Last updated by suryaS 6 years, 3 months ago.

Assisted by: Luo Yang.

Author
Posts
#1084478

I have double tested in your website by below steps:
1) login your website
2) open URL
hidden link
fill my email address, and submit the form, I do not get the email notification

Export the same Toolset form to discover-wp.com
hidden link
user/pass: xgren/111111

and test it in front-end, with the same steps as I mentioned above, I can get the email notification
hidden link

And in your website, it does send the email notification when I change the Form setting to "go to page" and added 5 second delay, so you can find my email address in the mail logs.

This problem exists only in your website, it does not involve "model" popup, it does not exist in other website, please update this thread when your website is ready for debug.

#1084500

Go Ahead debug the website.

#1084509

Thanks for the update, I have tried these in your website:
1) Deactivate all other plugins and switch to default them 2017, test the form in front-end
The email notification works just fine

2) Activate other plugins one by one, and locate the problem plugin:
"Head, Footer and Post Injections"

I have deactivate only above plugin "Head, Footer and Post Injections" in your website, the email notification works just fine in your website, can you confirm it?

If you can try as I mentioned in the first answer:
https://toolset.com/forums/topic/notifications-are-not-being-sent-out-after-recent-edit-update/#post-1078276

2) In case it is a compatibility problem, please deactivate other plugins, and switch to wordpress default theme 2017, and test again

You will be able to locate the problem easily.

#1085846

Well if you realized its not the plugin but the code that is being used to display the pop-up model in the front-end.

The form works fine if I dont use a pop-up model, but I need to use the pop-up model. So how do we resolve that? Beda told me the code should work fine and it shouldn't affect the form.

So any advice?

#1087100

Hello Luo, looking for a solution.

#1087356

kindly consider it as an emergency, looking forward

#1087385

Please test it in your website with below steps:
1) with the plugin "Head, Footer and Post Injections" deactivated,

2) Goto URL
hidden link
fill your own email address, and submit the form, check it in mail logs, I can get the emails,

3) Edit the form
hidden link
in section "E-mail Notifications", edit each notification, you was using option "When custom fields are modified", it will trigger the email notification only when the email address field is changed, you can change it to option "When a user is updated by this form", then the email will be sent when you submit the form.

4) For the problem you mentioned above:
Well if you realized its not the plugin but the code that is being used to display the pop-up model in the front-end.
How do you setup the pop-up model in the front-end?
Please provide detail steps and point out the problem page URLs, thanks

#1087466

In my previous Ticket I provided Beda with the code for the Pop-up Model please check it out!!!

You have not provided me with a solution. I am aware that the pop-up is causing the conflict with the notification and I clearly mentioned that in my previous ticket. That is why I requested you to review that ticket before replying. We been going on about this problem for quite sometime and we did not reach to any solution.

The form works fine is I don't use the pop-up model.

How did I create the pop-up model? By using the code that is inserted in the header and footer injection plugin.

So what now?

#1088167

That help, I have tried below steps in your website, please have a look at it, thanks:

1) activate the plugin "header and footer injection plugin"

2) Create a page here:
hidden link
use CSS codes to reveal the popup model window:

<style>
.modal{
display: block !important;
}
</style>

3) Test it in front-end:
hidden link

4) Fill some email address in field "1st Nominee Email" and "2nd Nominee Email
", and click the "submit" button, then it works fine, the emails are sent without any problem.

#1088250

Thank you, finally feel like we are getting somewhere.

Please let me, I can't use the following code with the code I already set up?

#1088257

What is the " following code with the code" you mentioned above, please elaborate the question with more details?
How do you setup the "following code with the code"?
Where can I see it?
How do you want it to be displayed?

#1088380

I mean to say the code you sent me can I add it to the existing code am using?

This is the code am currently using.
<!-- Modal Edit profile-->
<div id="MProfile" class="modal" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Edit your user account data</h4>
</div>
<div class="modal-body" style="max-height:70vh; overflow-y:scroll;">
[cred_user_form form='edit-basic-data']
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
</div>
</div>
</div>
</div>

<!-- Modal Edit profile-->
<div id="MWill" class="modal" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Edit your will data</h4>
</div>
<div class="modal-body" style="max-height:70vh; overflow-y:scroll;">
[cred_user_form form="edit-will-data"]
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
</div>
</div>
</div>
</div>

So the code you supplied me can not be added with this? That is what I was referring to.

I see you added Rainmaker so am not sure am following. I have set the form to be displayed in the front-end account page for the registered user. Have you had a chance to review how the pop-up model is being displayed in the front-end account page? Will this new model serve the same purpose and can also be used in the same way?

#1089185

I assume we are talking about the CSS codes I mentioned above:
https://toolset.com/forums/topic/notifications-are-not-being-sent-out-after-recent-edit-update/page/2/#post-1088167

<style>
.modal{
display: block !important;
}
</style>

As I mentioned above this CSS codes is only for displaying your popup model, since you have put the Toolset form into a popup model, in order to debug this problem, I have to display the model, and fill the form, and submit the form.

So the Toolset form email notification is working in your website with popup model settings, can you confirm it?

I assume the original question of this thread is resolved:
https://toolset.com/forums/topic/notifications-are-not-being-sent-out-after-recent-edit-update/#post-1077224

Can we start a new thread for you new questions:
Have you had a chance to review how the pop-up model is being displayed in the front-end account page? Will this new model serve the same purpose and can also be used in the same way?

#1089233

yes but the pop up is giving a problem. It was solved before, but upon fixing this problem, again it started. It's been a month, the thing is, while fixing one problem, it is resulting in the formation of another one. I need a solid fix, I don't have time to go on like this. Kindly find me a solution all at once.

#1089234
FireShot Capture 140 - My Account I yowill.life - https___yowill.life_my-account___tt=1534922757.png

as you can see this is the problem, upon submitting the form, when I try to edit my 'will', this pops up rather than the submitted 'will'.