![]() |
Thanks again Chen, what we did was a long time back we installed this hack by Chris https://vborg.vbsupport.ru/showthrea...threadid=18718
Which is for a user to subscribe to a forum in return they receive a email when there is a new thread made. We have a forum where we post all important network and site information that we subscribed everyone to. We wanted this option where we could add it to the email to give a user not only the option to unsubscribe to the forum but also delete their selve if they so desire. So this works great for that. |
See what you started now Chen, you cant let them all down can you! ;)
|
Quote:
|
For somebody like you it would take no time at all to make. I think users should have the option to delete themselves if they no longer want to be registered, but there needs to be extra security to prevent hackers. Please :p
If you don't want to do it for us, do it for Germany! ;) |
Heh, sorry but no. If people want feel free to take this hack and add stuff to it, I really don't mind.
|
It should be pretty straight forward in theory, why not just have it so that they are all moved into a "deleted" usergroup which you clear out every so often?
|
The email verification is probably the easiest way of all. I just don't have the time to code it.
Somebody please? :p |
Quote:
[update] I was not able to let a user enter a reason yet, but I was able to code an extra line that will give the webmaster an Email which user with userid unregistered. Making it work with vB now .. and will post soon. |
This will NOT E-mail the user who unregisters, but it will E-mail the webmaster that the user unregistered. And gives the username and userid.
After applying Firefly's hack, open member2.php and search for: Code:
$DB_site->query("DELETE FROM session WHERE userid=$bbuserinfo[userid]"); Code:
$DB_site->query("DELETE FROM session WHERE userid=$bbuserinfo[userid]"); username: <the user> userid: <the userid> unregistered! I tested it on my board (2.2.5) and it works. But I used username "tester". I am not sure how to handle (and if it is needed) usernames with weird characters. Maybe somebody can test? And maybe now someone can make addition so user can give up a reason, and the webmaster will also get: reason: <reason> |
I believe you need to unhtmlspecialchars() the username before sending it.
|
All times are GMT. The time now is 07:03 AM. |
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:
|