Skip to content

Commit

Permalink
Updated confirmation text for account deletion.
Browse files Browse the repository at this point in the history
See #3340.
  • Loading branch information
boonebgorges committed Aug 1, 2024
1 parent 10e5b3e commit 73a1c97
Showing 1 changed file with 25 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,39 @@
<?php do_action('bp_template_content') ?>

<form action="<?php echo bp_displayed_user_domain() . bp_get_settings_slug() . '/delete-account'; ?>" name="account-delete-form" id="account-delete-form" class="standard-form" method="post">
<h2>Deleting your account</h2>

<p>You may wish to export your work before deleting it so you can save a copy for future use. Find out more about <a href="https://openlab.citytech.cuny.edu/blog/help/exporting-your-work">exporting your work</a>.</p>

<p>When you delete your account, the following will be deleted:</p>

<ul>
<li>Your OpenLab profile and account information</li>
<li>Pages on OpenLab sites created by you</li>
<li>Discussion topics and replies created by you</li>
<li>Docs created by you</li>
<li>Files and other media posted by you.</li>
</ul>

<p><strong>Site posts and comments written by you will not be deleted, but the author will be changed to "Account Deleted."</strong> This is because posts and comments may be part of a conversation with other OpenLab members. If you want to delete these items, you should first delete them and then delete your account.</p>

<p><strong>Courses, projects, clubs, and portfolios created by you will not be deleted.</strong> This is because they may include important work created by you and others. If you want to delete these items, you should first delete them and then delete your account.</p>

<p><strong>Please consider other OpenLab members.</strong> For instance, if you created a group project, others may still need the work they did there. Instead of deleting the whole project, you could just delete your own work.</p>

<p><strong>Questions?</strong> <a href="https://openlab.citytech.cuny.edu/blog/help/contact-us/">Contact us.</a> We're happy to help!</p>

<div class="bp-template-notice error margin-bottom">
<p><?php _e('WARNING: Deleting your account will completely remove ALL content associated with it. There is no way back, please be careful with this option.', 'buddypress'); ?></p>
</div>

<div class="checkbox no-margin no-margin-bottom">
<label>
<input type="checkbox" name="delete-account-understand" id="delete-account-understand" value="1" onclick="if (this.checked) {
document.getElementById('delete-account-button').disabled = '';
} else {
document.getElementById('delete-account-button').disabled = 'disabled';
}" />
}" />
<?php _e('I understand the consequences of deleting my account.', 'buddypress'); ?>
</label>
</div>
Expand All @@ -37,4 +60,4 @@
<?php do_action('bp_after_member_body'); ?>
</div><!-- #item-body -->
<?php
do_action('bp_after_member_settings_template');
do_action('bp_after_member_settings_template');

0 comments on commit 73a1c97

Please sign in to comment.