Home › Toolset Professional Support › [Resolved] You cannot view this message
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/Karachi (GMT+05:00)
Related documentation:
This topic contains 5 replies, has 2 voices.
Last updated by dirkF-2 1 year, 6 months ago.
Assisted by: Waqar.
Unfortunately, this ticket https://toolset.com/forums/topic/received-message-view-filter/ has not yet been resolved. I have tried to follow the instructions in the treat and these instructions https://toolset.com/documentation/legacy-features/miscellaneous/how-to-create-a-messaging-system-with-toolset/ again and fix the problem but it does not work.
I also asked 2 other people who are experienced with toolset, but they couldn't fix the problem either. What other options do you have?
Thanks a lot for your help!
Hi,
Thank you for contacting us and I'd be happy to assist.
I tried to log in to the admin area using the access details from the last ticket, but the password seems to have been changed.
Did you manage to remove the unused custom fields from the website, as suggested in my last reply?
( ref: https://toolset.com/forums/topic/received-message-view-filter/#post-2597203 )
I'm setting your next reply as private so that you can share the temporary admin access details again. Please also include the full details about the exact section of the messaging system that is not working and I'll suggest the next steps accordingly.
regards,
Waqar
Thank you for sharing the access details.
I've made the following changes and the new messages seem to be connecting with the post author correctly now:
1. In the form 'New message', I change the slug of the fields to include 'wpcf-' prefix, i.e. changed 'nachricht-von' to 'wpcf-nachricht-von' and 'nachricht-fuer' to 'wpcf-nachricht-fuer'.
As a result, the ID of the 'from' and the 'to' user started saving correctly in those message post fields.
2. On the 'My Account' page, the received messages were still not showing. In that page's content, I changed the shortcode for the relevant view 'Messages received', from:
( screenshot: hidden link )
[wpv-view name="Messages received" info="[wpv-post-author format='meta' meta='ID']"]
To:
[wpv-view name="Messages received" info="[wpv-current-user info='id']"]
This way the ID of the currently logged-in user's ID is passed to the view through the shortcode attribute and only messages sent to that user are shown.
I hope this helps and let me know if you have any follow-up questions.
Yes now it looks like the emails are being delivered correctly. Great. Thanks a lot! However, you can now click on the email in "My Account" and you will get an error message "You cannot view this message". What could be the reason for this? Also, the title of each message is only saved as a draft (Title: CRED...).
I have sent a test email to your account.
Thanks for the update and glad that it is working now.
> However, you can now click on the email in "My Account" and you will get an error message "You cannot view this message". What could be the reason for this?
- The single message post page is using the content template named 'Message - single item' ( hidden link ).
If you'll open that template's edit screen you'll see that it is still using the older custom field slugs 'message-to' and 'message-from'.
Please replace all instances of slug 'message-to' with 'nachricht-fuer' and 'message-from' with 'nachricht-von' and then save the template's content.
> Also, the title of each message is only saved as a draft (Title: CRED...).
- That automatically generated post title is being used because the post title field is not included in the form 'New message' ( hidden link ).
That form is using the custom field named 'Titel' for entering the title. If you'd like to set that title text as the post title, you can remove the 'Titel' field from the form and instead add the 'Message Title' field.
( screenshot: hidden link )
My issue is resolved now. Thank you!