Thread: look out now
View Single Post
  #7  
Old 07-01-2012, 12:36 AM
Nemesis's Avatar
Nemesis Nemesis is offline
Member
 
Join Date: Mar 2011
Location: Ohio, United States
Posts: 641
Gender: Male
Credits: 64,455
Nemesis is on a distinguished road
Default

eehhh im having a hard time tracing what I did. But i think it was this. First you need to add an extra column to your mysql table. I called mine hatched and it goes last right after cost. you can google for this sql command to do it.

Now you have the new column and it will be null for all existing adopts. you will need to manually add the desired image to show rather than the egg, this should be a url just like egg image column, in fact copy that columns properties exactly when making the column.

Okay now to easily allow new adopts to have their hatched images added edit admincp/adoptpost.php so the admin control panel has a box to enter the url for hatched images. I copied the code for first egg image. renaming the id to hatched.

Now we just need the adopts page to show the hatched url img rather than the egg url img when it access the database. so in adopts.php find the two variables called $eggimage and replace those two lines with this:

$eggimage=$row->hatched;

I could share you these files but my other mods are catred to my site and won't work for you so it may be better for you to let me do it for you if you still need help. feel free to ask questions as well. i tried explaining it my best.
__________________
https://gemnode.com
Free Hosting for Mysidia Adopt Sites
Just join our forum and request your free hosting account
Reply With Quote