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

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

Category: Profile Enhancements - Version: 4.1.7 Rating:
Released: 11-15-2011 Last Update: 11-16-2011 Installs: 60
Supported DB Changes Uses Plugins Template Edits Auto-Templates
Additional Files Translations Is in Beta Stage  

What is vBulletin-Self Delete:

This addon allows your users to self delete their profile in your forum. While the process for this goes on, you can use additional settings like cool down time, conformation code, move to another usergroup instead of 'hard deleting' and much more.

The users are (depends on your settings) getting deleted right away or while a hourly cronjob is running in the background.

Installation:

Upload all files you can find in the 'upload' folder to your server and import the product file in admincp. Then you check the usergroup permissions and the settings under admincp -> 'Settings' -> 'Options' -> 'User Profile: Self Delete'

If you habe TMS installed in your forum, you are down with the installation. If you dont use TMS, then you have to change the 'navbar' template manually. For manual changed open the template 'navbar' and search for:
PHP Code:
<vb:if condition="$show['notices'] AND THIS_SCRIPT != 'register'"
About that code, enter this code:
PHP Code:
<vb:if condition="$show['selfdeleteinfo']">
    <
form action="vbselfdelete" method="post" id="notices" class="notices">
        <
ol>
            <
li class="restore" id="navbar_notice_1">
                {
vb:rawphrase vbselfdelete_remember_to_stop_deletion, {vb:raw show.selfdeleteremain}}
            </
li>
        </
ol>
    </
form>
</
vb:if> 
That's it.

General:

This addon has been coded with best knowledge but there still might be bugs. You use this addon at your own risk.

Copyright, Branding and Sponsor:

It is NOT allowed to remove or change the copyright, branding or the sponsor of this addon in any ways. If you would like to get a branding free version of this addon, then you can buy it by writing a personal message to me here at vbulletin.org.

Please notice the sponsor of this addon:

Opel-Problemforum.de - Opel Tipps und Tricks

Download Now

File Type: zip vbselfdelete100.zip (26.4 KB, 71 views)
File Type: zip vbselfdelete101.zip (27.8 KB, 275 views)

Screenshots

