vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Allow users to delete themselves (https://vborg.vbsupport.ru/showthread.php?t=37072)

Floris 04-10-2002 04:08 PM

Uhm .. I tried a few things, but only ended up with errors. grr.. I wish I knew more about PHP

Smellycat 04-10-2002 05:51 PM

Quote:

Originally posted by xiphoid
Uhm .. I tried a few things, but only ended up with errors. grr.. I wish I knew more about PHP
maybe if you offer Firefly, a free holiday he might come and teach you some more of his leet php skills?

*Grin*

Floris 05-05-2002 04:42 PM

If you don't hear from FireFly for a while .. :P
Code:

        mail("$webmasteremail", "User $bbuserinfo[username] Unregistered", "Username ".unhtmlspecialchars($bbuserinfo['username'])." \n UserID $bbuserinfo[userid] \n Unregistered", "From: $webmasteremail\r\n");
        eval("standarderror(\"<br><br>You've just been erased from our database, you are now browsing the forum as Guest.<br><br>\");");

should do the trick. I tried with username ^test*^'\er and that worked just fine.

Now.. all I need is an input field where users can give a quick reason why they no longer wish to be a registered member.

Derek 08-07-2002 09:35 AM

I'm hoping this "bump" will be able to give someone the opprotunity to add the "email confirmation to user" feature.

wolfman 09-11-2002 04:18 PM

Ok I have it installed I just have no idea where to find this new option at nor do I know how to add it in someplace so the user can find it.

Thanks in advance.

Floris 09-11-2002 04:49 PM

Time to re-read the thread is all I can advice.

wolfman 09-12-2002 01:40 AM

Uh thanks, I think.

I have read and re-read this thread I am seeing bits and pieces of it but how to put these pieces together is just not falling together in my head.

wolfman 09-12-2002 02:10 AM

For anyone that cares I added this to the usercpnav template under User Control Panel Templates this gives the users a button within the user cp. I am sure someone will do it on accident as many do not seem to read anything, but hey they will learn when they make this big of a mistake. I have this installed in vbb 2.2.7 and I have tested it and it does work.

Code:

        <td bgcolor="$cpnav[7]"><smallfont><b><a href="member2.php?s=&action=deleteme">Delete me</a></b></smallfont></td>

Edited the code in here as I posted the wrong one in there this can be pasted in the usercpnav after the last line like this one.

Floris 09-12-2002 09:31 AM

Quote:

Originally posted by wolfman
Ok I have it installed I just have no idea where to find this new option
.. from the first post in this thread:
Quote:

That's it. Now people can go to member2.php?s=&action=deleteme, and if they click Yes there their profile (and the rest of the data associated with that user) will be deleted.
You can put it anywhere you want.

You can make a link in any template like
<a href="member2.php?s=&action=deleteme">Delete me</a>

As suggested above, you can do this in the usercp, where someone might suspect it. I made a unregister.mysite.com link, so when they go there, they can unregister. You could add it in your footer < contact us - register - unregister - yoursite.com >

wolfman 09-13-2002 02:15 AM

Thanks so much I do appreciate the help :)


All times are GMT. The time now is 08:24 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
  • Page Generation 0.01031 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete