Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Goto first unread post mod?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

therookery
Starting Member

29 Posts

Posted - 22 February 2002 :  06:35:52  Show Profile  Visit therookery's Homepage
A user on our forums (www.orlando-guide.info) has requested a feature where she can go to the first unread post when she logs on. Does anyone know if this is available as a MOD or if something similar is available?

John

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 22 February 2002 :  06:55:51  Show Profile  Visit HuwR's Homepage
no, this would require uite significant rewriting, posts are not flagged as read when you read them, you are just shown any posts since you last logged on, regardless of wjether you have read them

Go to Top of Page

therookery
Starting Member

29 Posts

Posted - 25 February 2002 :  08:31:30  Show Profile  Visit therookery's Homepage
Would it not just be a case of setting a cookie with the topic id and message id of the last displayed message every time a user views a thread.

When they load that thread again, it will load the cookie and if it has a value, display a link at the top of the topic so the user can automatically jump down to the next unread message.

Maybe I'm being a bit simplistic?

John

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 25 February 2002 :  08:37:23  Show Profile  Visit HuwR's Homepage
and how may topics do you have on your forum ? 1 or 1000? thats a lot of cookies.

Go to Top of Page

chief77
Junior Member

New Zealand
114 Posts

Posted - 26 February 2002 :  02:26:10  Show Profile  Visit chief77's Homepage  Send chief77 an ICQ Message
Can it not use the "Last Visited Date" as a way to find out the first unread post in a thread?

perhaps a link/button that go straight to the particular post in one thread, that match the "Last Visited Date" to a thread/post's "Last Posted Date". (This would mean to create a name anchor somewhere in the <tr>......)



Am I making any sense? *LOL* (I'll shuddup now..)

Kel.



Edited by - chief77 on 26 February 2002 02:27:30
Go to Top of Page

therookery
Starting Member

29 Posts

Posted - 08 March 2002 :  09:59:06  Show Profile  Visit therookery's Homepage
fYou are making perfect sense chief77.

I've implemented the cookie method I suggested on our forums for the time being but a method based on last visited date would be much neater.

The only problem I now have is what if a topic is more than 1 page long and I want to put the 'Go to last unread message' prompt at the top of each thread page. I can see how it would just check for the first message with a date > Late Visited Date on page 1, but how would it handle other pages?

John

Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 08 March 2002 :  10:14:04  Show Profile
How about editing subscriptions so they don't link to the topic, but to the reply that has just been made? I know you can use reply ID's to go directly to a reply (hover your mouse over the "reply with quote icon and you can see the reply ID) so that should be possible...



http://www.frutzle.com

Snitz Exchange | Do's and Dont's
Go to Top of Page

chief77
Junior Member

New Zealand
114 Posts

Posted - 08 March 2002 :  10:35:04  Show Profile  Visit chief77's Homepage  Send chief77 an ICQ Message
John.. thanks for understanding my "solution"... *Guess I'm not as crazy in idea as I sounded like* *LOL*


Anyhow, to further my idea on adding an anchor tag. I assumed that the "last visited date" should match or compare with all the posted posts made in a thread, and see whichever post is the "youngest" unread and add the <a name> tag to it, this check will goes throughout the whole thread. Which mean, if a person is reading the first page of the thread where the newest posts are 5 pages away, it should have a hyperlink at the top of the first page thread linking to page-5-anchor.


I know vBulletin has this built-in into their board, which is handy... but this feature is new to Snitz and it is helpful though.


I am much of an idealist, but not a strong coder... I hope someone can implement this idea into a working mod.

Kel.

Go to Top of Page

therookery
Starting Member

29 Posts

Posted - 08 March 2002 :  10:42:21  Show Profile  Visit therookery's Homepage
chief77 - you've definitely got the makings of an idea there. If only I could get my head round the jump to other pages problem.

I guess you could read in the whole topic at the very top and work out what is the first topic with a posting date > date you last visited and then what page this is going to appear on.

If this is done, the solution to the problem is academic.

The implementation of this with cookies that we currently have on our forums (www.orlando-guide.info) was quite easy to do - hope this one is too!

John

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.24 seconds. Powered By: Snitz Forums 2000 Version 3.4.07