The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Var Plugin into template forumdisplay
I apologize for my bad English, we come to my problem
I created this plugin VB3 Hook: forum display_complete Code:
if ($_SERVER['PATH_TRANSLATED']) { $path = $_SERVER['PATH_TRANSLATED']; } else if ($_SERVER['SCRIPT_FILENAME']) { $path = $_SERVER['SCRIPT_FILENAME']; } else { } $path_head = substr($path, 0, (strlen($path) - 17)); $file = $path_head.'/head/'.$foruminfo[forumid].'.html'; if(file_exists($file)) { $head_forum = file_get_contents($file); } else { } Code:
<if condition='$head_forum'> <br /> $head_forum <br/> <else /> </if> <!-- / Asterix special header --> With vb4 I tried to change the code but not reported any results, the plug remained unchanged. Code:
<!-- Asterix Special header --> <vb:if condition="$head_forum"> {vb:raw head_forum } <vb:else />{vb:raw file} Pippo prova </vb:if> <!-- / Asterix Special header --> The $head_forum is no longer being charged and even the variable $ file. Why? Thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|