The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi all,
I face difficulty when I start coding ![]() 1- How can I know all the variables that can be used in the template or in a php file such as $bbuserinfo[usergroupid] 2- In the templates I noticed that u can use if statments with conditions ... How do I know all the conditions that can be used or if they are based on variables then answer 1 will solve it. 3- How do I fetch the header and footer template in a php file.. Thx |
#2
|
|||
|
|||
![]()
up
![]() |
#3
|
|||
|
|||
![]()
up
|
#4
|
|||
|
|||
![]()
up
|
#5
|
||||
|
||||
![]()
1. Basically almost anything in the user table in the database can be made in a if statement. I belive, but do not quote me.
3. For templates, $header and $footer will work. To call the header in a php file, just put this enar the top of the file somewhere. PHP Code:
![]() |
#6
|
||||
|
||||
![]() Quote:
|
#7
|
||||
|
||||
![]()
Really? LOL! Time to go remove it from some scripts then.
![]() |
#8
|
|||
|
|||
![]()
Thx guys ..
But how do we know all the variables that are available for us to use in a template or a php file? |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|