} elseif ($step == "delete") {
if ($user_id != 1) {
$result = dbquery("DELETE FROM ".$db_prefix."users WHERE user_id='$user_id'");
$result = dbquery("UPDATE ".$db_prefix."user_groups SET group_leader='1' WHERE group_leader='$user_id'");
$result = dbquery("UPDATE ".$db_prefix."articles SET article_name='2' WHERE article_name='$user_id'");
$result = dbquery("DELETE FROM ".$db_prefix."comments WHERE comment_name='$user_id'");
$result = dbquery("DELETE FROM ".$db_prefix."messages WHERE message_to='$user_id'");
$result = dbquery("DELETE FROM ".$db_prefix."messages WHERE message_from='$user_id'");
$result = dbquery("DELETE FROM ".$db_prefix."messages_options WHERE user_id='$user_id'");
$result = dbquery("DELETE FROM ".$db_prefix."medal_user WHERE user_id='$user_id'");
$result = dbquery("DELETE FROM ".$db_prefix."news WHERE news_name='$user_id'");
$result = dbquery("DELETE FROM ".$db_prefix."poll_votes WHERE vote_user='$user_id'");
$result = dbquery("DELETE FROM ".$db_prefix."ratings WHERE rating_user='$user_id'");
$result = dbquery("DELETE FROM ".$db_prefix."shoutbox WHERE shout_name='$user_id'");
$result = dbquery("UPDATE ".$db_prefix."threads SET thread_author='2' WHERE thread_author='$user_id'");
$result = dbquery("UPDATE ".$db_prefix."posts SET post_author='2' WHERE post_author='$user_id'");
$result = dbquery("DELETE FROM ".$db_prefix."thread_notify WHERE notify_user='$user_id'");
echo "<center>".$locale['422']."<br><br></center>\n";
}
}
Quote
Un-registering is an option that still needs to be added.
Quote
KEFF wrote:Quote
Un-registering is an option that still needs to be added.
I agree to that wholeheartedly, is an option we need to look at.
Quote
It's pretty pointless, barely anyother software have it
Quote
Daywalker wrote:
It would be pretty simple really, as googlebot just stated modifying it so that it just clears out their email, website, IP address, and stuff like that would probably be the easiest and best way to go about it.
Quote
also it will be nice that when a user has delete there own account. that te webmaster can choice if he wants to delete al the masages from that user or that hé wants to hold al the information.
Category Forum
General DiscussionLabels
None yet
Statistics
10 participants
Notifications
You are not receiving notifications from this thread.
Related Questions