PDA

View Full Version : Profile Enhancements - vBulletin Self Delete - Allow users to self-delete their profile


Vossi
11-15-2011, 11:00 PM
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 (https://vborg.vbsupport.ru/showthread.php?t=152931) installed in your forum, you are down with the installation. If you dont use TMS (https://vborg.vbsupport.ru/showthread.php?t=152931), then you have to change the 'navbar' template manually. For manual changed open the template 'navbar' and search for:
<vb:if condition="$show['notices'] AND THIS_SCRIPT != 'register'">
About that code, enter this 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 (http://www.opel-problemforum.de)

Robru
11-16-2011, 09:39 AM
Wauw! 'A must have' mod, thanks :)

dang3rzon3
11-16-2011, 09:43 AM
Hello,i have any questions: messages that are already written by user in the forum will be set as a guest?

It is possible to move delete users in a user group called "Deleted Users" and make a condition in member profile that the user profile is not viewable?

Vossi
11-16-2011, 09:55 AM
Hello,i have any questions: messages that are already written by user in the forum will be set as a guest?
Yes, they will.
It is possible to move delete users in a user group called "Deleted Users" and make a condition in member profile that the user profile is not viewable?
It would be possible, actually it's not build-in yet. But could be an option vor Version 1.0.1.

dang3rzon3
11-16-2011, 10:41 AM
Thank's for your aswer: i will wait next version

Dr.osamA
11-16-2011, 11:48 AM
installed + rated + translated to Arabic

thank you

yahooooh
11-16-2011, 12:05 PM
thank you very much

Vossi
11-16-2011, 12:10 PM
installed + rated + translated to Arabic

thank you
Any chance for us to get your arabic translation?

Alibass
11-16-2011, 05:24 PM
I wonder if this will work on 4.1.2 P5 :erm:

Vossi
11-16-2011, 05:36 PM
I wonder if this will work on 4.1.2 P5 :erm:
Actually it should, I just set it to 4.1.7 as that's the Version I developed it for and that works for sure. I'm even quite positive that it works with every Version of 4.x, but that has to be tested as there might be a problem with the template. But like I said, it's worth a try.

Let me know if you try :)

Alibass
11-16-2011, 05:46 PM
Actually it should, I just set it to 4.1.7 as that's the Version I developed it for and that works for sure. I'm even quite positive that it works with every Version of 4.x, but that has to be tested as there might be a problem with the template. But like I said, it's worth a try.

Let me know if you try :)
I'll give it a try later and let you know. I'm off for work now.

Alibass
11-16-2011, 08:56 PM
I wonder if this will work on 4.1.2 P5 :erm:

Actually it should, I just set it to 4.1.7 as that's the Version I developed it for and that works for sure. I'm even quite positive that it works with every Version of 4.x, but that has to be tested as there might be a problem with the template. But like I said, it's worth a try.

Let me know if you try :)

I'll give it a try later and let you know. I'm off for work now.
Vossi, works great on 4.1.2 :D:up:

Vossi
11-16-2011, 09:13 PM
Thanks for the feedback :)

OldSchoolDSL
11-17-2011, 02:03 AM
Hello,i have any questions: messages that are already written by user in the forum will be set as a guest?

It is possible to move delete users in a user group called "Deleted Users" and make a condition in member profile that the user profile is not viewable?

I am so thankful someone asked that question. This is something to look forward to if the author adds that feature.

Vossi
11-17-2011, 05:41 AM
I just uploaded Version 1.0.1.

The new version has the option to also move the user into another usergroup instead of processing a hard delete.

Robru
11-17-2011, 11:20 AM
Thanks for your update :)

Alex@bulletin
11-17-2011, 05:00 PM
i also find it better to move deleted users to an own group instead of setting the posts to "guest" this could be create confusion ;)

Vossi
11-17-2011, 05:25 PM
Now everybody can do like he wants to, either delete the users or move them into another usergroup. :)

