Passer la navigation

[Résolu] Can’t see private post in my account view

This support ticket is created Il y a 4 weeks. 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 -

Fuseau horaire du supporter : Asia/Kolkata (GMT+05:30)

Ce sujet contient 2 réponses, a 1 voix.

Dernière mise à jour par Marcel Il y a 4 weeks.

Assisté par: Minesh.

Auteur
Publications
#2857131

This is a follow-up on this topic: https://toolset.com/forums/topic/custom-user-role-should-only-see-his-own-private-post/

Now, the author can see his own ship (which is set as private) when he searches for it, but he can't see the ship is his "my account" environment. The "my account" is a view which has a filter "Select posts with the author the same as the current logged in user." See this video for the view's settings: lien caché.

That works fine when the ship is published, but when it's private, I can only see it when I have an editor or administrator role.

#2857139

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please share problem URL of the "my account" as well as frontend user access details as well as admin access details.

You can tell me with what frontend user access I can loging and what post he can see as the loggedin user is set as post author.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2857157

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Can you please check now: lien caché

I've added another Query Filter to your view on the page where you added your view:
=> lien caché

Post status filter
Select posts with status of publish or private.

Can you please confirm it works as expected now.

#2857181

Yes this seems to work, thanks!