View Full Version : Edited post ==> Unread post
Sunka
12-19-2008, 08:32 AM
Could someone create MOD.
When I or someone else edited some post, that post will be marked unread for other users. So, when they click on New Posts, that post should be showed
Charlie98902
12-21-2008, 11:26 PM
This would be very helpful.
Sunka
01-04-2009, 05:28 AM
Anyone?
Kiros72
01-04-2009, 12:10 PM
I might be able to make this. Though it will take me a little while. Until I figure out how to do it otherwise, it will use a reporting method. You' see what I mean.
I can't guarantee anything, but I'll definitely try.
I will make this for sure!Great idea!Should be easy I guess.
Kiros72
01-06-2009, 07:19 PM
Thanks! I actually have too much work to do to focus on side projects anyway :)
Paul M
01-08-2009, 09:57 AM
I will make this for sure!Great idea!Should be easy I guess.
Easy ? Think again - just remember an edited post can by anywhere in a thread. :)
Yeah I took that into consideration.But the first post is always defined in the thread table ;)
Kiros72
01-09-2009, 01:03 PM
Well, when I was first going to take this on, I thought of a rather practical method.
Basically, whenever a post is edited, a reporting account would post in that thread notifying that X post has been updated.
That would mean that the thread would be seen as unread. Any subscriptions would see the reported message "This post <linky> has been updated for this reason," or something like that.
I think such a method would be fairly easy to implement - far easier than simply making the thread automatically unread. However, I know the harder method can be done because that would be similar to the attachment system (i.e. showing that the thread has an attachment somewhere in it from the forumdisplay script).
I might implement both thechniques.
Sunka
01-12-2009, 09:07 PM
Wow, thanks both for effort (Ziki & Kiros72)
Sunka
03-04-2009, 04:24 PM
If could help...
This code (and only this code) is used in phpBB forum for that...
Maybe that would help to create same MOD for vBulletin
if($post_mode == 'edit_last_post' || $post_mode == 'edit_topic')
{
$sql_update_posts = 'UPDATE ' . POSTS_TABLE . '
SET post_time = ' . $current_time . '
WHERE post_id = ' . $data['post_id'] . '
AND topic_id = ' . $data['topic_id'];
$db->sql_query($sql_update_posts);
$sql_update_topics = 'UPDATE ' . TOPICS_TABLE . '
SET topic_last_post_time = ' . $current_time . '
WHERE topic_id = ' . $data['topic_id'];
$db->sql_query($sql_update_topics);
update_post_information('forum', $data['forum_id']);
markread('post', $data['forum_id'], $data['topic_id'], $data['post_time']);
}
Marco van Herwaarden
03-05-2009, 01:47 PM
That would never work with vBulletin, all it woulddo is to move the post to the end of the thread.
(vBulletin uses the date/time of the post to sort the posts within the thread.)
Angry_Sun
08-09-2009, 01:35 AM
Did this ever become a reality? I would REALLY like this mod.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.