Skip Navigation

[Resolved] Cred notifications will not send edit URLs

This support ticket is created 6 years, 9 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 4 replies, has 2 voices.

Last updated by rachelW-3 6 years, 9 months ago.

Assisted by: Minesh.

Author
Posts
#630386

I am trying to send a notification (either upon submission or when the post is moved from pending to published) that contains a link back to the site.

Here are the fields that will send:
any custom field from the post type
- post ID (both [wpv-post-id] or %%POST_ID%%
- post title (both types of fields)
- %%DATE_TIME%%
- Manually typing in a random URL like hidden link

But once I include a URL for our own site, it either fails to send or the field is left blank
Left blank but email still sends:
[wpv-post-edit-link]
[wpv-post-url]

Email fails to send:
%%POST_LINK%%
%%POST_ADMIN_LINK%%
manually typing in our URL (with or without the hidden link)

#630468

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - I've just checked with my test installation and I've added the %%POST_LINK%% and %%POST_ADMIN_LINK%% to email body notification and when I submit the CRED form I can see both links are available in my email.

Please check following screenshot:
=> hidden link

What is your CRED email notification configuration?

#630756

The notification is set to email when submitting this form, to both a WordPress user and to a specific email address. The email is set to come from info@ourdomain.org Name: Our Domain. (Although I can confirm I get the same results by leaving those fields blank for default.)

The body of the email is as follows:

Details:

[types field='q-sumitter-name'][/types][wpv-conditional if="( $(wpcf-q-behalf-of) ne '' )"], on behalf of [types field='q-behalf-of'][/types],[/wpv-conditional] just submitted the following question: [types field='q-question'][/types]

[wpv-post-edit-link text="Click Here"]

All but the post-edit-link work.

(Same set up, if I use %%POST_LINK%% no email gets sent.)

#630959

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - this is strange as I do not able to reproduce the issue and I shared my email screenshot but my post body was not using [wpv-conditional] shortcode.

What if you try to use simple email body - just add fields and check if that works.

#632164

I get the same results without a conditional. I suspect it has to do with the hosting of this particular account (since I can include other URLs, just not my own.) I'm helping out with this site, it's not under my regular hosting - it is a 'managed install' by GoDaddy - so I'll check in with them and see if maybe the error logs can help.

Thanks for looking into it.