The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Ok well i am in the process of learning PHP myself, now i been told vB3 is coded differently and better with new code used kind of thing.
Basically would someone care to explain some new features (coding wise) that are in vB3 that makes things easier and why? For instance i noticed in Templates they now use <if> tags. Am i right in thinking these are the same as the IF statement in php files? If so why have them in templates etc? Basically just need things pointed out and explained so i can understand them, and hopefully other people ![]() ![]() Cheers guys! |
#2
|
||||
|
||||
![]()
The <if> tags work in the same way as an if PHP tag (because thats what it really is
![]() PHP Code:
Why use them? They significantly reduce the number of templates needed for starters. For example with vB2, if you wanted a certain message to appear to guests then you would need a seperate template for it and code in the file to eval it, with vB3 this requires one simple conditional. |
#3
|
||||
|
||||
![]()
Ahh i see Thank you NTLDR!!! What are these condition things aswell?
Basically theres alot of things i see in vB3 i have yet too understand ![]() I appreciate your response though you explained exactly how i wanted someone too ![]() |
#4
|
||||
|
||||
![]()
Condition is just a word, which happens to sound right and needs to be there
![]() if condition X is true then Y else Z would be: PHP Code:
|
#5
|
||||
|
||||
![]()
Ahh i see now, kind of pointless in a sense then
![]() Cheers!! |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|