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
  #10  
Old 02-05-2016, 09:49 AM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 137,036
Kyttias is on a distinguished road
Default

I recommend Codecademy for learning php. It's completely free, you don't even have to sign up (doing so will only help you save your progress).

Basically, for this to work, you need to override how adoptables are being displayed. You'll need to save a separate file for each pet, probably by id. You'd want to look into creating a function inside classes/class_ownedadoptables.php to point to the file relevant to the pet's id and display it. Then you'll need to search through all the files (hint - get an IDE text editor that will allow you to search entire folders file contents) for every instance getImageURL() in regards to the pets displaying and replace it with a call instead to the function you made that points to the pet's file. (Whether that's an image or a swf, whatever?)

As for actually incorporating dress up items, making sure the user owns the items and that they're equipped properly and so forth... I don't know. I haven't done that myself. If you're doing it all with swf flash files, you'll definitely need ajax and understanding of how php can communicate to the swf file and back, because both directions of communication will be necessary.
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it.
Reply With Quote
 

Thread Tools
Display Modes

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 03:01 PM.

Currently Active Users: 2198 (0 members and 2198 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