• Resolved Dejan Markovic

    (@dejanmarkovic)


    Hi, thank you so much for providing this plugin! It’s amazing.

    I am having issues with the user profiles and their templates.

    Please note that I’ve spent a ton of time reading the doc
    pages like this one(https://docs.ultimatemember.com/article/100-unique-profiles-for-different-user-roles) testing and debugging etc.

    I have multiple roles on the site/app but will mention only 3 for clarity:
    – admin
    – customer
    – vendor
    and for each of those, I need a different profile template (different home page).

    In the UM forms section wp-admin/edit.php?post_type=um_form I have created 3 profile forms Default, Customer and Vendor.

    Default Profile form is only working with profile-user.php if nothing is assigned
    (Apply custom settings to this form: no).
    If I assign the profile form only to the customer role this role will load the default template and no other roles will have the template working and even their custom templates will not work.

    I have assigned the custom template to Customer and Vendor profiles with
    Apply custom settings to this form: yes
    Make this profile form role-specific: chosen the custom template for each one.
    That’s not working either.

    So my questions are:
    1. What is the naming convention for custom templates for the roles?
    profile-user.php is working for all roles on the default profile form but for example, profile-customer.php or profile-vednor.php are not working at all for me.

    2. Do I need to have the separate user pages created for different roles and then load profile forms like this one [ultimatemember form_id=”279″] on them or one page is enough and the system will figure out itself what role is the current user(customer, vendor)?

    3.If I have to have the separate pages how I am to make sure that the system is recognizing that a separate home page is a home for that role (vendor, customer) as I need to redirect those users to their home pages.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @dejanmarkovic

    1. For custom template, please see this doc: https://docs.ultimatemember.com/article/120-adding-your-custom-profile-templates

    2 – 3 You can have one user page with multiple Profile Form shortcodes. When viewing a profile with a user role ‘Vendor’, it will use the form which has the role-specific for the vendor. When you login as a Vendor, it will also display that role-specifc form. If a profile form has no role-specific, it will show it to all roles.

    Regards,

    Thread Starter Dejan Markovic

    (@dejanmarkovic)

    Hi @champsupertramp I mentioned in my post above that I have read the documentation and implementation doesn’t work so I am asking you again politely to help me out.

    I have wasted hours creating the custom role templates and this implementation is making me and my team frustrated and if I can’t get proper help we will move on to something else.

    So can you please give me a proper answer?
    Here is the question again:

    I have put those shortcodes on the users page:

    Vendor Profile
    [ultimatemember form_id=”393″]

    Customer Profile
    [ultimatemember form_id=”394″]

    Default Profile form
    [ultimatemember form_id=”279″]

    and created
    profile-customer.php
    profile-vendor.php
    profile-user.php

    If profile-user.php b template is deployed on the site it works for all roles and if I delete it other roles customers and vendors don’t recognize their templates at all.

    Do I need to rename their templates with some other names or maybe to delete the default profile form or do something else?
    Please advise.
    Thanks

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @dejanmarkovic

    Unfortunately, That profile template is for the Profile Form settings > Customize this form > Templates. It doesn’t display for specific roles but for specific Profile Form.

    Regards,

    Thread Starter Dejan Markovic

    (@dejanmarkovic)

    What does that mean?
    I have to create the users page for each role and put the Profile shortcodes on those pages?
    Can you please explain this in more detail?

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @dejanmarkovic

    This is the Template settings in the Profile Form that I’m referring to:
    https://drive.google.com/file/d/16FMzMlSG8bbk6eMuoRrmgOPYtj0q_QEq/view?usp=sharing

    Were you able to show your templates in the Template options? That’s where you can assign the profile template for a specific Profile Form.

    Regards,

    Thread Starter Dejan Markovic

    (@dejanmarkovic)

    Yes, templates are showing in the Template options.

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @dejanmarkovic

    Sorry for the late response.

    Templates shown in the template options are for specific form only but you can control the form in which user role it will be displayed. Please see UM > Forms > Edit a Form > “Customize this form” > “Make this profile form role-specific “.

    Regards,

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hey there!

    This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    Please feel free to re-open this thread by changing the Topic Status to ‘Not Resolved’ if any other questions come up and we’d be happy to help. 🙂

    Regards,

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.