How to leave? (How to delete, or how to remove, own account?)
Using Jamroom
michael:
You can put this smarty function in a profile template if its not there already for you:
It comes from the profile_header.tpl file of all the jamroom made skins and relies on that setting you pointed out:
ACP=>Profiles=>Profile=>Profile Options=>Allow Profile Deletion
The button to delete will be where you put it. On the Elastic2 skin its here:
You can put this smarty function in a profile template if its not there already for you:
{jrProfile_delete_button profile_id=$_profile_id}
It comes from the profile_header.tpl file of all the jamroom made skins and relies on that setting you pointed out:
ACP=>Profiles=>Profile=>Profile Options=>Allow Profile Deletion
The button to delete will be where you put it. On the Elastic2 skin its here:
@michael - I found the smarty function in the tpl code. It is located in a div as below.
Strangely, I see the delete button on my admin profile when logged in as admin, but not on my regular user profile when logged in as a regular user.
There is nothing in the ACP settings to suggest that this should work for some profiles and not for others.
Please advise. Thanks.
{jrCore_module_function function="jrFollower_button" profile_id=$_profile_id title="Follow This Profile"}
{jrCore_item_update_button module="jrProfile" view="settings/profile_id=`$_profile_id`" profile_id=$_profile_id item_id=$_profile_id title="Update Profile"}
{if jrUser_is_admin() || jrUser_is_power_user()}
{jrCore_item_create_button module="jrProfile" view="create" profile_id=$_profile_id title="Create new Profile"}
{/if}
{jrProfile_delete_button profile_id=$_profile_id}