Alex@bulletin
11-17-2011, 06:12 PM
i know i just wanted to express my pleasure to this new feature :)

OldSchoolDSL
11-17-2011, 11:41 PM
On line 54 of the XML file

) TYPE=MyISAM");


Anyone with a newer php / mysql will require to edit this so it will read


) ENGINE=MyISAM");


I have attached a pre-edited copy for those of you who may dislike having to edit files yourself.

How will you know if you need this?

If you attempt to import the current one and receive an error... Try this one. :)

Vossi
11-18-2011, 04:53 AM
TYPE= should be down compatible with mysql, ENGINE= ist actually just recommended as far as I know.

Robru
11-18-2011, 06:55 AM
Works very good, move to another group, thanks! :)

Ramsesx
11-18-2011, 09:59 AM
I just uploaded Version 1.0.1.

The new version has the option to also move the user into another usergroup instead of processing a hard delete.
Fantastic, tagged for future usage. Thanks.

killer_t
11-18-2011, 08:43 PM
Italian translate.. :up:

Vossi
11-19-2011, 04:48 AM
Italian translate.. :up:
Great, thanks a lot :)

dang3rzon3
11-20-2011, 12:37 PM
I am so thankful someone asked that question. This is something to look forward to if the author adds that feature.

I think it's very important modification,expecially for my board.

i will wait next versione of this plugin with this modification (if it is possible)

Thanks a lot!

Vossi
11-20-2011, 01:15 PM
I think it's very important modification,expecially for my board.

i will wait next versione of this plugin with this modification (if it is possible)

Thanks a lot!
The feature, that users are geting moved into another usergroup, is already built in.

dang3rzon3
11-20-2011, 07:37 PM
Installed. Thanks for your help!
It is also possible to add the reason for deleting profile similar to facebok?

Example:

134566

Users can select a reason for cancellation and the mod show a faq that convinces him not to delete the profile (He may not have understood how to use the forum or to set privacy setting....)

terminator2k2
11-21-2011, 06:06 PM
When the user requests the deletion, what exactly will be deleted? only the profile or also the posts?

Dr.Colin
11-21-2011, 06:18 PM
Thanks, it works fine.

Robru
11-21-2011, 07:18 PM
When the user requests the deletion, what exactly will be deleted? only the profile or also the posts?
Originally Posted by dang3rzon3 View Post

Hello,i have any questions: messages that are already written by user in the forum will be set as a guest?

Yes, they will.

MrD
11-21-2011, 09:13 PM
Hi,
Installed. Thanks for your help!
It is also possible to add the reason for deleting profile similar to facebok?
Users can select a reason for cancellation and the mod show a faq that convinces him not to delete the profile (He may not have understood how to use the forum or to set privacy setting....)

There is an Reason Field on the Self Delete Screen.
So a User can give a Reason.

I wrote your Request in the Self Delte Project Tools, at the Addon Coders Board.
Maybe it?s come in an future Version.

kushal
11-22-2011, 02:19 AM
It shows to me while importing

The following dependencies were not met:
This product is not compatible with version 4.1.3 of vBulletin. (Compatible starting with 4.1.7 alpha / Incompatible with 4.3.0 alpha and greater)

Is it not compatible with 4.1.3?

MrD
11-22-2011, 07:28 PM
Hi,
this Addon is developed for vb 4.1.7 and only VB Version 4.1.7 or newer are suported.
But read Answer 10.

Rolli
11-23-2011, 12:34 PM
Thank you Vossi,works perfect for me.

phoenix1977
12-24-2011, 12:03 PM
This mod is not compatible with vbulletin 4.0.4.

Michael Sievers
12-28-2011, 06:58 AM
Getting this message:
vBulletin Message

Bitte alle Dateien hochladen die zu dem AddOn gehören! - Please upload all the files that came with the addon!

On 4.1.9??

Vossi
12-28-2011, 07:42 AM
Well, just upload all the files that came with the addon ;)

