Richard Posted February 14, 2008 Posted February 14, 2008 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 Quote
Richard Posted February 14, 2008 Author Posted February 14, 2008 Re: Improved Delete User for V1!!! If u hav any errors let me know ill try and fix em, but it shud all be fine :-) Quote
JDubz Posted February 14, 2008 Posted February 14, 2008 Re: Improved Delete User for V1!!! Maybe place the link incase not as skilled game owners dont know Delete User other then that you did good +1 :mrgreen: Quote
Richard Posted February 14, 2008 Author Posted February 14, 2008 Re: Improved Delete User for V1!!! ty :-D Quote
zbirc3 Posted February 15, 2008 Posted February 15, 2008 Re: Improved Delete User for V1!!! Thanks for this, even know I have v2 Quote
JDubz Posted February 21, 2008 Posted February 21, 2008 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: Quote
KDawg08 Posted March 5, 2008 Posted March 5, 2008 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 Quote
sceptre Posted September 21, 2008 Posted September 21, 2008 Re: Improved Delete User for V1!!! should make it delete all mails for that user to and from mysql_query("DELETE FROM mail WHERE mail_to={$_POST['user']}",$c); Quote
jds137 Posted September 21, 2008 Posted September 21, 2008 Re: Improved Delete User for V1!!! Heres V2, but mine has it so staff, and npc's cant be deleted. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Dave Posted September 21, 2008 Posted September 21, 2008 Re: Improved Delete User for V1!!! Nice simple script Richard. Keep up the good work. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.