![]() |
Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#6
|
||||
|
||||
![]()
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); |
Tags |
activepet, adoptspotlight, explore, module, sidebar |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mys v1.3.4 Shop Listing Display | Kyttias | Mys v1.3.x Mods | 13 | 06-13-2016 02:31 PM |
Display on Phone? | Glow | Questions and Supports | 1 | 01-05-2015 08:56 AM |
Changing Shop and Item Display? | Abronsyth | Questions and Supports | 2 | 12-16-2014 03:25 PM |
Display codes for all of your adoptables | kisazeky | Questions and Supports | 9 | 09-03-2010 03:32 PM |
Edit Featured Adoptable display | Tequila | Questions and Supports | 2 | 02-20-2009 10:19 AM |
What's New? |
What's Hot? |
What's Popular? |