![]() |
Current time when approving threads/posts
Hi
is there anyway to assign the current time for moderated threads/posts when approving them? because is a thread/posts get approved late it will not show up at the top of the forum Thank you. |
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. |
All times are GMT. The time now is 06:39 AM. |
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:
|