File Type: jpg 0-usercp.jpg (46.5 KB, 0 views)
File Type: jpg 1-usercp.jpg (54.5 KB, 0 views)
File Type: jpg 2-usercp.jpg (51.4 KB, 0 views)
File Type: jpg 3-admincp.jpg (65.6 KB, 0 views)
File Type: jpg 4-admincp.jpg (107.6 KB, 0 views)
File Type: jpg 5-usergrouppermissions.jpg (33.3 KB, 0 views)
File Type: jpg 6-cronjob.jpg (42.9 KB, 0 views)
File Type: jpg 7-personalmessage.jpg (73.1 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
7 благодарности(ей) от:
0xC0FF33, BANDiT600, Dr.osamA, Gemma, HMBeaty, Insta-Gator, nacaruncr

Comments
  #52  
Old 02-07-2016, 07:19 PM
KevinL KevinL is offline
 
Join Date: Apr 2005
Posts: 1,287
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Vossi View Post
Yes, I don't see another usefull way of doing it otherwise.
I'm not sure I understand. It would be more useful to move them manually or to have them automatically moved back to their usergroup they were in before asking to be deleted? I would think to have them moved automatically would be more useful no?

Thank you for the reply!
Reply With Quote
  #53  
Old 02-10-2016, 04:07 PM
MrD's Avatar
MrD MrD is offline
 
Join Date: Aug 2003
Location: Germany/NRW
Posts: 419
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,
Quote:
Originally Posted by Vossi View Post
Yes, I don't see another usefull way of doing it otherwise.
at the VBouncer Addon, there are an Option that Users where moved Back in the Usergroups if there have the Mailadress verified.

Maybe this is an Idea for Future Versions
Reply With Quote
  #54  
Old 02-10-2016, 04:10 PM
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Posts: 579
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just a random question: Is there a way to have them delete their profile, but hide it from the public and still have it visible to Staff?
Reply With Quote
  #55  
Old 03-16-2016, 12:18 AM
AllenBAN AllenBAN is offline
 
Join Date: Oct 2012
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when will this work for V 4.2.2 cos id like to use it
Reply With Quote
  #56  
Old 04-18-2016, 02:19 PM
MrD's Avatar
MrD MrD is offline
 
Join Date: Aug 2003
Location: Germany/NRW
Posts: 419
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This Addon Works fine with 4.2.x
Reply With Quote
  #57  
Old 06-29-2017, 12:22 PM
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Location: CT
Posts: 843
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Throws a DB error with 4.2.5
I know were talking an older modification but does anyone have it working or a quick fix?


Database error in vBulletin 4.2.5:
Invalid SQL:
CREATE TABLE vbselfdelete_user (
id int(11) NOT NULL auto_increment,
username varchar(255) NOT NULL default '',
userid int(11) unsigned NOT NULL default '0',
dateline int(10) unsigned NOT NULL default '0',
status smallint(1) unsigned NOT NULL default '0',
deltime int(10) unsigned NOT NULL default '0',
delcode varchar(255) default NULL,
cooldown smallint(1) unsigned NOT NULL default '0',
reason text,
PRIMARY KEY (id)
) TYPE=MyISAM;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'TYPE=MyISAM' at line 12
Error Number : 1064
Request Date : Thursday, June 29th 2017 @ 02:02:40 PM
Error Date : Thursday, June 29th 2017 @ 02:02:45 PM
Script : http://www.MyDomain.com/forums/ACP/p...=productimport
Referrer : http://www.MyDomain.com/forums/ACP/p...?do=productadd
IP Address : xxx.xxx.xxx.xxx
Username : UserID
Classname : vB_Database_MySQLi
MySQL Version : 10.1.10-MariaDB
Server : xxx.xxx.7.194
User Agent :
Reply With Quote
  #58  
Old 07-01-2017, 01:33 PM
z3r0's Avatar
z3r0 z3r0 is offline
 
Join Date: Apr 2005
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hostboard View Post
Throws a DB error with 4.2.5
I know were talking an older modification but does anyone have it working or a quick fix?


Database error in vBulletin 4.2.5:
Invalid SQL:
CREATE TABLE vbselfdelete_user (
id int(11) NOT NULL auto_increment,
username varchar(255) NOT NULL default '',
userid int(11) unsigned NOT NULL default '0',
dateline int(10) unsigned NOT NULL default '0',
status smallint(1) unsigned NOT NULL default '0',
deltime int(10) unsigned NOT NULL default '0',
delcode varchar(255) default NULL,
cooldown smallint(1) unsigned NOT NULL default '0',
reason text,
PRIMARY KEY (id)
) TYPE=MyISAM;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'TYPE=MyISAM' at line 12
Error Number : 1064
Request Date : Thursday, June 29th 2017 @ 02:02:40 PM
Error Date : Thursday, June 29th 2017 @ 02:02:45 PM
Script : http://www.MyDomain.com/forums/ACP/p...=productimport
Referrer : http://www.MyDomain.com/forums/ACP/p...?do=productadd
IP Address : xxx.xxx.xxx.xxx
Username : UserID
Classname : vB_Database_MySQLi
MySQL Version : 10.1.10-MariaDB
Server : xxx.xxx.7.194
User Agent :
Try this - https://vborg.vbsupport.ru/showpost....0&postcount=20
Reply With Quote
  #59  
Old 07-01-2017, 01:46 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

TYPE is old MySQL (MariaDB) syntax, no longer supported, change it to ENGINE.
Reply With Quote
  #60  
Old 07-03-2017, 11:39 AM
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Location: CT
Posts: 843
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you, that did the trick
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:54 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.06486 seconds
  • Memory Usage 2,361KB
  • Queries Executed 26 (?)
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_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (7)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete