The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Entering timestamp into database.
I would just like to know how to enter a timestamp into the database per user.
Just so I could do a function where the old timestamp was subtracted from the new timestamp to get a readout of "There has been x time since..." Could anyone give me a little code snippet or at least tell me the function to do this? Thanks! |
#2
|
||||
|
||||
what time do you want though? lastlogin, lastpost, etc.?
also do you just want to display it? if so, this would work: PHP Code:
then you could update the database with this code: PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|