View Full Version : OOPs! I'm confused
darnoldy
06-15-2005, 02:04 AM
okay, cyberfolks--
i'm not a coder (and don't think I wanna be one)--I'm a page designer. I know javascript, not PHP.
When I hear people talking about OOP, I think object models and elements and properties... is that what's happening?
Will I, when modifying templates, be able to use things like forum.thread.message.parent.poster?
I know that the Hooks and plugins are very exciting for developers, but what kind of impact should the UI guys expect--little, none?
--don
darnoldy
06-23-2005, 06:31 AM
okay, cyberfolks--
i'm not a coder (and don't think I wanna be one)--I'm a page designer. I know javascript, not PHP.
When I hear people talking about OOP, I think object models and elements and properties... is that what's happening?
Will I, when modifying templates, be able to use things like forum.thread.message.parent.poster?
I know that the Hooks and plugins are very exciting for developers, but what kind of impact should the UI guys expect--little, none?
--don
maybe, noe that the vBTemplate crowd has moved in, somebody might want to discuss this question? <hopeful gaze>
--don
Marco van Herwaarden
06-23-2005, 06:49 AM
Not 100% sure, but i think that there are no significant changes to the template system.
Unfortunatly the OOP of javascript you're talking about is not the OOP that vbulletin is using or leveraging.
Expect very little difference except variables you use change from $vboptions[blah] to $vbulletin->blah (from memory).
The OOP begin discussed currently are the changes to the php source code. Coding in the templates will not change much, save a few changes in the way you access things (re-named vars/arrays etc.)
darnoldy
06-23-2005, 12:57 PM
Coding in the templates will not change muchI read somewhere that php_include_start had gone away. That's where I would put a line of code so that vBulletin would utilize custom templates I created--where do I do that now?
--don
I read somewhere that php_include_start had gone away. That's where I would put a line of code so that vBulletin would utilize custom templates I created--where do I do that now?
--don
You can do that via hooks, IIRC the replacement for php_include is the global_start hook.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.