TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 790
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 631
  • Total: 632
  • tino

Unread Topics Bloc?

Started by Jokey, January 10, 2009, 03:07:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jokey

Is there such a thing? I looked thru the index of snippets but didn't see one, I would like one so when the member logs in the bloc automatically show the unread posts, and just those, not all the recent topics.

??? ??? ???

JPDeni

Use the link

index.php?action=unread;all;start=0


IchBin

I think you're looking for a Block and not a Bloc right? :P  I don't think I've ever seen a unread posts block. Would be a good idea IMO. If one of our coders can't get to it, I'll see if I can take a shot at it.

JPDeni

The trouble with making it a block is that, as soon as the person reads everything, there will be nothing there. Also, if you put in all unread items, there's no knowing how many there will be, meaning that the length of the block will vary a great deal. It's better to keep blocks relatively consistent in size. Since it's so easy to have a link to the unread items, it's better to just use the link. It's rather silly to repeat things that SMF does automatically.

Jokey

Quote from: JPDeni on January 10, 2009, 05:34:34 PM
The trouble with making it a block is that, as soon as the person reads everything, there will be nothing there. Also, if you put in all unread items, there's no knowing how many there will be, meaning that the length of the block will vary a great deal. It's better to keep blocks relatively consistent in size. Since it's so easy to have a link to the unread items, it's better to just use the link. It's rather silly to repeat things that SMF does automatically.

Well let's see, if coded right the block could be made to scroll? Alot of users don't realize there is a link. But I guess since it is silly it isn't worth doing. ::)

G6Cad

If i recall correctly, Thurnok tried to get a block like that to work, but as JP Denis said, there were no way to hold the info once one have clicked any of the links.

JPDeni

QuoteAlot of users don't realize there is a link

It's right there in the user block -- Show unread -- or you can make a block with the link.

This website is proudly hosted on Crocweb Cloud Website Hosting.