The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
I have this on my page:
PHP Code:
Is there any way to make it a small variable to use in the header as well? ![]() Thanks. |
|
#2
|
||||
|
||||
|
There's a java script hack on here for vB2 called the countdown hack (or something similar) that will do what you want. Just do a search for countdown.
|
|
#3
|
||||
|
||||
|
Quote:
I just read what I wrote, and I ment to say that the code above shows days since the forums went online :P I'll go search now. |
|
#4
|
||||
|
||||
|
Quote:
I just want a simple php command that will print how many days until a specified date. That simple. |
|
#5
|
||||
|
||||
|
PHP Code:
PHP Code:
|
|
#6
|
||||
|
||||
|
How would you do a function for time since like this?
|
|
#7
|
||||
|
||||
|
Nice code.
But could you rewrite that so it will only say how many days are left? I dont care about hours, minutes, seconds...I just want days
|
|
#8
|
||||
|
||||
|
Just comment this out:
PHP Code:
PHP Code:
PHP Code:
|
|
#9
|
||||
|
||||
|
You know what,
PHP Code:
|
|
#10
|
||||
|
||||
|
Yes, 2004 is a leap year
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|