The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Setting a variable for use within a template
I'm learning a little bit about {vb:set ...} and {vb:raw ... } but I am not quite sure how to accomplish using that to set a custom variable to simple a random number.
I'm trying to do exactly this: PHP Code:
Code:
{vb:set randnum, $randomnum} Code:
{vb:raw randnum} |
#2
|
||||
|
||||
<a href="https://vborg.vbsupport.ru/showthread.php?t=328332" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=328332</a>
|
#3
|
||||
|
||||
You should better use this...https://vbulletin.org/forum/showthread.php?t=328335
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|