{"id":8152,"date":"2023-08-15T11:16:50","date_gmt":"2023-08-15T18:16:50","guid":{"rendered":"https:\/\/membermouse.com\/?post_type=ht_kb&amp;p=8152"},"modified":"2023-08-15T11:16:50","modified_gmt":"2023-08-15T18:16:50","slug":"permettre-aux-membres-de-changer-leur-nom-dutilisateur","status":"publish","type":"ht_kb","link":"https:\/\/membermouse.com\/fr\/docs\/allow-members-to-change-their-username\/","title":{"rendered":"Permettre aux membres de changer leur nom d'utilisateur"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">By default, WordPress doesn't allow users to change their username once their account is created. MemberMouse bypasses this restriction and allows members to change their username from the My Account page or when signing up.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you configure MemberMouse to do this, it will automatically add a username field to the My Account page.<\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h5 class=\"wp-block-heading\">How to configure if members can change their username<\/h5>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<ol class=\"wp-block-list\">\n<li>From the\u00a0<em>MemberMouse<\/em>\u00a0menugo to\u00a0<em>General Settings,<\/em>\u00a0and then click on the\u00a0<em>Other Settings<\/em>\u00a0tab.<br><br><\/li>\n\n\n\n<li>Scroll down to the\u00a0<em>WordPress User Options<\/em>\u00a0section.<br><br><\/li>\n\n\n\n<li>To allow members to change their username from the My Account page, check the box. If you don't want members to be able to change their username, uncheck the box. <br><br><img decoding=\"async\" class=\"wp-image-10146\" style=\"width: 350px;\" src=\"https:\/\/storage.googleapis.com\/wpgcbucket\/wp\/2023\/09\/c37e27ec-9ei1spt8xe-zpmk8nqpmonjgrrxkibrikw.png\" alt=\"\"><br><br><\/li>\n\n\n\n<li>Click the\u00a0<em>Save Settings <\/em>button to save your settings.<\/li>\n<\/ol>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>NOTE:<\/strong>\u00a0If you have configured it so that members can change their username, you will also have to\u00a0include the following SmartTag&#x2122; in your checkout form(s):<\/p>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><code>[MM_Form_Field name='username']<\/code><\/p>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">In order for this to work correctly make sure that you place the SmartTag&#x2122; between the\u00a0Form type='checkout' and\u00a0\/MM_Form\u00a0SmartTags&#x2122;. After this SmartTag&#x2122; has been included in the checkout form, MemberMouse will require that this field be filled out before allowing the form to be submitted.<\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Par d\u00e9faut, WordPress ne permet pas aux utilisateurs de modifier leur nom d'utilisateur une fois leur compte cr\u00e9\u00e9. MemberMouse contourne cette restriction et permet aux membres de modifier leur nom d'utilisateur \u00e0 partir de Mon compte...<\/p>","protected":false},"author":20918,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"om_disable_all_campaigns":false,"_strive_editorial_status":"not-started","_strive_copy_of":0,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"ht-kb-category":[195,162],"ht-kb-tag":[],"class_list":["post-8152","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-general-settings-articles","ht_kb_category-member-details"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/membermouse.com\/fr\/wp-json\/wp\/v2\/ht-kb\/8152","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/membermouse.com\/fr\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/membermouse.com\/fr\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/membermouse.com\/fr\/wp-json\/wp\/v2\/users\/20918"}],"replies":[{"embeddable":true,"href":"https:\/\/membermouse.com\/fr\/wp-json\/wp\/v2\/comments?post=8152"}],"version-history":[{"count":0,"href":"https:\/\/membermouse.com\/fr\/wp-json\/wp\/v2\/ht-kb\/8152\/revisions"}],"wp:attachment":[{"href":"https:\/\/membermouse.com\/fr\/wp-json\/wp\/v2\/media?parent=8152"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/membermouse.com\/fr\/wp-json\/wp\/v2\/ht-kb-category?post=8152"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/membermouse.com\/fr\/wp-json\/wp\/v2\/ht-kb-tag?post=8152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}