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

Reply
 
Thread Tools
Self Delete Hack Details »»
Self Delete Hack
Version: 1.1.1, by AlphaWolf AlphaWolf is offline
Developer Last Online: Aug 2007 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 12-14-2004 Last Update: 12-15-2004 Installs: 11
DB Changes
 
No support by the author.

What does this hack?
This Hack give your users the option to delete their own account from the User CP. I know this hack is disputed, but i release for the ones who really want this hack. I hope the hack is save enough. Please report if users abuse this funktion.

Compatibility
-3.0.3
-For 3.0.1 compatibility read the Notes (thx to Odysseus)


To do
To change:
PHP Files : 2
Templates : 1

To add:
Templates: 2
Phrases : 10
Queries : 1


History

1.1.1
Bugfix


  • Translation mistake
1.1.0
Features
  • Checkbox confirmation
  • Password confirmation
  • Email confirmation
  • Confirmationemail to admin
Bugfix
  • Graphical glitches
1.0.0
Features
  • Usercp integration
  • Use phrases
  • Clean deletion through existing admin_function
Notes
Please excuse my bad english. I did the translation of the hack by myself and its bad. Report language mistakes. Don't forget to press the install button.


For 3.0.1 compatibility do this:

Quote:
Originally Posted by Odysseus
You have to add this line:

Code:
require_once('./includes/adminfunctions.php');
before the line in the hack code (~1564) that calls this function.

This makes sure that the adminfunctions.php file, in which the delete_user() function is located, will be included.

The hack will then work with vB 3.0.1, too.

Show Your Support

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

Comments
  #12  
Old 12-16-2004, 12:17 PM
Bryan Ex's Avatar
Bryan Ex Bryan Ex is offline
 
Join Date: Feb 2004
Location: Canada
Posts: 233
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AlphaWolf
Are you sure you do that in ./profile.php:
Yes, I double checked that is was there and correct and also checked the adminfunctions.php. I guess I'll have to wait and see if anyone else has the same issue to determine if it's specific to my board. If I can get past this error somehow I can just add some text to the deletion screen telling users to use a new window to access their email if needed.

Code:
	require_once('./includes/functions_misc.php');
	require_once('./includes/functions_register.php');
	require_once('./includes/adminfunctions.php');
	if (
Reply With Quote
  #13  
Old 12-16-2004, 12:27 PM
AlphaWolf's Avatar
AlphaWolf AlphaWolf is offline
 
Join Date: Jul 2004
Location: Germany
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you find the funktion in your adminfunctions.php?:

PHP Code:
function delete_user 
Reply With Quote
  #14  
Old 12-16-2004, 12:31 PM
Bryan Ex's Avatar
Bryan Ex Bryan Ex is offline
 
Join Date: Feb 2004
Location: Canada
Posts: 233
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah-ha... a slightly different version in my file;

function delete_user($userid = 0)
Reply With Quote
  #15  
Old 12-16-2004, 12:34 PM
AlphaWolf's Avatar
AlphaWolf AlphaWolf is offline
 
Join Date: Jul 2004
Location: Germany
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the same, but i post this, because i didn't know if you have the same function. I don't know why it doesn't work with you Board.
Reply With Quote
  #16  
Old 12-16-2004, 01:04 PM
Bryan Ex's Avatar
Bryan Ex Bryan Ex is offline
 
Join Date: Feb 2004
Location: Canada
Posts: 233
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I appreciate your time AlphaWolf. I'll just wait until someone else installs to find out if the problem is just for me.
Reply With Quote
  #17  
Old 12-17-2004, 11:54 PM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jluerken
There should be an option that an admin must approve the deletion. Then its safe I think.
Another option would be that the user gets a warning pm that his account will be deleted within 48 hours. This would also prevent people from deleting other users accounts when they get their logindata.
lord....
Reply With Quote
  #18  
Old 12-17-2004, 11:57 PM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please a clear answer.

Does this hack erase any attachemnts and PM left by the user?

Please and thank you.
Reply With Quote
  #19  
Old 12-18-2004, 05:17 AM
AlphaWolf's Avatar
AlphaWolf AlphaWolf is offline
 
Join Date: Jul 2004
Location: Germany
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Attachments will not be erased because they belong to the posts. PM's will be deleted.
Reply With Quote
  #20  
Old 12-18-2004, 02:55 PM
mcyates mcyates is offline
 
Join Date: Jan 2003
Location: Middlesbrough, Cleveland
Posts: 798
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have done everything and my pages are blank when i click on delete account in the usercp. The templates are installed properly. I just don't see what the problem is!!
Reply With Quote
  #21  
Old 12-18-2004, 08:18 PM
AlphaWolf's Avatar
AlphaWolf AlphaWolf is offline
 
Join Date: Jul 2004
Location: Germany
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you uploaded the php Files corectly? I have installed the Hack with a clear 3.0.3 vB today. It defenatly work.
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 11:03 PM.


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.06194 seconds
  • Memory Usage 2,308KB
  • 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)bbcode_php
  • (3)bbcode_quote
  • (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