The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
Hi guys,
Can you help me to upgrade old way to send data to templates? this is the vB3 code Code:
eval('$my_variable = in_array(THIS_SCRIPT, array(misc,' forum '));');
thx in advance! |
|
#2
|
|||
|
|||
|
$my_variable = in_array(THIS_SCRIPT, array(misc,' forum '));
$templater->register('my_variable', $my_variable); in template {vb:raw my_variable} |
|
#3
|
||||
|
||||
|
thx mate!
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|