The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Current date in templates?
Hello,
Is there a variable to get current date in vb 4 templates? for example, I want to show this June 03, 2017 Thanks |
#2
|
|||
|
|||
I've done something similar, by creating a plugin.
Hook Location: global_bootstrap_init_start Title: Current Timestamp Code:
$timeplugin = time(); vB_Template::preRegister('forumhome_lastpostby',array('timeplugin' => $timeplugin)); vB_Template::preRegister('threadbit',array('timeplugin' => $timeplugin)); vB_Template::preRegister('USERCP_SHELL',array('timeplugin' => $timeplugin)); There might be a better way to go about this, but since no one else answered... |
Благодарность от: | ||
z3r0 |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|