Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Addons and Modifications > Mys v1.2.x Mods

Notices

Reply
 
Thread Tools Display Modes
  #21  
Old 06-22-2011, 09:44 AM
AlexC's Avatar
AlexC AlexC is offline
Moderator
 
Join Date: Dec 2009
Location: Canada
Posts: 753
Gender: Unknown/Other
Credits: 78,253
AlexC is an unknown quantity at this point
Default

Jesus, this is an AMAZING script! I would totally add this to my site as a "bonus pet". Question - does this pet change colors as it changes images/levels?

And I think you should do both - offer the files and make a list.
Reply With Quote
  #22  
Old 06-22-2011, 07:37 PM
Chibi_Chicken Chibi_Chicken is offline
Niwatori Kami
 
Join Date: Jun 2011
Posts: 63
Gender: Unknown/Other
Credits: 6,323
Chibi_Chicken is on a distinguished road
Default

Quote:
Originally Posted by Gloometh View Post
Jesus, this is an AMAZING script! I would totally add this to my site as a "bonus pet". Question - does this pet change colors as it changes images/levels?

And I think you should do both - offer the files and make a list.
Yes, when the adoptable reaches a new level and it has done a check to see if their is a new level their. it will then update it self and use the same color that you picked when you adopted it.

I released the code, i put the link and info on my first post.
Reply With Quote
  #23  
Old 06-23-2011, 03:29 PM
AlexC's Avatar
AlexC AlexC is offline
Moderator
 
Join Date: Dec 2009
Location: Canada
Posts: 753
Gender: Unknown/Other
Credits: 78,253
AlexC is an unknown quantity at this point
Default

I have tried installing the script in my site, but appear to be having troubles with it. The egg image is stretched, and when I try to change the color on the adopt page it's not working. And the image isn't showing up anyway. In the myadopts page, the admin center, nowhere. :/

I think something may have gone wrong while I was setting up my adoptables - can you maybe do a screenshot guide, your writing is a bit confusing. (no offense - I have dyslexia and some memory problems. Anything that isn't laid out very plain and simple, and in complete and proper English I can't read or even compute in some cases.
Reply With Quote
  #24  
Old 06-23-2011, 05:20 PM
Chibi_Chicken Chibi_Chicken is offline
Niwatori Kami
 
Join Date: Jun 2011
Posts: 63
Gender: Unknown/Other
Credits: 6,323
Chibi_Chicken is on a distinguished road
Default

Quote:
Originally Posted by Gloometh View Post
The egg image is stretched
In customadopt.php line 146
Code:
repace <img height='284' alt='Dynamically generated image' src='preview.php' width='88'>
with <img alt='Dynamically generated image' src='preview.php' >
First start with your image prep. I am going to use Teshia Elefunions they are pngs and have transparency.

I will need to build a body layer. So open it up in an image editing software (in my case old copy of PS.) With the magic of the magic wand and the select->inverse I have a body layer.


Now save it out as a png-8 File->Save as.
When I name my file I want a unique name. So when I upload it to the script it wont have problems, due to it naming convention of the script.

I will also make an preview image that is displayed when the user wants to pick from the different adopts. the image is simply the body and lines combined.

Now create a new adopt in the admin page, I have used the Change Adoptables->Upload a new Adoptable Image for the preview image.
Now I will create a new adoptable Elefunions setting up the Basic Information, and Adoption Information and Conditions. I do not add anything to Alternate Outcomes Settings.


In the Admin Center in Site Settings at the bottom, is the plug-in Custom Pet Admin or you can just go to it directly by cpetadmin.php.


Here click on upload an image layer and set up your layers.
Remember to change from lines to body when uploading the different layers!


You can now have an Elefunion.
Here are the images that I used:
Reply With Quote
  #25  
Old 06-23-2011, 07:02 PM
ruletka ruletka is offline
Member
 
Join Date: Aug 2010
Location: WA
Posts: 13
Gender: Female
Credits: 1,803
ruletka
Default

This is great :) Thanks for sharing this. It works perfectly for me.
Reply With Quote
  #26  
Old 06-24-2011, 12:41 AM
Teshia's Avatar
Teshia Teshia is offline
Art Director &amp; Developer
 
Join Date: Sep 2010
Location: On the Road
Posts: 99
Gender: Female
Credits: 6,449
Teshia
Default

