The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Trying to customize block_html output according to the current forumid
First I set up a small plugin like that:
PHP Code:
Code:
<div id="block_html_{vb:raw blockinfo.blockid}" class="blockbody restore"> {vb:raw content} <br />foruminfo: {vb:raw niuchacz.foruminfo_forumid} <br />GPC: {vb:raw niuchacz.foruminfo_vbulletin_GPC} <br />thread: {vb:raw niuchacz.thread} </div> On the showthread level I see no forumid at all. Any clue what I'm doing wrong? --------------- Added [DATE]1296125847[/DATE] at [TIME]1296125847[/TIME] --------------- Solved. Plugin hook should be process_templates_complete. Although I am not sure if AFTER that process I can give some parameters to my own php file. I'll check this... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|