Hey guys,
i have a cron script that moves a thread from one forum to another, and updates the thread timestamp to the current time. The problem is that there is another timestamp for the actual post. Can someone help me modify the following code to update the timestamp on the post as well?
Thanks in advance
PHP Code:
$l = $vbulletin->db->query_first("
SELECT threads.threadid
FROM vb_thread AS threads
WHERE threads.forumid=5
");
$vbulletin->db->query_write("
UPDATE vb_thread
SET forumid=2, dateline=UNIX_TIMESTAMP()
WHERE threadid=".$l['threadid']
);