The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Getting the date/time of last post in a thread
Hello everyone!
I am currently working on a plugin that will automatically generate a report if a new user, that is one with less than 10 posts, posts a reply to a thread whose last post was made a significant time ago. What I have done so far is check the difference between the ids of the last post and the post that has just been submitted, using the expression: Code:
$post['postid'] - $threadinfo['lastpostid'] However, this is not completely satisfactory as it is based on forum posting activity (which could change of course) and not on time (the passage of which is constant), but I have thus far not been able to get the date/time information of the last post. For example, the expression: Code:
$threadinfo['lastposttime'] |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|