• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 removing sidebar settings from user account e.g. contact details


Active member
I need to remove certain settings from the user account page because We will be linking accounts. How would I disable or hide selections like contact details or two step verification?



Well-known member
Edit the account_wrapper template and comment out or remove the relevant pieces of code. For example:

                        class="{xen:if "{$selectedKey} == 'account/contactDetails'", 'secondaryContent', 'primaryContent'}"
                        href="{xen:link account/contact-details}">{xen:phrase contact_details}</a></li>