![]() |
How can I set the time
above my header.
But not the time of my computer or a members computer. But the time of the forum self. Just like the time under in the footer. "All times are GMT +2. The time now is 20:19." How can I add this for twice, but without the text. just like this. 20:19:04 02-05-2008 pleasse?! |
Create a new plugin with the hook of global_complete.
Code should be something like this. PHP Code:
|
It doesn`t work, maybe the plugin is not working.
|
Yes. Make sure you replace "date format" with the appropriate PHP date format style - as detailed in the manual.
|
I have edit it like this:
$headertimenow = vbdate('H:i:s', TIMENOW); But it doesn`t work. |
????
|
What appears?
|
Nothing, nothing at all. :S
|
What plugin are you using? Exactly what do you have entered? And what template are you modifying and exactly what have you put in there?
|
Product : vBulletin,
Hook location: global_complete, Execution Order: 5 Plugin PHP code: $headertimenow = vbdate('("d-m-Y");', TIMENOW); I have edit my navbar template, and add this "$headertimenow" |
All times are GMT. The time now is 03:33 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|