The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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 | ||
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|