Jump to content
MakeWebGames

Recommended Posts

Posted

Hi, this picks the user from a dropdown list and deletes them.

In admin.php

Find:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Add After:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Find:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Before it add:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Find:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Add After:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Ty JDubz for reminding me to add the link. :-D

Posted

Re: Improved Delete User for V1!!!

**UPDATED TO DELETE FROM FED JAIL** I took your idea and added it that it will delete from Fed Jail

Hey I edited the del_user_form() function a little bit. I added a couple things into it you should change yours on here to this one. Now instead of just deleting user from usertable, it will delete all mail sent from the user, and also delete all the users items in inventory, Will delete any of the points that user put on point market, and same goes with the item market . This is in case you wanna change user ID and stuff.

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

You may want to look around in case I misspelled something, or the table on your game is incorrect with the table it is trying to delete.

ENJOY!!

JDubz :mrgreen:

  • 2 weeks later...
Posted

Re: Improved Delete User for V1!!!

wonderful script, only thing i would add, if the user is fedjailed, it should remove them from their otherwise you have a blank spot and have to fix that in the phpmyadmin section

  • 6 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...