![]() |
AngelBlue, you're most of the way to a whole separate mod "Virtual Delete a user". This is an often requested feature. Why don't you take it all the way?
|
AngelBlue, if the virtually deleted member decided to return later, can they just be moved back to their original usergroup and be just like they were before?
|
Quote:
Don?t work??:confused: |
Quote:
First is that I would like people to test my modified version of this hack before I release it as my own product. After all, testing is good :) Second is that I'd prefer, for simplicity, that the two hacks were merged into one. Why have two very similar hacks? Why not just have one hack with the option to toggle between the two modes of behaviour? My version of calorie's mod includes a setting in vB options that toggles between either using my "disable, but don't delete" method, or using calorie's "really remove them from the database" method. Calorie could include my code in this mod, adding another option to the mod with no effort required on his part. If he decides that he doesn't want to use my code, I will probably release my own version of the virtual self delete hack, with the ability to do both what calorie's mod can do and also support the virtual or "fake" deletion behaviour. If calorie really doesn't want me using his code in my mod, I could probably strip out his code and create an entirely different fake deletion mod, based on the same principles, but without using this code. I really don't want to do this, however, as I would consider it reinventing the wheel, and hence, a waste of effort. I think it would be much better if calorie included my code in his mod, or at least, replied here saying that it would be OK for me to create a development fork of his mod to explore adding to the virtual/fake deletion code... maybe they could be merged later once the fake deletion part of it has been tested for awhile and I've added a few more things that I think would be nice to add. Quote:
In future, I plan to have the option to either phrase this as a "delete" mod (useful if you don't re-activate accounts that users want deleted, but you want to keep them on file anyway)... or a disable mod (useful if you don't want to suggest to your users that their accounts are gone forever, or you aren't able to do so because you sometimes reactivate them). I'd also like to add a "permit self re-enable" option, which, if enabled, causes the account to be un-deleted when the owner logs in and clicks a link. If disabled, behaviour would be as currently, where once deleted, the account cannot be used and admin intervention is required to re-enable it. It would probably be possible for me to expand this fake deletion system into a system whereby users could choose, from a set drop-down menu, a list of usergroups to move their account to. Deletion would be one of those options... but there might be other options, too... like newbies having a choice of setting their account to the "Men" or "Women" groups, and getting access accordingly (but, that doesn't necessarily mean that the admin would have to allow movement from the Men group to the Women group, or vice versa!). In effect this system could be expanded to a usergroup movement flowchart, where admins define which usergroups allow their members to move to which other usergroups. Allowing all accounts to set themselves "deleted" (fake deleted, I mean) might be one option there. |
3.7 beta (i think here) all works, anyone know about the blank email sent to webmaster account after the 'whatever marked for deletion' email? usually after the cool off period the webmaster then gets a blank
|
I have split away the code that I was using to provide 'fake deletion' behaviour into a separate fake deletion mod.
Compatibility with this "Self Delete: allow users to self-delete their account" mod by calorie is provided in the form of a very easy integration... simply replace one of the files calorie's mod uses with the one that I provided in this post. For further discussion of the fake deletion mod, please post in my thread on the subject, as I don't want to create a bunch of off-topic replies in this thread. |
needs an update for 3.6.10 security token issue
|
Here is a xml with SecToken Fix.
Works in 3.6.10 and 3.7.0 |
Quote:
|
Hmmm... seem to have a problem, when the cool off period is set to 0 accounts are deleted straight away, but when i set it to 60, accounts don't delete, even when running the hourly cleanup crons. Everything worked fine before 3.7, can anyone help?
|
Sorted it!
For some reason 'cron_script_cleanup_hourly' was not specified as the Hook Location in the 'Self Delete Cron Script Clean' plugin, the field was just blank despite installing/uninstalling the .xml several times :confused:. |
Nice Mod!
Thanks A Lot :d Here is the german translation of this mod (works with 3.7.0) CU Tino |
And here is the german translation for "Deutsch (Sie)" based on pixel-shocks german translation for "Deutsch (Du)" ;)
Thanks for the usefull mod. |
Does this work with v3.7.1?
|
Quote:
|
It did not work for me either....it just went to a blank screen when I clicked the 'delete account' link
|
You need this fixed xml with the SecurityTokens.
|
Are you saying that it works on 3.7.1 with that SecurityTokens file?
|
Hi,
i run the hack with the Fixed xml file. It works, but only the Bug with the Cron (Delete Time) works not. But this dont work in the original Hack, too. |
it works not it says makrs for deletion but i guess the cron job does not work i dont see it in the cron job list in the admincp - why? any solution - that i can use it with 3.7 thank you.
|
I get a blank email after the cool off period has ended... Any ideas?
|
@pixel-shock:
I tried to upload your XML for the german "Du"-Version, but I get the error, that the file is not valid ("Datei ungültig"). Anyone any idea why happends? I use vBulletin 3.7.0. |
Quote:
|
I added the link to the control panel but i can not figure out how to get the link in the navbar for the cool off period. And I don't see a stop delete link anywhere..
|
Quote:
|
thanks for responding.. I was checking with a test account and did not see the stop delete button, or anything in the nav bar. I think I was reading that I have to add hooks to the template. I don't know how to go about that. I'm searching for info.. but having no luck so far. Could anyone that had to add the hooks explain how they did it? I would really appreciate it. :)
|
Getting errors.. I think I need to uninstall this..
Hourly Cleanup Warning: include_once(/home/.ayla/XXX/XXX.com/XXX/includes/cron/self_delete_cron.php) [function.include-once]: failed to open stream: No such file or directory in /includes/cron/cleanup.php(77) : eval()'d code on line 19 Warning: include_once() [function.include]: Failed opening '/home/.ayla/XXXXXX/XXX.com/XXX/includes/cron/self_delete_cron.php' for inclusion (include_path='.:/usr/local/php5/lib/php:/usr/local/lib/php') in /includes/cron/cleanup.php(77) : eval()'d code on line 19 Done |
Installed in vb 3.7.2
Delete account immediatly, nobody is allowed to even the group permissions are set. Fixed the missing Hook entry for hourly cron. Own individual cron does not work. Made my own german phrases because the two ones in this thread didn't work. Last action is the following issue: Quote:
Regards, Cocko. |
Quote:
I'm not experienced in installing hacks. |
Hi,
the Hack works fine in 3.7.2 and 3.7.3 |
Any hint how to get the cron part working?
I tried to set it up like this, but it doesnt seem to work... Thomas |
Quote:
what about the Cron Job in that Addon? Does it finally works in your Forum? Still today it won't works. Dunno what the cause can be :( German: Wie siehts denn bei Dir aus mit diesem Addon? L?uft bei Dir der Cron Job? Bei mir bis heute nicht und so hab ich das Addon bei mir wieder gel?scht, da auch der Support zu w?nschen l??t :( |
Hi everybody, did anyone tried this mod in 3.8?
Thanks for feedback |
Quote:
Quote:
|
Hi,
the Hack works fine on vb3.7.x and 3.8.x But you must have the Sec token Fix. Look at Page 4 my posting #48 |
HI,
this worked perfect for us on 3.7.x - but now on 3.8.x all I get here is just a blank page (forum/profile.php?do=delacc) I also enabled the debug mode, but still just get that white page. Already tried uninstall & reinstall, didnt help. Any idea or hint? thanks |
figured it out: during the upgrade somehow the setting of the usergroup ("Can Self Delete ") was set to "no" - set it back to yes and it works like a charm with 3.8.1
|
Works good in 3.8 thanks for the token fix also.
|
Isn't this feature supposed to reset the username to "Guest"? All it seems to do is change the user title to Guest, the username remains. Can anyone point me to where this change is in the code so I can modify it to change the username too? Earlier versions did this, but 3.8 seems to fail...
Thanks! |
Quote:
Cheers |
All times are GMT. The time now is 09:42 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|