Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Suggestions and Feature Requests (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=21)
-   -   Deleting User Minipets (http://www.mysidiaadoptables.com/forum/showthread.php?t=1568)

chibizoo 09-26-2010 04:01 PM

Deleting User Minipets
 
Sorry I'm something of a super newbie to PHP, was wondering if there is any way of deleting minipets from a certain user, lets say they exploited a glitch and picked up two of a pet, for example (and how difficult this might be!) D:

Teshia 09-26-2010 05:05 PM

RE: Deleting User Minipets
 
You'll need to go into phpMyAdmin. Find the database where your adoptables are stored and choose adopts_owned_adoptables. This should display a table of all the pets that are owned on your site. You should be able to just delete the one that was duplicated.

Make sure to backup your database first.

Let me know if it works.

chibizoo 09-27-2010 08:57 PM

RE: Deleting User Minipets
 
It did, oh wow, thank you very much! *was wondering how to go at it*

Teshia 09-27-2010 11:18 PM

RE: Deleting User Minipets
 
^^ No problem. I'd like to add that into a mod I'm working on with the admin page. Hopefully I can get it to work.

Hall of Famer 11-29-2010 04:13 AM

RE: Deleting User Minipets
 
I think we should try to make a system in which admins can delete users owned adoptables through admincp? Shouldnt be hard, I will try to code one during winter break. XD

PTGigi 11-30-2010 03:07 PM

RE: Deleting User Minipets
 
MyAdopts has this already installed so it is possible =3 (along with click editing, custom images, change level, reset, change owner/name, etc)

It also seems like it would be similar to the "Edit User" feature just for adoptables rather than users :D

Hall of Famer 12-01-2010 06:07 AM

RE: Deleting User Minipets
 
Yeah, shouldnt really be hard at all, and the analogy can be found from edit user features. The page should display a load of adoptables together with its owners, adopted dates, levels and other stuff. Admins will not only be able to delete pets, but also edit its data through admincp instead of phpmyadmin. I will give a try to see if I can get it to work. ^^


All times are GMT -5. The time now is 08:56 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.