![]() |
Deleting posts updates thread.dateline column?
Hello,
I noticed that upon deleting a post, the thread.dateline column is updated with the current timestamp. How can I avoid this? I tried to find where the delete function is but I couldn't find it. Also why does this happen? I'm not sure why the script needs to update the thread's start date when you delete a post. Also, are there any side effects to have another script update the thread.dateline column? The reason for this is that I wanted to have the ability to manually "bump" some specific threads. thanks a lot Tom |
What method did you use to delete the post? It should not update the time on the thread at all. You should click on the box next to the post, then go to the Moderation drop down and select "delete posts" and then hit Go. You'll then get to choose to hard delete or soft delete the post.
The thread.dateline column is the date the thread was created. It should not be used to 'bump' posts and in fact I don't know that it would since that doesn't change the date on the posts and those are usually used to put items in order. |
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. |
All times are GMT. The time now is 10:05 PM. |
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:
|