Welcome, Guest. Please Login or Register.
May 03, 2025, 12:23:29 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Goto last unread message « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Goto last unread message  (Read 496 times)
nferreri
Noobie
*
Posts: 45


Goto last unread message
« on: May 08, 2002, 06:27:02 PM »
Reply with quote

Another feature I like in vBulletin is a little button at the top of each thread which takes you to the last unread post to a thread.  This is really useful for quickly seeing new items on a post.

On the same note of new posts.  How come the Board is lit up as new messages, then you go in and read a few with new tags but leave a few unread.. how come the board isn't lit up still?  Shouldn't the board icon be lit up always if it contains new messages inside?

just wondering  ::)
Logged
David
Destroyer Dave
Global Moderator
YaBB God
*****
Posts: 5761


I'm not a llama!

WWW
Re:Goto last unread message
« Reply #1 on: May 09, 2002, 05:26:00 AM »
Reply with quote

Quote from: nferreri on May 08, 2002, 06:27:02 PMAnother feature I like in vBulletin is a little button at the top of each thread which takes you to the last unread post to a thread.  This is really useful for quickly seeing new items on a post.
I too love this feature.  How hard would it be to include.  My guess, this is just a guess, is instead of keeping track of what messages in a thread have been read it only keeps track of what threads have been read.  You could make a mod that does something with date and time to figure out which is the last read post.

Quote from: nferreri on May 08, 2002, 06:27:02 PMOn the same note of new posts.  How come the Board is lit up as new messages, then you go in and read a few with new tags but leave a few unread.. how come the board isn't lit up still?  Shouldn't the board icon be lit up always if it contains new messages inside?
I actually like this because I may not want to read everything, thus not using mark all read, but want to be alerted when there are new posts.  I dislike how vB requires you to mark everything read before it turns off the new post indicator.
Logged

Myiasis
Full Member
***
Posts: 178


I'm a llama!

Re:Goto last unread message
« Reply #2 on: May 09, 2002, 07:41:38 AM »
Reply with quote

I'm guessing you mean FIRST unread message?

I'm not sure why it isn't being used for the most part, but the board seems to have the ability to do this. If you have ever noticed when you get notifications and you hit the link in the email, it takes you to the first unread message in the topic.

Here is something you might try. I did this on my board and it seems to be working, but I don't know if there was a particular reason the board doesn't do this already.

I changed the "new" graphic that you get by new threads into links that should technically take you to the new threads. This doesn't cover having the buttons in the thread listing like you wanted, but it gives you the ability without changing much of the code.

In MessageIndex.php find the line that looks like this: $new = "<img src=\"$imagesdir/new.gif\" alt=$txt[302]\">";

That's line 275 if you haven't changed the file at all.

Change it to: $new = "<a href=\"$cgi;action=display;threadid=$mnum;start=new\"><img src=\"$imagesdir/new.gif\" alt=\"$txt[302]\" border=\"0\"></a>";

The "new" image is now clickable to take you to the new messages.

I haven't put much testing into that, but appears to work.
Logged
nferreri
Noobie
*
Posts: 45


Re:Goto last unread message
« Reply #3 on: May 09, 2002, 01:44:10 PM »
Reply with quote

ahh.. very interesting.. i wasn't aware the functionality was there.  if there is a parameter for it in the url then im going to look into appending an image to the actual thread section.... it should just be an added link.

ill letcha know what i come up with!

thnx info
Logged
Myiasis
Full Member
***
Posts: 178


I'm a llama!

Re:Goto last unread message
« Reply #4 on: May 09, 2002, 02:07:59 PM »
Reply with quote

I actually continued this a bit in the mods section. Seemed a more appropriate place for it:

http://www.yabb.info/community/index.php?board=158;action=display;threadid=8060
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Goto last unread message « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.040 seconds with 21 queries.