vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   End-User Options - Self Delete: Allow users to self-delete their account (https://vborg.vbsupport.ru/showthread.php?t=161335)

calorie 10-27-2007 10:00 PM

Self Delete: Allow users to self-delete their account
 
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 )
**/

Masiello 10-28-2007 06:42 PM

Thanks for this!

iogames 10-28-2007 08:49 PM

Finally, finally, finally...

Shazz 10-28-2007 08:56 PM

A new one!
[high]* Shazz gives reps
[/high]

Alot of people have been waiting for this :)

Saviour 10-28-2007 10:17 PM

Don't know why I'm posting this, since it's not supported.

Downloaded...followed all directions to the tee. Set permissions...made sure everything was configured as it should be. Doesn't work...nothing shows up in user profile for those Usergroups I set the self-delete permissions for.

Nice try, though.

Downloaded...Installed...Doesn't Work...Uninstalled.

dilbert 10-28-2007 10:44 PM

Can it be configured so the user can not self delete if they have posts?

calorie 10-28-2007 11:28 PM

Thanks for the thanks. :D

@Saviour: Not sure why I'm responding, since it's not supported ;) but this screenshot was added just for you, i.e., this modification was tested and does indeed work.

@dilbert: one idea would be to use promotions and set users with posts in a usergroup not allowed to self delete.

Saviour 10-28-2007 11:35 PM

Quote:

Originally Posted by calorie (Post 1370754)
@Saviour: Not sure why I'm responding, since it's not supported ;) but this screenshot was added just for you, i.e., this modification was tested and does indeed work.

Then I must have another hack that's interfering with it...'Cause I can't get it to work.

Thanks, anyway...appreciate you getting back to me.

calorie 10-28-2007 11:50 PM

The following template hooks are available since vB 3.6.6:
Code:

vB navbar template      :  $template_hook[navbar_buttons_left]
vB USERCP_SHELL template :  $template_hook[usercp_navbar_bottom]

See if those template hooks are in the listed templates.

If not, you might want to revert templates to get them.

Triky 10-29-2007 01:44 PM

When deleted, where can I read the reason (as an admin)?

rainyleaves 10-29-2007 03:03 PM

Cooooooooooooool.
Thanks a lot!!!

axi 10-29-2007 03:33 PM

very nice. will install later today when i get back home !

calorie 10-30-2007 07:05 AM

Thanks again for the thanks. :)

@Triky: to the webmaster email address set in vBulletin Options -> Site Name / URL / Contact Details

Triky 10-30-2007 08:19 AM

Oh, ok. Thank you for this mod, calorie. :)

AngelBlue 10-30-2007 10:25 AM

Good mod.
My only suggestion is that when the time till deletion is large (over, say, 3 days)... that the time remaining be displayed in days instead of minutes.

hcmagix 10-30-2007 07:53 PM

Hi Calorie
I need a option thats posts from the self deleted user rewrited in "ex member" or so.

kruchczan 11-01-2007 10:19 PM

