Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
||||
|
||||
Function add on a non-object issue
Hey all, hoping someone more PHP savvy than myself can help out here.
I'm working on adding a new module to my theme and am basing it off of the other modules. Well, I am encountering an issue now in my class file. Quote:
PHP Code:
__________________
My Mods Site (1.3.4, 2020 Mods) |
#2
|
|||
|
|||
are you making a userbar ?? i could help you to make it
|
#3
|
||||
|
||||
Sort of, yes, I am making a user control panel that is a separate widget from the sidebar.
If I could just get the function working properly then everything else would be fine, so I already have everything coded, just need to find out what's causing my function to bug out.
__________________
My Mods Site (1.3.4, 2020 Mods) |
#4
|
||||
|
||||
Well seems to me that this is where you get the error:
PHP Code:
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#5
|
||||
|
||||
I couldn't wrap my head around it, but I found an alternative solution following Kyttias's code bits here;
http://mysidiaadoptables.com/forum/s...ead.php?t=4599 Thanks y'all for the replies!
__________________
My Mods Site (1.3.4, 2020 Mods) |
#6
|
|||
|
|||
it can be done in template.tpl of template file ^^ but first assign the variables ^^
|
|
|
What's New? |
What's Hot? |
What's Popular? |