Mysidia Adoptables Support Forum  

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

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 03-21-2016, 12:16 AM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 143,728
Kyttias is on a distinguished road
Default

Change line 85 to this:
PHP Code:
        if ($profile->getFavpetID() == "0"){ 
And change line 96 to this:
PHP Code:
$this->FavPetSB->add(new Comment("<a href='/myadopts/manage/{$profile->getFavpetID()}'><img src='{$favpet->getImage()}'></a>")); 
Using {$profile->getFavpetID()} instead of {$favpet} should help!! Sorry about this. Those two things should fix the errors, but--


Also! Two other things. I'd also change line 95 to:
PHP Code:
            $this->FavPetSB->add(new Comment("{$message}")); 
Because we're actually adding the div elsewhere now, oops.

And at 271, we should close the message like this now:
PHP Code:
            if ($message == "") { $message ""; } else { $message .= "</div>"; }
                
        
/**** END: CREATE RANDOM MESSAGES ****/ 
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it.

Last edited by Kyttias; 03-21-2016 at 12:20 AM.
Reply With Quote
Reply

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 11:01 PM.

Currently Active Users: 1118 (0 members and 1118 guests)
Threads: 4,082, Posts: 32,047, 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