Skip Navigation

[Resolved] Assign posts to a user

This support ticket is created 7 years, 4 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 2 replies, has 2 voices.

Last updated by marcB-6 7 years, 4 months ago.

Assisted by: Minesh.

Author
Posts
#467146

Hi guys!

I am trying to:

- Build a membership site.
- On this site a user can make an account and login to their 'personal dashboard'.
- This personal dashboard should show a view of company reports (CPT)
- A company report is assigned to the specific (logged in) user (and only to that user).
- The specific (logged in) user can approve or decline the report on the detail page.
- This approval or declination should be visible in the CPT reports.
- This approval or declination should show the report in another view.
- Ideally the post can be assigned to several users.

I searched and found out that assigning a post to a user is impossible since there is not a parent/child relationship possible. Now i'm a bit stuck.

What is the best way to achieve above?

Thanks a lot!

#467347

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Well - the best way I think to achieve this, the workaround is to create a child post for Reports.
- Report CPT (parent)
- ReportUsers( new CPT should be created as child of Report )
- assign child post author as user

However, I have the tutorial to offer you for the membership site that may help to rethink how you can build your membership site:
=> https://toolset.com/learn/create-membership-site-wordpress-using-toolset-plugins/
=> https://toolset.com/learn/create-membership-site-wordpress-using-toolset-plugins/allowing-members-sign-special-activities/

I have one case study as well:
=> https://toolset.com/2015/03/building-a-membership-site-with-wordpress-a-challenge-or-a-piece-of-cake-a-case-study/

#468174

Thanks for the clearance and the docs.
I understand the pattern.
Have a nice day!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.