Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Self Delete: Allow users to self-delete their account Details »»
Self Delete: Allow users to self-delete their account
Version: 1.0.0, by calorie calorie is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: End-User Options - Version: 3.6.8 Rating:
Released: 10-27-2007 Last Update: Never Installs: 138
DB Changes Uses Plugins Auto-Templates
Additional Files  
No support by the author.

Self Delete: Allow users to self-delete their account

What is it? This modification allows users to self-delete their account if they have permission. This modification is a port to vB 3.6.8 from a port to vB 3.5.3 of AlphaWolf's 'Self Delete' modification for vB 3.0.3.

New Features: This latest port comes with the following new features:
  • Can permit or deny self deletion usage by usergroup
  • Can force cool off time period before deletion occurs
  • Can send confirmation code to user via PM and/or email
  • Can receive reason for deletion via email if provided
  • Can send email to user confirming deletion by usergroup
  • User can stop deletion if user is in cool off time period
Requirements: vB 3.6.6+ as template hooks are used (only tested on vB 3.6.8)

Does it work on vB 3.5 and vB 3.6? See the requirements.

AngelBlue adds an option: If you wish to place members into a special usergroup instead of removing them, see this post.

Port Information: Ported to vB 3.6.8 with permission via AlphaWolf's post:

https://vborg.vbsupport.ru/showpost....9&postcount=32

Quote:
Originally Posted by AlphaWolf
I do not have the new 3.5 Version:disappointed:

Maybe someone other is able to port it to the new version. Here is the permission for everyone. Just gimme credit
/**
* Original Self Delete Hack
* https://vborg.vbsupport.ru/showthread.php?t=72932
* @copyright 2004 by AlphaWolf ( http://www.celebdb.de )
**/

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
Insta-Gator

Comments
  #32  
Old 01-19-2008, 12:03 PM
shoppingtelly shoppingtelly is offline
 
Join Date: Apr 2002
Location: Blackpool
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

delete
Reply With Quote
  #33  
Old 02-01-2008, 11:20 AM
Conner85 Conner85 is offline
 
Join Date: Jan 2008
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Question.. how in the heck do I "revert" my templates to make this work. I chose my current template in Style Manager and chose to revert all templates. It totally changed my template, took my logo away and everything was just so unrecognizable. Which templates should I revert, how do I get there and how do I go about doing it? I'm totally new to vBulletin. I've always messed with phpBB.
Reply With Quote
  #34  
Old 02-12-2008, 03:57 PM
AngelBlue AngelBlue is offline
 
Join Date: Jun 2007
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My users like being able to delete their accounts.
But, they often regret doing so afterwards, and wish it could be undone.
Hell, sometimes spammers/trolls try to use the delete my account feature to cover their tracks!
I've also had cases where I wanted to identify if a previously self-deleted user has returned or not.

So, I did a bit of modding, and came up with this modification to your product.

Essentially, rather than really removing deleted users from the database, it just puts them into a special usergroup which makes them look like they're deleted, when they really aren't.
They don't show in :
* postbits (with the included template edit which hides their username from non-admins)
* member list (due to group settings)
* profiles (due to their profile giving a 'deleted' error when viewed by non-admins)

To use my modified version instead :
  • Install my Fake Account Deletion mod.
  • Replace the self_delete_profile.php file in this hack with the slightly modified one attached to this post.

Note that this extension to calorie's mod is not officially supported, but if you encounter problems with it, please IM me with the details.
Reply With Quote
  #35  
Old 02-14-2008, 11:20 AM
logicuk logicuk is offline
 
Join Date: Jan 2008
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sweet will this work on vb 3.7 b4 ?
Reply With Quote
  #36  
Old 02-18-2008, 05:00 AM
Artes_Marciales Artes_Marciales is offline
 
Join Date: Jun 2007
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AngelBlue View Post
My users like being able to delete their accounts.
But, they often regret doing so afterwards, and wish it could be undone.
Hell, sometimes spammers/trolls try to use the delete my account feature to cover their tracks!
I've also had cases where I wanted to identify if a previously self-deleted user has returned or not.

So, I did a bit of modding, and came up with this modification to your product.

Essentially, rather than really removing deleted users from the database, it just puts them into a special usergroup which makes them look like they're deleted, when they really aren't.
They don't show in :
* postbits (with the included template edit which hides their username from non-admins)
* member list (due to group settings)
* profiles (due to their profile giving a 'deleted' error when viewed by non-admins)
Thanks!!
that is really useful
Reply With Quote
  #37  
Old 02-18-2008, 06:13 PM
indie2industry's Avatar
indie2industry indie2industry is offline
 
Join Date: Jan 2008
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tested it, clicked install.

works perfectly
Reply With Quote
  #38  
Old 02-19-2008, 01:24 PM
imported_gc1 imported_gc1 is offline
 
Join Date: Feb 2004
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I must be a dummy, the link is not showing up here hmmm

Whats the direct link to the option?
Reply With Quote
  #39  
Old 02-20-2008, 11:24 AM
Mike-D Mike-D is offline
 
Join Date: Jan 2006
Location: Cologne / Germany
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by imported_gc1 View Post
I must be a dummy, the link is not showing up here hmmm
When your Link inside the UserCP isn't showing up, your Template isn't corrected edited. Here's the way...

Template USERCP_SHELL => Search / Insert

Code:
<tr>
  <td class="$navclass[attachments]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editattachments">$vbphrase[attachments]</a></td>
</tr>

<!-- Self Delete Account -->
<tr>
  <td class="$navclass[sd_kill]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=delacc">$vbphrase[sd_delacc]</a></td>
</tr>
<!-- / Self Delete Account -->

In case of using TMS...
HTML Code:
<templateedits> <!-- TMS Replacements --> 	
  <templateedit template="USERCP_SHELL" varname="sd_link_usercp" username="MikeD" version="3.6.8" searchorder="5">
  <title>UserCP Link Einf?gen</title>
  <searchstr><![CDATA[<tr>
  <td class="$navclass[attachments]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editattachments">$vbphrase[attachments]</a></td>
</tr>]]></searchstr>
	
  <replacestr><![CDATA[<tr>
  <td class="$navclass[attachments]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editattachments">$vbphrase[attachments]</a></td>
  </tr>
<!-- Self Delete Account -->
  <tr>
  <td class="$navclass[sd_kill]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=delacc"><Font Color="Red">$vbphrase[sd_delacc]</Font></a></td>
  </tr>
<!-- / Self Delete Account -->]]></replacestr>
  </templateedit>
</templateedits> <!-- / TMS Replacements -->

Quote:
Originally Posted by imported_gc1 View Post
Whats the direct link to the option?
Code:
YOUR-SITE.com/YOUR-FORUM/profile.php?do=delacc
Reply With Quote
  #40  
Old 02-28-2008, 09:33 PM
b6gm6n's Avatar
b6gm6n b6gm6n is offline
 
Join Date: Aug 2002
Location: UK
Posts: 691
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works, apart from one last email i believe from this hack, i receive an admin email saying a member is marked for deletion, then an hour or so later i get a blank email...this hack?
Reply With Quote
  #41  
Old 02-29-2008, 01:14 AM
Pamela Pamela is offline
 
Join Date: Apr 2004
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will a fresh install of this for 3.7.0 (Beta 5) work...or does this need to be rewritten for 3.7?

Thanks!
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 07:17 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.06411 seconds
  • Memory Usage 2,323KB
  • 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_html
  • (4)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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