Title: No complete user differentiation
Last modified: July 19, 2021

---

# No complete user differentiation

 *  Resolved [carba](https://wordpress.org/support/users/carba/)
 * (@carba)
 * [5 years ago](https://wordpress.org/support/topic/no-complete-user-differentiation/)
 * hi, I use the plugin to create different “post form” forms type and I think it
   would be usefull the differentiation based on the user role.
 * I’ll explain: with your plugin I can create different forms and enable different
   roles to use their dedicated form. I’d like to have just one WPUF “My Account”
   page and that the different user roles, by accessing the WPUF My Account page,
   would see their form enabled.
 * Unfortunately in Setting> My Account> Submission Form it is possible to select
   only one of the created form. By doing so, only the form-enabled role can see
   the form and publish articles. The others are not enabled and do not have a working[
   wpuf_account] page.
 * Thanks Carlo.

Viewing 1 replies (of 1 total)

 *  [MM Aurangajeb](https://wordpress.org/support/users/aurangajeb/)
 * (@aurangajeb)
 * [5 years ago](https://wordpress.org/support/topic/no-complete-user-differentiation/#post-14707007)
 * Hello [@carba](https://wordpress.org/support/users/carba/)
    ​I hope you are doing
   well!
 * _We were on [Eid vacation](https://en.wikipedia.org/wiki/Eid_al-Fitr), which 
   causing the delay in response. However, we are back at the desk now & trying 
   to expedite this as early as possible. Your kind cooperation would be much appreciated._
 * _First assumption/answer with your first term_:
    → If I’m right- you want to 
   show different Post forms based on the user role. As you can set a specific form,
   say “Subscriber Post form” for “Subscriber,” another form like “Customer Post
   form” for “Customer” users. I’m sorry, by default, this is unavailable for the
   My Account Page context. However, you can create a page with [user base restrictions](https://wedevs.com/docs/wp-user-frontend-pro/content-restriction/restricting-content-by-user-roles/)
   and render a form with a shortcode to make it happen. _Please note this feature
   is with our pro version, so I’m sharing this as an alternative based on the context.
   Discussing any plugins’ pro features is prohibited on this public forum._
 * _Second answer with your second term_:
    → We facilitate a filter/hook for our
   WPUF account page, and by using that, you can add multiple sections/forms to 
   your WPUF Account. See the below example:
 *     ```
       /* Add custom Post Form on the My Account Page */
       // filter/hook to add/modify WPUF Account page's tab/section
       add_filter('wpuf_account_sections',function ($sections){
           $sections['event-form'] = 'Event Form'; // add new tab called "Event Form" on the Account page
           return $sections;
       },999);
   
       // add event form shortcode to render on the WPUF Account page's tab
       add_action( 'wpuf_account_content_event-form', 'wpuf_my_event_form_section', 10, 3 );
       function wpuf_my_event_form_section( $sections, $current_section ) {
           echo do_shortcode('[wpuf_form id="814"]'); //insert your post form shortcode here
       }
       ```
   
 * I hope this will helps.
    Thanks.

Viewing 1 replies (of 1 total)

The topic ‘No complete user differentiation’ is closed to new replies.

 * ![](https://ps.w.org/wp-user-frontend/assets/icon-256x256.gif?rev=3578622)
 * [User Frontend – Membership, User Registration, User Profile, User Directory & Content Restriction with Frontend Post Submission](https://wordpress.org/plugins/wp-user-frontend/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-user-frontend/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-user-frontend/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-user-frontend/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-user-frontend/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-user-frontend/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [MM Aurangajeb](https://wordpress.org/support/users/aurangajeb/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/no-complete-user-differentiation/#post-14707007)
 * Status: resolved