The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Please anyone? I am really intrested in learning how to create variables.. I am pretty excited about it..
Thanks |
#2
|
||||
|
||||
![]() PHP Code:
|
#3
|
||||
|
||||
![]()
I suggest reading some material on PHP.
|
#4
|
|||
|
|||
![]()
Go learn the php basics. There are hundreds or thousands of tutorials around on the web, just Google "PHP Basics" or else browse the php.net documentation.
|
#5
|
|||
|
|||
![]()
No guys this aint it..
Alright so there should be a template where here is perfect example the "navbar" template however you modify it you jus goota write $navbar whereever you want to display it and it will displauy contents of navbar template.. so just 1 variable will do that.. i dont awnt to do this via PHP or anything. |
#6
|
|||
|
|||
![]()
Create a template, remember the name.
Then put $NAME.OF.TEMPLATE wherever you want. Walla! ![]() |
#7
|
|||
|
|||
![]()
:O wholi let me try
Edit Not working! I created a template named cricket and wrote "wow i can do this!!!!! i am great" and then i put $cricket at bottom of navbar i refreshed my site and no change....... |
#8
|
||||
|
||||
![]()
That is still PHP
![]() |
#9
|
|||
|
|||
![]()
ok so in a random php file i write $variable = "something here";
and it will start working in vbulletin? |
#10
|
|||
|
|||
![]()
Create a Plugin (AdminCP > Plugins & Products > Add New Plugin) with the PHP code:
PHP Code:
Then use $customvar where you want. |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|