do not view link userscp :(?

Skitty 11-02-2007 02:40 AM

Quote:

Originally Posted by calorie (Post 1370766)
The following template hooks are available since vB 3.6.6:
Code:

vB navbar template      :  $template_hook[navbar_buttons_left]
vB USERCP_SHELL template :  $template_hook[usercp_navbar_bottom]

See if those template hooks are in the listed templates.

If not, you might want to revert templates to get them.

I had the same issue, adding the missing hooks fixed the problem, thank you !

chris1979 11-08-2007 03:57 PM

What's the url to direct link to the self-delete page?

Saviour 11-09-2007 07:42 PM

Just thought I'd give an update...

I did what was suggested and made sure I had the hooks I needed in both the navbar and USERCP_SHELL templates...uploaded all files to their respective folders and imported the product again...it still didn't work.

So I went over everything I did...over and over. I was ready to give up hope when I just simply ran the the Repair and Optimize table feature within the Admin CP...

Guess what? It's working...

Thanks to all for your help...Clicks "Installed".

Xxman 11-25-2007 10:08 PM

I'm running an 3.6.4 with a lot of mods , I'm not a dude , i've read the requirement before but it's impossible for me to update , and i tried too.
I've installed the hack succesfully but I don't view the link in usercp , can I fix it ?

jasculs 11-28-2007 05:56 PM

Does anyone know the direct link code I can put in my custom USERCP for the self delete link?

DanaRVT 11-29-2007 06:58 AM

When using this mod, and a member self deletes, does it leave their posts, like when you delete a member in the AdminCP, and just change it to "Guest" or does it prune their posts as well? I don't want to swiss cheese my board, so if using this mod will also remove a user's posts when they self delete I will need to know that before installing. Thanks in advance!

taeb 12-15-2007 02:19 PM

a german translate available?

thx

Annapurna 01-06-2008 11:05 AM

One question:
If the account is deleted, how's about the posts of the self-deleted-user? Are they deleted too? Or will those posts set to "guest" posts?
A.

snoopy5 01-15-2008 06:29 PM

Quote:

Originally Posted by Annapurna (Post 1416446)
One question:
If the account is deleted, how's about the posts of the self-deleted-user? Are they deleted too? Or will those posts set to "guest" posts?
A.

I need to know this too before I install it....

inciarco 01-15-2008 09:14 PM

I Have Three Questions:

-1- Why Would a Community Would like their Members to Self-Delete their Accounts?? :confused:

-2 After Deleting their Accounts, the Messages will Appear as Published by a Guest?? :confused:

-3 If the User Selects the "Delete My Account" Option, during the Confirmation Time will he/she be Able to Retract him/her self of his/her Decision, and Cancel the Delete Process of his/her Account?? :confused: If is possible, the Where is Located that Option?? :confused: (I didn't saw it on the Screenshots)

I prefer to Completely Ban an Account than Deleting it, because I can Track who Published What, but if an User Deletes his/her Account, I would'nt Know Who Published their Messages. That's why I ask why whis Mod could be Useful for a Community?? ;)

My Best Regards!! ;)

:)

Artes_Marciales 01-16-2008 06:43 PM

Quote:

Originally Posted by inciarco (Post 1422170)
I prefer to Completely Ban an Account than Deleting it, because I can Track who Published What, but if an User Deletes his/her Account, I would'nt Know Who Published their Messages. That's why I ask why whis Mod could be Useful for a Community?? ;)

+1000

Deriel 01-17-2008 09:52 AM

I think the users have the right to ask for a acount delete. I cannot only Ban if they ask for a delete. There are personal data and so on. I think it's a right, shows respect to the user... he registered and he can "unregister" himself. A kind of "opt-out".

As a Admin I never delete a account, just ban - unless asked by the user.

inciarco 01-17-2008 04:00 PM

Quote:

Originally Posted by Deriel (Post 1422967)
I think the users have the right to ask for a acount delete. I cannot only Ban if they ask for a delete. There are personal data and so on. I think it's a right, shows respect to the user... he registered and he can "unregister" himself. A kind of "opt-out".

As a Admin I never delete a account, just ban - unless asked by the user.

In that Case, is Better Not to Delete the Account, but simply Change the Name of it via Admin Control Panel, and Delete all the Personal Information of the User, and of course Change the Password of the Account for the User Never to Access it Again!! ;)

All the Information of the IPs is Recorded for the User, and is Important to Locate Spammers and Other Non Welcomed Persons in this Communities!! ;)

My Best Regards!! ;)

:)

shoppingtelly 01-19-2008 12:03 PM

delete

Conner85 02-01-2008 11:20 AM

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.

AngelBlue 02-12-2008 03:57 PM

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.

logicuk 02-14-2008 11:20 AM

sweet will this work on vb 3.7 b4 ?

Artes_Marciales 02-18-2008 05:00 AM

Quote:

Originally Posted by AngelBlue (Post 1441528)
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 :)

indie2industry 02-18-2008 06:13 PM

tested it, clicked install.

works perfectly

imported_gc1 02-19-2008 01:24 PM

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

Whats the direct link to the option?

Mike-D 02-20-2008 11:24 AM

Quote:

Originally Posted by imported_gc1 (Post 1446634)
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 (Post 1446634)
Whats the direct link to the option?

Code:

YOUR-SITE.com/YOUR-FORUM/profile.php?do=delacc

b6gm6n 02-28-2008 09:33 PM

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?

Pamela 02-29-2008 01:14 AM

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

Thanks! :)


All times are GMT. The time now is 07:05 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01702 seconds
  • Memory Usage 1,840KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (1)bbcode_html_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete