The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Time based conditionals. It has been x amount of time since...
I am wondering how to put time based conditionals into my vbulletin mods.
For example: It has been X time since user has done Y therefore user cannot do Y for another X minutes. Could anyone give me a hand? My big trouble is finding a variable for the "Current Time Now" so I can enter it into the database and then check it later. Or maybe there is an easier vbulletin function to use for this? Any help greatly appreciated! Thanks! |
#2
|
|||
|
|||
any answer for this question?
|
#3
|
||||
|
||||
The current time is stored in the PHP constant "TIMENOW".
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|