PDA

View Full Version : Freezing adoptable development


kisazeky
03-25-2009, 10:43 PM
Hey, I'm a quick learner. :shy:

What it really does: Changes the type of the owned adoptable to something bogus so it can no longer be referenced during the level up process. :P In this case, it's changed to "frozen".

Don't worry, it will still show up in your profile and can be linked to. It just won't get the rank up images anymore.

Step 1:

Download manage.php and edit it to fit your site.

Step 2:

Add this link 'manage.php?id=".$id."&action=freeze' somewhere on the myadoptables.php page to give the freeze option.

BMR777
03-26-2009, 11:05 AM
Wow, you guys really can't wait, can you? :)

This will also be in the new release. :)

kisazeky
03-26-2009, 12:44 PM
Lol I sure can't

Is this the same method you're going to use to freeze? :)

BMR777
03-26-2009, 03:11 PM
Lol I sure can't

Is this the same method you're going to use to freeze? :)


I'll be doing something similar, but the new version will have a special column in the database for each pet where you can set the status to frozen or unfrozen.

Yours I see changes the adoptable type to "frozen". With the new version freezing does essentially the same thing, ignoring new clicks, but the way I designed it you can also unfreeze the pet at a later time. Also, with mine, freezing it will lock some of the adoptable's settings (most notably it will lock it from being traded or having its name changed) until the user decides they want to unfreeze it. :)