• Resolved teamdxc

    (@teamdxc)


    Hello, thanks for your help in advance.

    I’d like to print the user’s additional info (dropdowns from the registration) in the account page so the user can change their additional info later.

    Attached is the image link for reference.
    I’d want to bring those dropdowns in red box from registration in the account page, so the user can update those dropdowns in the future.

    Is there any solution for this?
    Thank you again

    The page I need help with: [log in to see the link]

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

    (@champsupertramp)

    Hi @teamdxc

    Unfortunately, this requires customization on your end. You can try this tutorial.

    Regards,

    Thread Starter teamdxc

    (@teamdxc)

    Hello Champ Camba,
    Thank you so much for your help.

    I have added the codes you shared in my Function.PHP
    I have some questions.

    First, How can I rearrange the order of the account tab? (I want to put my custom tab in third. I changed the value in the line “position”
    But nothing happened.)

    Secondly, I tried to change the info in my custom account tab. But it said, “You are not allowed to edit this user.”

    Lastly, How can I change the title and button tile to the Korean language?

    Below is the code that I used.

    // Initiate the Class 
    $mytab = new UM_Custom_Account_Tabs( );
    
    // Then use the method <code>add_tab</code> to register your tab with your details
    $mytab->add_tab( array(
    	    "tab_id" => "mycustomtabname",
        	"title" => "Additional Information",
        	"button_title" => "Save",
        	"icon" => "none",
        	"position" => 1, // first tab in the Account form
        	"form_id" => 153,
        	"before_content" => "",
        	"after_content" => "",
        	"shortcode" => "",
     ) );

    Thank you again!

    Thread Starter teamdxc

    (@teamdxc)

    @champsupertramp

    Hello Champ Camba,
    Thank you so much for your help.

    I have added the codes you shared in my Function.PHP
    But, I still have some issues.

    First, How can I rearrange the order of the account tab? (I want to put my custom tab in the third. I tried to change the value in the line “position”
    But nothing happened.)

    Secondly, for the test, I signed in as the user and tried to change the my custom tab info. But it said, “You are not allowed to edit this user.” Eventually, I wasn’t able to change the user info.

    Lastly, How can I change the title and button title to the Korean language?

    Below is the code that I used.

    // Initiate the Class 
    $mytab = new UM_Custom_Account_Tabs( );
    
    // Then use the method <code>add_tab</code> to register your tab with your details
    $mytab->add_tab( array(
    	    "tab_id" => "mycustomtabname",
        	"title" => "Additional Information",
        	"button_title" => "Save",
        	"icon" => "none",
        	"position" => 1, // first tab in the Account form
        	"form_id" => 153,
        	"before_content" => "",
        	"after_content" => "",
        	"shortcode" => "",
     ) );

    Thank you again.

    Thread Starter teamdxc

    (@teamdxc)

    hi @champsupertramp

    Now, I can change the user’s info successfully.

    The problem now is the info is printed as the number.

    The reference link is below. (red box)

    View post on imgur.com

    Idk why.. Could you help me this out?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to bring user data from registration to account so the user can update it’ is closed to new replies.