1
deka87
Delete account buttom
  • 2009/10/16 5:28

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


hi guys, my users have problems deleting their own account. the button just won't work.

the user delete account button looks like this:

<input type="button" value="<{$lang_deleteaccount}>" onClick="location='edituser.php?op=delete'" />


the admin delete user account button looks like this

<input type="button" value="<{$lang_deleteaccount}>" onClick="location='<{$xoops_url}>/modules/profile/admin/user.php?op=delete&id=<{$user_uid}>'" />


is it alright if i replace user delete account button with the admin delete account button?


2
ghia
Re: Delete account buttom
  • 2009/10/16 8:09

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Seems your template is wrong:
<input type="button" value="<{$lang_deleteaccount}>" onclick="location='user.php?op=delete'" />


(Allowing users to delete their account can attract SPAM, because their posts stay after deleting the account and you have no means of blocking them.)

3
deka87
Re: Delete account buttom
  • 2009/10/16 11:38

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


thansk ghia.

Login

Who's Online

324 user(s) are online (88 user(s) are browsing Support Forums)


Members: 0


Guests: 324


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jun 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits