Skip Navigation

[Resolved] Postlist for logged in user

This thread is resolved. Here is a description of the problem and solution.

Problem:

I need to create some kind of post list for the unique user logged in.

Solution:

You can try author filters, see our document:
https://toolset.com/documentation/user-guides/views/filtering-views-query-by-author/
Section "Post author is the same as the logged in user"
With this mode you can let a user view only his posts.

Relevant Documentation:

This support ticket is created 5 years 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
- 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/Hong_Kong (GMT+08:00)

This topic contains 4 replies, has 2 voices.

Last updated by samuelH 5 years ago.

Assisted by: Luo Yang.

Author
Posts
#1413695
Skjermbilde 2019-12-17 kl. 19.20.44.png
Skjermbilde 2019-12-17 kl. 19.19.28.png

Hi,
I making a major site, with lots of forms. In the final step I need to create some kind of post list for the unique user logged in. I am not sure if this is what you refer to as a directory site, but I am attempting to create something similar to attached images.

May I make this in toolset? If so - do you have a tutorial or maybe offer some kind of advice regarding initial approach.

Starting to get a hang of this now 😉 - So I truly hope this is possible to achive with your excellent tools!

#1414501

Hello,

It is possible with Toolset plugins, for the question: create some kind of post list for the unique user logged in.

You can try author filters, see our document:
https://toolset.com/documentation/user-guides/views/filtering-views-query-by-author/
Section "Post author is the same as the logged in user"
With this mode you can let a user view only his posts.

For the screenshot you provided above:
https://toolset.com/wp-content/uploads/2019/12/1413695-Skjermbilde_2019_12_17_kl._19.20.44.png
You can try post status filters, see our document:
https://toolset.com/documentation/user-guides/views/filtering-views-query-by-post-status/

For the screenshot:
https://toolset.com/wp-content/uploads/2019/12/1413695-Skjermbilde_2019_12_17_kl._19.19.28.png
Since it is not in English, I am not sure what it is, it seems you need to display edit form link. If it is, please check our document:
https://toolset.com/documentation/getting-started-with-toolset/publish-content-from-the-front-end/forms-for-editing/

#1414569

Great news!
Should I make the custom fields as "User Field Group" or as regular "Field Group"?

I´ll try to explain:

10 different forms - 10 different post types. Each form contains 20 custom fields. Only the Author (and spesified unique users - if possible) should be able to edit and read the their own posts.

I hope this makes sense!

#1414577

In your case, it should be normal post fields, so you can setup post form to create/edit those posts of custom post type, and setup the custom fields for each post.

#1418437

My issue is resolved now. Thank you!