Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   Signature adoptable images (http://www.mysidiaadoptables.com/forum/showthread.php?t=4400)

tahbikat 02-15-2014 02:51 PM

Signature adoptable images
 
Is there a way to make only the adoptable images show? Whenever an adoptable reaches level 1, it shows a bunch of extra stats. See image below. I want only the eggs to show. How do i do this?

http://i.imgur.com/7t52BN8.jpg

Hall of Famer 02-15-2014 02:58 PM

Go to script file levelup.php and get rid of these lines from the method siggy():

PHP Code:

            // Build text for siggy
            
$str1 "Name: ".$this->adopt->getName();
            
$str2 "Owner: ".$this->adopt->getOwner();
            
$str3 "Click Here to Feed Me!";
            
$str4 "More Adopts at:";
            
$str5 "www.".constant("DOMAIN"); 


tahbikat 02-15-2014 03:48 PM

Thank you Hof! I removed it but then there was a big white space, so I looked at the code a bit and set the numbers in this bit to zero:

PHP Code:

// Lets create the new target image, with a size big enough for the text for the adoptable
            
$newheight $height 0;
            
$newwidth = ($newwidth 0)?0:$width;
            
$img_temp imagecreatetruecolor($newwidth$newheight); 
            
$alphablending true

which removed the white space, but the eggs aren't shaking like they're supposed to. I can live without that though, but if there's an easy way to fix that I'd like to know! :P Thank you again!

LucasA33 03-30-2014 02:24 PM

You can also disable GD signature images, as that is what is causing it in Signature Settings for future ref.


All times are GMT -5. The time now is 01:27 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.