The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
This is probably really simple and just requires one variable but.... I'm tired and stressed and I think my brains deserted me - how on earth can I get The time now is... on the front page to be followed by the date? Is it just $datenow or something similar?
Thanks in Advance, Oliver |
#2
|
||||
|
||||
![]()
$timenow
![]() |
#3
|
|||
|
|||
![]() Quote:
![]() Thanks anyway - should word my questions better! Oliver |
#4
|
||||
|
||||
![]()
Go into your root/global.php file and find:
PHP Code:
PHP Code:
|
#5
|
|||
|
|||
![]()
Thanks mate I owe you one!
![]() |
#6
|
||||
|
||||
![]()
No problem. You can thank the man above (Xenon) for this one.
![]() |
#7
|
|||
|
|||
![]()
OK.... Thanks Xenon! :squareeyed:
Ollie |
#8
|
||||
|
||||
![]()
Alternativly you can add this code so you can use $datenow and that they following the date and time format in the ACP:
PHP Code:
|
#9
|
||||
|
||||
![]()
I thought of doing that but it isn't quite as configurable as to the way to be able to set the date how you want it to show there and different on the rest of the site. But I suppose you could configure that the same way. Where were you when I was trying to figure this out before?
![]() |
#10
|
||||
|
||||
![]()
Probably
Quote:
![]() ![]() Satan |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|