Skip Navigation

[Resolved] The email system is not working if you send message direct to seller via listing

This support ticket is created 6 years, 2 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 9 replies, has 2 voices.

Last updated by Christian Cox 6 years, 2 months ago.

Assisted by: Christian Cox.

Author
Posts
#1164607

Hi Shane

The email system is not working if you send message direct to seller via listing - see this page here:

hidden link

Click on the 'contact the seller' button - the message sends but the recipient never receives - any help would be greatly appreciated. Luo has been looking into this but nothing has been resolved. ref: https://toolset.com/forums/topic/ive-setup-a-enquiry-form-so-buyers-can-email-sellers-about-there-cars-for-sale/#post-1164000

I can send you the login details if required for wp-admin access via the website

cheers

Paul

#1165060

Hi, please provide login credentials and I'll take a look.

#1165386

Hi Christian A quick email message to see if you've had a chance to check the website cheers Paul

#1165589

I'm beginning to check the site now, I'll follow up with you soon.

#1165593

It looks like the Advertiser ID is not being set correctly in the Form. Check the attachment here, and you can see why. There is a message "View not found" shown in the input markup. I checked the Email Message System Form, and I can see that there is a View called "Advertiser Details View" used to supply the value of this generic form field:

[cred_generic_field field='advertiser_id' type='hidden' class='' urlparam='']
{
"required":0,
"validate_format":0,
"persist":1,
"generic_type":"user_id",
"default":"[wpv-view name='Advertiser details view']"
}
[/cred_generic_field]

However, there is no such View in Toolset > Views. So this is the main problem. The advertiser ID is not set correctly, so the email recipient is invalid. My guess is that this View was deleted inadvertently, or never imported successfully.

#1165594
Screen Shot 2018-12-13 at 10.18.01 AM.png

Sorry, forgot the attachment.

#1165662

Hi Christian thanks for the reply does this mean we just need to create the view for it to start working again? cheers paul

#1165711

Creating the View is the first step, but I can't say for sure it's the last thing we need to fix. If things aren't working after you create the View, then we will investigate one step at a time. You can copy the View shortcode and display it outside of the generic field temporarily to confirm it's returning the correct values.

#1166467

Hi Christian I am just trying to fix the email system and I've noticed something with the advert placing on Tiltrak
hidden link

You are not required to setup a user account (so this is effectively a guest post) - this means hte email of the advertiser is not stored in the users WordPress panel.

Could this be the error? However we do ask for them to send an email address in the form (required field) so we just need to send email messages to this account. can this be done cheers Paul

#1167179

The message module requires User accounts for both buyer and seller:
https://toolset.com/2018/11/introducing-toolsets-communication-system-for-professional-listing-sites/

You might be able to make modifications to the system to require an email address in a generic field, but various parts of the system will likely fail or behave unexpectedly without User accounts for both parties. For example, the View of My Messages filtered by post author will show all Guest messages, not only those submitted by the current Guest User. A different kind of filter will be required. Success messages, email messages, and so on all need to be rewritten to work with Guest Users.