The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#4
|
|||
|
|||
![]()
I think I'd create a plugin using hook parse_templates, and code like this:
Code:
$million = $vbulletin->db->query_first("SELECT username FROM " . TABLE_PREFIX . "post WHERE postid = '5'"); if (!empty($million)) { vB_Template::preRegister('header', array('million' => $million['username'])); } then in the header template, use {vb:raw million}. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|