<3 Absolutely brilliant Chibi. I'm glad its finally finished.
Reply With Quote
  #27  
Old 06-24-2011, 04:59 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 492,740
Hall of Famer is on a distinguished road
Default

I am glad its been working perfectly for you guys/gals too. Best luck to whoever use Chibi's script(not to be confused with ChibiKawaii).
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #28  
Old 07-12-2011, 05:55 PM
AlexC's Avatar
AlexC AlexC is offline
Moderator
 
Join Date: Dec 2009
Location: Canada
Posts: 753
Gender: Unknown/Other
Credits: 78,253
AlexC is an unknown quantity at this point
Default

sorry to bother you yet again... ^.^; the adopts aren't showing up anywhere? It was showing up on customadopt.php page, but when I look elsewhere, it doesn't. The preview image isn't either. In the admin center, on my profile, nowhere. o.O
Reply With Quote
  #29  
Old 07-12-2011, 11:19 PM
Chibi_Chicken Chibi_Chicken is offline
Niwatori Kami
 
Join Date: Jun 2011
Posts: 63
Gender: Unknown/Other
Credits: 6,323
Chibi_Chicken is on a distinguished road
Default

no worries about bothering me just working in my chicken coop of Science!

so the new adopt doesnt show up at all except the customadopt.php with the preview image?

what changes have you made to to the script?

After adopting a new pet the image is saved and the link to the url is in the owned_adoptables image url field and the the way it is pulled is with the function getcurrentimage(id of adoptable)

if you are not seeing a preview image but just "Dynamically generated image"
right click on it and "view image" and it should come up with some error.
Reply With Quote
  #30  
Old 07-27-2011, 01:00 PM
Nemesis's Avatar
Nemesis Nemesis is offline
Member
 
Join Date: Mar 2011
Location: Ohio, United States
Posts: 641
Gender: Male
Credits: 57,460
Nemesis is on a distinguished road
Default

Your instructions for installing this mod on an already established site are,
Quote:
If you want to install this code to an already installed copy of Mysidia Adoptables, run the install.php script to add in the tables and apc hook. For the pages look for:
#//----------
#custom pet mod
#//----------
this is the start of the new code that I have added in, I tried not to alter any code outside of this. The exceptions are in adopt.php I relinked from doadopt.php to customadopt.php, this also doesnt have the custom pet mod comments.

Here is the list of the files.
inc/functions.php //added in link to the cpet functions forgot to add in the comment however it is basically the third line.
adopt.php //redirected page and clear out/build a new variable in the session
breeding.php //added in section for the pet to breed with the custom background. note: I just had it pick a color randomly for the new adoptable.
doadopt.php //added in section to add the info from the custom pet session pet save it. Then build the image and save that to the adoptable.
levelup.php //added in find the parent id then level up the adoptable, level up rebuilds and saves the image again.

Altered
myadopts.php //altered how the image is taken from the db and displayed.
stats.php //altered how the image is taken from the db and displayed. Note: I missed a spot when the code get a random set of adoptable, it shows the egg image instead.

New Files
preview.php //used to display the new colors. Note: This may have caching issues with some browsers, I am not sure.
customadopt.php //form used to build the new pet.
cpetadmin.php //admin that manages the image assets for the custom adopts.
custompet_functions.php //core engine of the custom adopts does stuff minus toast.

Please leave any comments and questions in this thread.
so Basically for my clients if i were to add this to their sites i would need to run the install script, then over write the existing files with the changed ones and it should work? Also adding in the new files. thanks for help.
__________________
https://gemnode.com
Free Hosting for Mysidia Adopt Sites
Just join our forum and request your free hosting account
Reply With Quote
Reply


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to design a theme? CallumCharlton Questions and Supports 6 04-03-2015 12:44 PM
Name for my web design service? tahbikat Webmasters Area 7 04-05-2014 03:08 AM
Need Opinions Please (card design) Tequila Other Chat 6 05-02-2013 08:14 PM
Responsive design Kesstryl Suggestions and Feature Requests 5 03-06-2013 03:34 PM
Ugliest Design Ever?? Tequila Other Chat 9 10-28-2011 05:37 AM


All times are GMT -5. The time now is 06:35 AM.

Currently Active Users: 1207 (0 members and 1207 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 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636