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

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: 2,106
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: 515
Gender: Unknown/Other
Credits: 21,567
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: 7,876
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
Reply

Tags
profile

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 07:36 AM.

Currently Active Users: 220 (1 members and 219 guests)
Threads: 3,951, Posts: 31,454, Members: 15,542
Welcome to our newest members, b0bby303.
BER





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636