teamdxc
Forum Replies Created
-
Hello @champsupertramp
Could you kindly let me know the directory where to change the code above you shared?
THank you,
I’m referring to the posts on the forum page.
After the user deletes his/her account, the posts they wrote still remain on the forum page.Below is the link for a better understanding.
https://teamdxc.com/forum/Thank you
- This reply was modified 4 years, 8 months ago by teamdxc.
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)
Idk why.. Could you help me this out?
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.
@ultimatemembersupport
“Refresh active page” didn’t work..It just redirected the user to the homepage.- This reply was modified 4 years, 9 months ago by 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!
could you explain to me more details? Sorry, I’m not sure what you meant!o
Is this what you meant?
add_action( 'um_after_register_fields', 'um_add_alt_button_to_login', 1000 );