Hello @shashikant1991
The feature you are looking for is not available with UM but you can achieve it with some customization.
- You will need to write functionality or find a plugin which sends data to wp-admin area.
- Create a custom profile tab. You can follow this article for help
- Add form to send data to wp-admin as tab content.
- Add a user field “Approved / Rejected” in wp-admin user edit screen and update it based on what admin finds out on submitted data. which can easily be displayed on user profile
I know you have mentioned you wanted it on the Account page but, doing it on the profile is much easier and more suitable.
Hi Aswin,
Thank you so much for the response.
Let me follow what you have mentioned and get back if I still face any issues. I am not sure if I can manage the customization. But surely let me try this first.
One questions, what is the difference between an account page and profile page? I just need a customer / client dashboard for the user who registers on the website and I need the application / form to be submitted and create an application with status that’s it. Admin will review the details submitted by the user and takes a decision to approve or reject.
Also if possible wanted to show the documents submitted by the user in his/her dashboard or profile page itself so that they feel secure as these are important / identity related documents.
Thanks
Shashikant
Hello @shashikant1991
Ultimate member has 2 different pages ‘Account’ and ‘Profile’. Account is only for the profile owner however, profile page is like public profile but you can also add restriction to profile page. Displaying documents will be part of the customization you will have to do.
Hi Aswin,
I have added a custom tab to the user profile page and removed all the other default tabs. Can you help how to add the form created under forms to display under that tab? Is this through coding we will be achieving?
Also, unable to add a user field as suggested by you. This plugin is something new to me. Can you please help?
Thanks
Hello @shashikant1991
As you can see there is a sample profile tab in the URL I shared with you last time, you will just have to create a form inside the tab content, write codes for form handling (or just use a shortcode for the form if you have any), and write the logic to show documents if use has submitted.
I think you can also use wp user frontend plugin to submit data from profile tab.
Hi Aswin,
Unfortunately I have tried the custom tab with short code method (ultimate member custom form short code). Below is the code for your reference. It shows 503 service service unavailable once updated.
function um_mycustomtab_add_tab( $tabs ) {
$tabs[ 'mycustomtab' ] = array(
'name' => 'My Custom',
'icon' => 'um-faicon-pencil',
'custom' => true
);
UM()->options()->options[ 'profile_tab_' . 'mycustomtab' ] = true;
return $tabs;
}
add_filter( 'um_profile_tabs', 'um_mycustomtab_add_tab', 1000 );
/**
* Render tab content
*
* @param array $args
*/
function um_profile_content_mycustomtab_default( $args ) {
echo do_shortcode( '[ultimatemember form_id="577" = "true"]' );
}
add_action( 'um_profile_content_mycustomtab_default', 'um_profile_content_mycustomtab_default' );
Also, I have created a drop down for application status as discussed above but unfortunately it is not showing on the profile page. Attaching a few screenshots for your reference.
https://prnt.sc/y7bmORQU01A4
I have done the code for showing the submitted data in the table format in wordpress admin panel in a separate page. Just waiting for showing a form (ultimate member built in form) in the extra tab & application reject or processing which you have suggested earlier. Please help
Thanks
Hello @shashikant1991
I don’t think ultimate member form is going to work in this case, can you please try adding a different shortcode? may be contact form 7 and see if that renders a form?
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 if any other questions come up and we’d be happy to help. 🙂
Regards