The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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. |
#2
|
|||
|
|||
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. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|