Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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,471
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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 12:36 AM.

Currently Active Users: 4401 (0 members and 4401 guests)
Threads: 4,081, Posts: 32,032, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636