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)

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:43 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.01090 seconds
  • Memory Usage 1,751KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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