Michael Sievers
12-29-2011, 04:28 AM
I did :(

Vossi
12-29-2011, 03:20 PM
I did :(
Guess not, as this message only appears if one or more files are missing while installing the addon ;)

Stormlilly
01-05-2012, 09:37 AM
Hi there,

With the option to close the account (move the member to another usergroup) what do you do to prevent the user being able to login and / or receive emails?

At present I do this process manually. I move the user, remove the email address and change their password so that they cannot login.

Is there an easier way to do this, perhaps the settings in the usergroup?

Storm

PS How much is the unbranded version?

dang3rzon3
01-05-2012, 12:56 PM
Hi,


There is an Reason Field on the Self Delete Screen.
So a User can give a Reason.

I wrote your Request in the Self Delte Project Tools, at the Addon Coders Board.
Maybe it?s come in an future Version.

I think it's very important this add on because many people delete his profile only because doesn't know there's a Privacy Panel in UserCp or doesn't know how to use Friends&Contact functions.

If user can choose the reason i think it's possible to see a FAQ.

For Example.

"I want to delete my profile because i have privacy issue".

FAQ: Hello user. Do you know can you customize your privacy and see your profile only to your friends... Go to User Cp....



(sorry for my bad english)

Silver740
01-12-2012, 04:13 PM
I think it's very important this add on because many people delete his profile only because doesn't know there's a Privacy Panel in UserCp or doesn't know how to use Friends&Contact functions.

If user can choose the reason i think it's possible to see a FAQ.

For Example.

"I want to delete my profile because i have privacy issue".

FAQ: Hello user. Do you know can you customize your privacy and see your profile only to your friends... Go to User Cp....



(sorry for my bad english)

Wonderful idea!! I think this should be by default.

I wouldn't be surprised if vBulletin would make this hack part of their core system. Great hack!

MyPeSePe
03-06-2012, 10:36 PM
Saveme for instalation tomorrow .

herofire
03-13-2012, 12:23 PM
dont work :(

MrD
03-25-2012, 08:14 PM
hi,
dont work :(
works fine in 4.1.7 and newer Versions.
I have this Addon installed in 4.1.7 and now i use 4.1.11 and it works fine.

waldbauer.com
05-11-2012, 07:32 AM
Hello !

Just found and installed with fix but is there an option to move user to blocked usergroup after cool down period or should i manually do this ?

PS: Installed in vb 3.8

BryanLong
03-11-2013, 05:11 PM
Hi all,

is it possible to change the Reason-Field, so that this will become a field which has to be specified on requesting the self-delete.

So that it will become a MUST-Field instead of a CAN-Field.

Thanks!

Best regards,
Bryan

KevinL
02-07-2016, 02:35 AM
If they stop the deletion should there be an option in the admin to move them back to the prior usergroup before moving to the cool down group? Right now it looks like they are stuck in the group they are moved to and have to be moved back manually? Is this correct?

Thanks!

Vossi
02-07-2016, 05:12 PM
Yes, I don't see another usefull way of doing it otherwise.

KevinL
02-07-2016, 07:19 PM
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!

MrD
02-10-2016, 04:07 PM
Hi,
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 :)

Elixar
02-10-2016, 04:10 PM
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?

AllenBAN
03-16-2016, 12:18 AM
when will this work for V 4.2.2 cos id like to use it

MrD
04-18-2016, 02:19 PM
This Addon Works fine with 4.2.x :D

Hostboard
06-29-2017, 12:22 PM
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/plugin.php?do=productimport
Referrer : http://www.MyDomain.com/forums/ACP/plugin.php?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 :

z3r0
07-01-2017, 01:33 PM
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/plugin.php?do=productimport
Referrer : http://www.MyDomain.com/forums/ACP/plugin.php?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.php?p=2269060&postcount=20

Paul M
07-01-2017, 01:46 PM
TYPE is old MySQL (MariaDB) syntax, no longer supported, change it to ENGINE.

Hostboard
07-03-2017, 11:39 AM
Thank you, that did the trick :)