Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #19  
Old 04-25-2017, 08:52 PM
KatFennec's Avatar
KatFennec KatFennec is offline
Member
 
Join Date: Apr 2017
Posts: 57
Gender: Female
Credits: 11,201
KatFennec is on a distinguished road
Default

In an attempt to confirm my findings, I attempted to create a module to return the FavPetID.
PHP Code:
$profile $mysidia->user->getprofile();
$owned = new OwnedAdoptable($profile->getFavpetID());
$profile->getFavpetID();
$uniqueidforpet $profile->getFavpetID();
$texta = new Paragraph;
$texta->add(new Comment("
<br>
ID: 
{$profile->getFavpetID()}
"
));
$moduleContainer->add($texta); 
Placed in a module, it correctly returned my favourite pet, but when I set it to none caused the site to return a 500 error
Reply With Quote
 

Thread Tools
Display Modes

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


All times are GMT -5. The time now is 05:54 PM.

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