Hi Lynne
Actually I was wrong, when you delete a post, it doesn't update the thread.dateline column BUT what happens is this:
1) I have a forum, its default sort field is "Thread Start Time" - fine
2) I manually change the thread.dateline column of one of the threads to the current timestamp - giving it a "bump" effect - works fine, thread shows up on top
3) But when I delete one of the posts of this "bumped" thread, its thread.dateline value reverts back to the previous value before the "bump"
So I need to know what are the files and functions involved when deleting a post. File editpost.php has this: $postman->delete(...
I've been looking in the includes folder but can't find where this delete method is being defined - does anyone know?
Also it seems that the thread.dateline column is just being used to sort the threads and manually altering this columns value doesn't have any side effects, I guess.
|