Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Allow users to delete themselves Details »»
Allow users to delete themselves
Version: 1.00, by Admin (Coder) Admin is offline
Developer Last Online: Nov 2024 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 04-05-2002 Last Update: Never Installs: 39
 
No support by the author.

This one was requested by Webhost. Personally I can't see the use for this, but a hacker's gotta do what a hacker's gotta do.

Anyway, this one is really simple.

First, create a new template named "deleteself" with this:
Code:
<center>Are you sure you want to delete your user account from this message board?<br>
All of your current posts will be set to "Guest".
<b>This is not revertible!</b>

<form action="member2.php" method="post">
<input type="hidden" name="s" value="$session[sessionhash]">
<input type="hidden" name="action" value="killme">
<input type="submit" value="    Yes    " class="bginput">
</form></center>
Now open the attached text file, and add the code from it to member2.php right after this code:
Code:
  eval("dooutput(\"".gettemplate("subscribe")."\");");
}
That's it. Now people can go to member2.php?s=&action=deleteme, and if they click Yes there their profile (and the rest of the data associated with that user) will be deleted.

I put in a nice 'done' message, I'll post a screen shot in a minute.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 04-06-2002, 06:02 PM
Psychdrone Psychdrone is offline
 
Join Date: Nov 2001
Posts: 525
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

evil!

but nice
Reply With Quote
  #13  
Old 04-06-2002, 08:50 PM
MrBojangle1's Avatar
MrBojangle1 MrBojangle1 is offline
 
Join Date: Mar 2002
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol, funny but nice
Reply With Quote
  #14  
Old 04-06-2002, 10:58 PM
Nebula's Avatar
Nebula Nebula is offline
 
Join Date: Dec 2001
Location: Michigan, USA
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not sure about this one.

on my website, if someone hacked into someone else's account, and had this feature, they'd delete everyone :-P

but that's my two cents vBulletin is probably pretty hard to hack too
Reply With Quote
  #15  
Old 04-07-2002, 01:00 AM
Matt's Avatar
Matt Matt is offline
 
Join Date: Oct 2001
Location: UK
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was about to say the same, I am not gonna install it myself and its down to the individual if they wish to install it but it does prove as a problem for those who do manage to hack into peoples accounts. It happens frequently on boards I use and the option to delete yourself would be so attractive to hackers, some might even start hacking simply to delete a user they dislike
Reply With Quote
  #16  
Old 04-07-2002, 03:43 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why not create a hack that back's up users and all their info?
...wait, already created just use the backup--d'oh

But still, if you made something that allowed users maybe in their profile to select an option that allowed, incase anything happened to their account, it could be backed up. Then there could be some nifty interface in the admin area that contains all users who were deleted and who choosed to have a backup, and all their backups are located there. Where the admin can choose to backup/restore a user to the point before deletion, or just delete / mass purge back ups. In order for it to be a recent backup, all that would need to be done is right before the user deletes themself or admin deletes user, a backup is created (if the user choosed to have a backup). The difference from this and the regular backup Sql dump, is that its easier (with an interface), and that not everything is needed to be backed up (although I'm aware the other way you can do the same, but this is more organized..i think)
YOU know what I mean?!?

Damn..I'm getting way into this, and it probably wouldn't even work...but, maybe If it did, I just created a hack I could possible do?!? .....nah, I'm not that great at php/mysql yet to accomplish such a huge task. *eagerly awaits response by Firefly*
Reply With Quote
  #17  
Old 04-07-2002, 08:30 AM
Birdie501's Avatar
Birdie501 Birdie501 is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi firefly,

what about doing it that way?

if the user confirm his deletion, this action will be queued for at least one week before the user will be deleted. If it was a hacker attack and a user uses his account within this period the deletion will be automatically cancelled.

or another possibilty:

Just do it like the registration way. The user will get an email where he has to confirm the deletion! That would also help if the user account has been hacked.

anyway again a great job you did, thanks.

Regards
Birdie501 :classic:
Reply With Quote
  #18  
Old 04-07-2002, 08:41 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I agree with Birdie501!

When the user selects to delete his account, he will get an E-mail, etc, like with registration. I like that!

Also, what I wanted to ask! Can you make an additional field where users can give a reason? (or select one from drop down list) - Or both! - so we know why they suddenly want to cancell their account?

Additional question: Spoil us! Will this be a feature in vB3? (or similar)

Love to hear your comments firefly! And would love to see an updated file! - vbHacker ready! -
Reply With Quote
  #19  
Old 04-07-2002, 11:17 AM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not going to build on this hack, I don't find it very useful and don't think it's worth it (I'm glad Overgrow and Webhost like it tho ).

xiphoid: no this won't be a feature in vB3 (and please stop asking me that question, I'm really not in a position to say that -- simply because I have no idea!).
Reply With Quote
  #20  
Old 04-07-2002, 02:08 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The email idea is great, and I'm sure another hacker could figure out that one other than FireFly. Somebody?
Reply With Quote
  #21  
Old 04-07-2002, 02:49 PM
kreftt's Avatar
kreftt kreftt is offline
 
Join Date: Dec 2001
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh firefly this hack is very useful,

in fact every install of the vbulletin software on a german server breaks the law as the privacy laws in this country here say that everyone who offers a registration must allow the user to end his/her subscription, followed by the complete deletion of any data collected from that user (like his email and location).

so i would be very thankful if you could add that email feature into this hack.

tia

kreftt
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:18 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08194 seconds
  • Memory Usage 2,305KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete