• Can I create a form for each admin user I have. Then when the admins log into the site they can only see their posts and reply to their posts?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    Can you expand a little more what you want to do?

    A user fills in a form for what? Leave a comment? Or a post for a given content that is owned by different admins in teh back-end?

    the plugin has been developed with a lot fo flexibility in hand to handle such kind of scenario, but I need to have more info in order to give you some meaningful guidelines

    Thread Starter Sherry22

    (@sherry22)

    What I would like is for form submissions to be sent to posts. I would then like to assign different admins to different forms so they can only read and reply to their forms in the backend of wordpress.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    Yes, that’s clear from your first post already, and this plugin can do that, but assuming that all your forms are the same and create the same post structure in the backend (except being created under different authors), it appears to be very inefficient way to proceed. Each time your post or form changes, you will need to maintain multiple forms.

    Much simple to have 1 form and using a conditional logic (based on one of the form fields) to determine which admin should author the post.

    Thread Starter Sherry22

    (@sherry22)

    I don’t know how to link in all my woo commerce products to the form so that whoever buys a product will create a post to the owner of the product only.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    Are you a coder? do you know how to work with WordPress hooks & filters?

    If so, this is what I would do,

    1. Everytime a request is made to submit the post form, hook the CF7 plugin wpcf7_form_hidden_fields to add a hidden field to your form (prior to it being loaded/displayed). and add a hidden field to your form with your product owner user id.

    2. In the plugin mapping editor, use the post author field ‘Hook with a function’ option and copy the provided filter function to your functions.php file. In this function, use the subitted hidden field user is to set the author id.

    If you are not a developer, then I suggest you hire one (or myself) if you have the budget for this.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Few questions’ is closed to new replies.