Hi again..
I found this in poll.php and its related to my question.. hope someone can help
-------------------
if ($vbulletin->options['updatelastpost'])
{
// option selected in CP
$threadman =& datamanager_init('Thread', $vbulletin, ERRTYPE_SILENT, 'threadpost');
$threadman->set_existing($threadinfo);
$threadman->set('lastpost', TIMENOW);
$threadman->save();
}
-------------------
my question now is how can I implement set('lastpost, TIMENOW);, to the threads/posts when they get approved by moderators?
TIA.
|