![]() |
update time of posts
Hi Guys,
I would like to create a script that updates the time of my forum posts...the forum only has my own posts anyway so I think its ok to update the time. The following works to update only the last post in a thread but all the posts. Does anyone know how to incrementally update the previous post times so its like (lastpost - 1 hour) UPDATE post SET dateline = ( dateline +86400 ) WHERE post.postid IN (SELECT thread.lastpostid FROM thread WHERE post.dateline < (SELECT UNIX_TIMESTAMP()-86400)) |
All times are GMT. The time now is 07:16 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|