• Resolved Cat

    (@stitchyrocks)


    Hi,

    I’m trying to create a user submission page for my website for users to submit ideas for a project (which I want to store as post drafts that I will manually review and approve/publish).

    I don’t want the users to have access to the WP Admin area. Is it possible to only let them see the list of posts they have created and modify those on the front end?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author fabianlindfors

    (@fabianlindfors)

    Hi!

    This is totally possible and not too hard to achieve. I have a guide in the documentation detailing how to create a form which can create posts: https://advancedforms.github.io/guides/advanced/setting-up-a-form-to-create-posts/.

    With some slight modification you can assign the post to the current user (add post_author to wp_insert_post) and set the post status to draft. You can also add the ability to edit existing posts by prefilling the form values using the af/form/before_render hook and then updating the post instead of creating a new one.

    All this will become even easier with the pro version of the plugin which hopefully will be launched later this month. It includes the ability to create forms which can create/edit posts and users without any code.

    Hope this helps!

    Plugin Author fabianlindfors

    (@fabianlindfors)

    I’ll close this issue for now. Please re-open if you need more help!

    Plugin Author fabianlindfors

    (@fabianlindfors)

    Hello again!

    A bit late but I just released Advanced Forms Pro. As we discussed it includes support for user and post editing which might be fitting for your use cases. It also features integrations with Mailchimp, Slack, and Zapier. A license will grant direct, priority support and unlimited installs.

    If you are interested it’s avaiable from: https://hookturn.io/downloads/advanced-forms-pro/. Hope you will like it!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘User role’ is closed to new replies.