The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to put date in header
With vBulletin version 3.04 I used phpinclude_start and defined this variable
$mydate = date("l F jS"); but now I'm told with 3.5 I have to do it in a different way. Can someone please explain how to make this work in my header template <font size="-2">$mydate</font> |
#2
|
||||
|
||||
admincp -> plugin system -> add new plugin
put $mydate = date("l F jS"); in global_start hook |
#3
|
|||
|
|||
Thanks Dream, that worked perfect.
|
#4
|
||||
|
||||
FYI: There are two variables created as part of global.php running called $datenow and $timenow, which have the current date/time in your preferred format.
|
#5
|
|||
|
|||
Quote:
Close, $datenow uses the MM-DD-YEAR format, I prefer this format "Wednesday July 13th". |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|