Delete Accounts
Hello, Every now and then people want to delete their account and can't find the link. I want to add a button so they can find it easier. Can someone give me the code to do so?
I have been using the below so I have control on the buttons.
<?php
bx_get_logged_profile_id()
?>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
.button {
background-color: #042d85;
border: none;
color: white;
padding: 15px 15px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 20px;
margin: 4px 2px;
cursor: pointer;
}
</style>
<a href="system/account_settings_del_account" class="button">Delete Account</a>
Thanks
-
-
·
LeonidS
- ·
Hello John Curtis !
Why don't use the menu item link from the default set?
-
·
LeonidS
-
- · John Curtis
- ·
Hey LeonidS
I moved the "Delete Profile" button on members profile page so they can easily find it (see snippet delete profile button) but that only deletes ones profile and not their account also (see snippet delete account).
The delete account snippet is what's left after I deleted profile using the delete profile button.
How can I change that to "Delete with Content"?
I do see the option to delete with content under the more button but that has admin access.