Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Addons and Modifications > Mys v1.3.x Mods

Notices

Reply
 
Thread Tools Display Modes
  #11  
Old 05-25-2017, 06:15 PM
aquapyrofan aquapyrofan is offline
Member
 
Join Date: Apr 2017
Posts: 48
Gender: Unknown/Other
Credits: 9,559
aquapyrofan is on a distinguished road
Default

Quote:
Originally Posted by Fox View Post
awesome, thanks :) That works!

Any ideas on a link back to the public profile when they're clicking the pet rather than if they've clicked? (both would be nice)
Put
PHP Code:
<class='btn btn-sm btn-info' href='../../levelup/publicprofile/{$adopt->getAdoptID()}'><class='fa fa-chevron-left'></iBack to Profile</a
in the click function, wherever you want it (Kat and my site has it under the display of what you've obtained).
Reply With Quote
  #12  
Old 06-19-2017, 07:27 PM
Dinocanid's Avatar
Dinocanid Dinocanid is offline
Member
 
Join Date: Aug 2016
Location: Maryland, USA
Posts: 516
Gender: Unknown/Other
Credits: 78,542
Dinocanid is on a distinguished road
Default

After installing this, I ran into a "call to member function" error because it couldn't get the image of the pet. I found that using:
Quote:
<img src='{$adopt->getImage()}'><br>"));
Works just fine rather than using the unique id variable, since $adopt is already defined and the image can be retrieved from there. Just putting this out there for others that might run into it.
__________________
Reply With Quote
  #13  
Old 03-30-2018, 10:36 AM
NobodysHero's Avatar
NobodysHero NobodysHero is offline
Co-Owner of MystFell
 
Join Date: Nov 2013
Posts: 144
Gender: Female
Credits: 21,692
NobodysHero is on a distinguished road
Default

Thanks for the mod and Dino, thanks for the alternative code for the image. I couldn't get it work before. LOVE YOU BOTH!
__________________

Venture Into The Mist
Reply With Quote
  #14  
Old 06-11-2020, 10:24 PM
Micolai's Avatar
Micolai Micolai is offline
Loving Mysidia!
 
Join Date: May 2020
Location: Tennessee
Posts: 130
Gender: Female
Credits: 50,611
Micolai is on a distinguished road
Default

I'm running into this error, how do I fix it?

Quote:
Fatal error: Call to a member function get() on null in /home/wildhors/public_html/classes/class_view.php on line 166
__________________
"You try you fail, you try you fail, but the only true failure is if you stop trying. So try again." - Haunted Mansion
Reply With Quote
Reply

Tags
profile


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:23 PM.

Currently Active Users: 857 (0 members and 857 guests)
Threads: 4,081, Posts: 32,029, 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 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636