View Single Post
  #6  
Old 07-03-2013, 12:00 PM
pachoofoosh's Avatar
pachoofoosh pachoofoosh is offline
Artist
 
Join Date: Dec 2012
Location: New York
Posts: 98
Gender: Unknown/Other
Credits: 15,533
pachoofoosh is on a distinguished road
Default

I figured out how to add it to the sidebar!
I used your tutorial on how to add avatars onto the sidebar, but played around with the script for a bit to see if it'd display the favorite pet. uwu

To display the AdoptSpotlight in the sidebar, make a new module, and in the text box for the Module's PHP, add this:

Code:
$profile = $mysidia->user->getprofile();
$favpet = new Image("levelup/siggy/" . $profile->getFavpetID());
$favpet->resize(100); // Resize the image to a certain size. This makes it 100x100 pixels.
$moduleContainer->add($favpet);
Reply With Quote