thank you very much, now the system works and set the correct expiration date on the registration.
But now I have verified that the email does not start if I set it to leave one day before the date of the event. I created a test event for tomorrow hidden link and entered the email but it did not start, while if imposed as a condition to draft the registration, for example, part immediately.
if you have time to give it a try you can obviously change the time of the test event. Thank you very much for everything you are doing.
I think there is a misunderstanding, the Toolset Expiration Post feature is using WP cron job to send the post, it won't be triggered immediately, and it is triggered by WP cron job, you can setup it here:
Dashboard-> Toolset-> Settings-> Forms, in section "Other"-> Post expiration
Hi, I finally managed to get the mail to work, there were problems with cron jobs. But the email arrives without the fields set by the form. Only text without a reference to the event in question is displayed.
Attached is an image of how the email arrives, without the title, "day-meeting" fields and the link to the event.
Thank you
Luo is on vacation, sorry it has taken a while for someone to reply, we have a couple of unexplained absences which mean we are a bit stretched providing cover.
Just looking at your final reply, if you have used shortcodes in your notification, if the notification is not sent at the time the form is submitted then you need to add the item="%%POST_ID%%" attribute to the shortcodes so that the form notice knows which post to use as the source for the shortcodes.
Hi Nigel thanks for the reply.
The system should start one day before a post expiration date and send the post parent's data. So we put this in the notification
Good morning,
we remind you that the meeting [wpv-post-title item = "@ appointment-registration.parent"] will be held on the day [types field = 'meeting-day' style = 'text' format = 'j FY' item = '@ appointment-enrollment.parent'] [/ types] .
You can participate from our site by clicking here , or from our channel Youtube or from our page hidden link"> Facebook .
I don't think I could put the other attribute item = "%% POST_ID %%"
I've checked the form notification in the form "Notifica email" and the item attribute seems to be used correctly.
( i.e. [wpv-post-title item="@appuntamento-iscrizione.parent"] )
During testing with a similar set up on my website, I was able to get the parent post's title successfully in the email notification. This suggests that there is something specific to your website involved.
Hi
I'm having trouble creating the file with duplicator, it's too big for my server. Can I avoid selecting something? Or can you generate it yourself with the account I created for you ?.
Thanks!
During further troubleshooting, I noticed that the value from the item attribute format item="@relationship-slug.role" seems to work if the notification is set to be sent right away, but not if it is scheduled to be linked with the post-expiration.
I'm currently working on a custom code snippet that can be used as a workaround and will share it with you shortly.
It works!
Thank you very much you have all been wonderful, it is not the first time you help me and I must say that you are always very helpful and competent.
I wanted to ask if in your opinion the registrations that have reached this moment will arrive or only those from now on will work. I have to figure out whether to send them one by one in the case.
Thanks for everything
Fausto
The content used in the email notification is added to the database pipeline when it is scheduled with the form's submission.
If you'll make any change to the email notification's content, it will only take effect for the notifications which will be scheduled afterward, but not for the ones which are already scheduled.