![]() |
Allow users to delete themselves
This one was requested by Webhost. Personally I can't see the use for this, but a hacker's gotta do what a hacker's gotta do. ;)
Anyway, this one is really simple. First, create a new template named "deleteself" with this: Code:
<center>Are you sure you want to delete your user account from this message board?<br> Code:
eval("dooutput(\"".gettemplate("subscribe")."\");"); I put in a nice 'done' message, I'll post a screen shot in a minute. ;) |
;)
|
hehe. GJ and nice screenshot, FireFly :).
|
Thanks Chen He will appreciate it.
Joey |
Actually that's pretty frickin swift Chen! I get at least 4 or 5 "delete me" messages a week. Thanks man, going to install it now.
I think I may add a mod that either allows them to prune all of their posts at the same time or set the username of those posts to "Unregistered." |
Sweet, thanks! Will save me some time.. I have it setting all the posts/threads to Unregistered instead of their username since that seems a little more like deletion.
If you have my Karma, add in: $DB_site->query("DELETE FROM karma WHERE userid=$bbuserinfo[userid] or whoadded=$bbuserinfo[userid]"); |
Quote:
how would i put a link to that in the control panel? |
Its ok i went brain dead there for a moment, found the template
|
haha....love the picture :)
|
kool hack, I will be sure to add this. :)
|
All times are GMT. The time now is 11:17 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:
|