The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
User Posts- Read/Unread
By default when a user posts in a thread and then visits the forum, it shows that thread as unread. How do I change it so that if it's the user that posts, the thread is marked as read?
Help is appreciated. |
#2
|
|||
|
|||
Wow, no one with any ideas? I've seen a few vbulletin sites that did this.
|
#3
|
|||
|
|||
You are not worried that while you are entering a post, someone else is as well? If your post hits the database after any others since you last visited the thread, you will not know there are unseen/new posts in the thread.
Of course, you could make the hack you require more complicated by including a check for this case. If you just want any reply to mark the thread as viewed (not new), then try this: In version 3.0.3, showthread.php, CHANGE line 1373 from: if (!$posted AND $displayed_dateline AND $displayed_dateline > fetch_bbarray_cookie('thread_lastview', $threadid)) to: if (/* !$posted AND */ $displayed_dateline AND $displayed_dateline > fetch_bbarray_cookie('thread_lastview', $threadid)) |
#4
|
|||
|
|||
Thanks! In our field, the two other company sites that use vbulletin both use this method, so it's what our customers are used to.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|