The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Display Current Year
Hello,
Is it possible to display the current year in the footer template? If so how? |
#2
|
|||
|
|||
I think you need a plugin - use hook location parse_templates and this code:
Code:
vB_Template::preRegister('footer', array('year' => vbdate('Y', TIMENOW))); and then in the footer template, use {vb:raw year}. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|