![]() |
Home Community Mys-Script Creative Off-Topic |
|
![]() |
|
Thread Tools | Display Modes |
#1
|
||||
|
||||
![]()
Resolved
I am trying to restyle the .../myadopts/manage/ID# page to actually display adopt data, but it's proving to be difficult. For some reason the methods that work to display data everywhere else in the .../myadopts file does not work right on the manage page. Elsewhere data can be displayed like; PHP Code:
If I could figure out how to at least define things within the manage function then I could get it all working, but I've tried; PHP Code:
Here is my public function manage: PHP Code:
__________________
My Mods Site (1.3.4, 2020 Mods) Last edited by Abronsyth; 02-18-2016 at 02:49 PM. |
#2
|
||||
|
||||
![]()
Try setting $adopt = new Adoptable($aid); and then using it as you were trying before?
__________________
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. |
#3
|
||||
|
||||
![]()
Set it to $adopt = new OwnedAdoptable($aid); and it works brilliantly now! I am much obliged, Kyttias! I cannot thank you enough!
__________________
My Mods Site (1.3.4, 2020 Mods) |
#4
|
||||
|
||||
![]()
I was close. ^^;; Glad it's working!
__________________
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. |
#5
|
||||
|
||||
![]()
Oooh, so this displays stats on the actual manage page? I have some stats on the Stats page under manage, but this would be much better!
|
#6
|
||||
|
||||
![]()
Yep! It was killing me to have to go to the adoptable and then click on the stats link to see any information about the pet XD If you need help getting any specific stats to display just ask! Here's my resulting page;
![]() PHP Code:
__________________
My Mods Site (1.3.4, 2020 Mods) |
#7
|
||||
|
||||
![]()
Thank you kindly Abron. <3 Gonna add this to my ever growing list of things to add. :P
|
#8
|
||||
|
||||
![]()
the birthday part is throwing an error but I have that in my database.
|
#9
|
||||
|
||||
![]()
Are you using Kyttias's birthday mod?
__________________
My Mods Site (1.3.4, 2020 Mods) |
#10
|
|||
|
|||
![]()
Where do I insert this, please? I attempted to place it under line 38:
Quote:
|
![]() |
Thread Tools | |
Display Modes | |
|
|
What's New? |
What's Hot? |
What's Popular? |