![]() |
#1
|
|||
|
|||
![]()
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:
|
#2
|
||||
|
||||
![]()
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. |
#3
|
|||
|
|||
![]()
It did, oh wow, thank you very much! *was wondering how to go at it*
|
#4
|
||||
|
||||
![]()
^^ 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.
|
#5
|
||||
|
||||
![]()
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
|
#6
|
||||
|
||||
![]()
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
__________________
![]() "I see now that the circumstances of one's birth are irrelevant; it is what you do with the gift of life that determines who you are."~Mewtwo My Adoptables|Nuzlocke Webcomic |
#7
|
||||
|
||||
![]()
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. ^^
|
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Deleting adoptable in ACP *ERROR* | AndromedaKerova | Questions and Supports | 1 | 11-10-2014 07:39 PM |
Deleting Themes- Can I? | squiggler | Feedback and Suggestions | 2 | 07-07-2014 06:09 PM |
User Integration | blueskyler | Questions and Supports | 3 | 12-19-2011 02:26 PM |
A way to change the DB and user? | Victorioso | Questions and Supports | 2 | 08-11-2009 05:02 PM |
Deleting/Editing Members | Ashje | Questions and Supports | 9 | 02-02-2009 12:26 AM |
What's New? |
What's Hot? |
What's Popular? |