Support

Account

Home Forums Front-end Issues Let users 'register' to a custom post type

Unread

Let users 'register' to a custom post type

  • Hi!

    I want to create a simple activity booking solution. I have the following:
    1. A simple activities post type which contains information about an activity
    2 a simple registration post type which contains information about a registration. So this has a activities_id and user_id field per post. This way I can query the registrations for a user and the registrations for an activity
    3. Subscriber role users

    Now my question is how can I get the authentication right? I want to allow the logged in subscribers to POST an entry and not allow them to modify it after. Im familiar with the acf_form_head() and acf_form() as told about here: https://www.advancedcustomfields.com/resources/using-acf_form-to-create-a-new-post/
    But so far I only used it for contact forms, so no authentication required.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.