PDA

View Full Version : Signature adoptable images


tahbikat
02-15-2014, 02:51 PM
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():


// 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:


// 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.