The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Need some help with a hack im making. : (
Okay, so I'm making a hack and I need to use some of PHP OO features
Ie PHP Code:
Ie PHP Code:
HTML Code:
->title the PHP Code:
|
#2
|
||||
|
||||
Looks like you're not using OOP correctly. An object itself can't be an array. But it's properties can.
So $contents[$i]->title is technically impossible. |
#3
|
|||
|
|||
I don't know if I'm explaining it correctly. The code works when I hardcode it, but when I put it in templates it doesn't work.
I'm using someones elses code and integrating it with vb I then use a simple form asking for a zip code and access all the data with examples I used from my first post. Again it works when I hardcode it. :ermm: |
#4
|
|||
|
|||
Isn't this what you're looking for:
PHP Code:
|
#5
|
|||
|
|||
^^^
I'll try that right now. :up: |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|