The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Anyone know what phrase or variable I can use in a template to display the current time to a user? The vbphrase[all_times_are-gmt..blah,blah] won't work. I just want to display only the time.
Thanks |
#2
|
||||
|
||||
![]()
All I could find is the constant TIMENOW which is useless for what you want... You'll probably just have to add some php_include code
PHP Code:
|
#3
|
|||
|
|||
![]()
Thanks Specialist, that worked. Not as easy as a phrase but just as good.
![]() I appreciate it. |
#4
|
||||
|
||||
![]()
I have been using this in my navbar template for a while. It still works in 3.5.
![]() <phrase 1="$timenow">$vbphrase[time_is_now_y]</phrase> Phrase is: The time now is <span class="time">{1}</span> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|