The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Logging Time
I am looking to insert a time log into one of my modifications. For instance; once a user submits a form, the time of that particular submission is recorded and is then displayed inside/with that user's post.
I seem to be having a slight problem getting it to log the time. I'm not actually aware of how vBulletin logs the time. I've looked through the API and can't seem to locate the information I'm after. I'm actually not sure about what PHP I must use to insert it and log it. If someone could supply the code and elaborate on where the code must go inside the PHP & Product file, it'd be greatly appreciated. I've been able to get the date logged just fine, but logging time seems to be beating me at this game. |
#2
|
||||
|
||||
Use the constant "TIMENOW". This is a constant vBulletin sets which is computed from time() and is a Unix timestamp.
|
#3
|
|||
|
|||
Thank you! I knew it was something small, but couldn't get my head around it.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|