The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
hey,
i'm trying to write a custom product for my site, but for this to work i need to add a container like the announcement container to every single page .... Now i created the admincp parts and i registered a hook (parse_templates) where i run the php code. But now i'm lost, where do i go from here? How do i get the ouput that i generated inside the hook on the screen? What do i have to do to get the output displayed inside the templates? |
#2
|
|||
|
|||
![]()
Either via a $template_hook if possible or add a <vb:raw variable> to the template and preregister the variable in the hook.
|
#3
|
|||
|
|||
![]() Quote:
because i have no clue on how to start on it |
#4
|
|||
|
|||
![]()
Take a look here
First Look at vBulletin 4 Template Variables Rendering templates and registering variables - a short guide What you want (space where notices are shown) is at the end of the template navbar. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|