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

Recent

Welcome to TinyPortal. Please login or sign up.

May 19, 2024, 04:01:32 AM

Login with username, password and session length
Members
  • Total Members: 3,886
  • Latest: Grendor
Stats
  • Total Posts: 195,189
  • Total Topics: 21,220
  • Online today: 100
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 73
  • Total: 73

"New" button works differently in the Recent block and the BoardIndex

Started by ZarPrime, February 05, 2015, 04:41:04 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ZarPrime

I agree with you Bloc. I would much prefer that you take look at http://www.tinyportal.net/index.php?issue=85.0 and see if you can figure it out. If you have any questions about what I posted on that issue, feel free to ask me because, at the time, I did a lot of testing on that.

bloc

It isn't solved?

I suspect the issue is within SSI as Brad mentions, the better would be to write the recent function as simpler version of the real thing - instead of the SSI one.

ZarPrime

No, as far as I can tell without testing it, it is not solved. Brad had marked it for further feedback and that was the last thing that was done on it.

Quote from: ZarPrime on July 12, 2011, 04:49:23 AM

The Recent block has 2 links, the Subject and the New image.  Clicking either one sends you to the last post of the topic.

Each topic in the BoardIndex for each Board has 3 links, the Subject, the New image, and the Last Post image.  In all cases, clicking the Subject send you to the first post of the topic.  In fact, it sends you to the topic number without regard to whatever messages are in the topic.  The Last Post image link (all the way to the right) sends you to the last post of the topic just as both links in the Recent block do.  Clicking the New Image link sends you to the first "new" post after the last one I have read.

It happens this way on both Proteus and Curve and without regard to whether the last poster has an avatar or not.

Perhaps I need to split these 3 posts from this topic since this an entirely different issue.

bloc

Yup, split would probably be better. I am looking at both issues though.


bloc

After some investigating its what Brad describes, SSI does use "topicseen" which is the "jumper" to make the link go to the page where your last seen post is. Perfectly fine for the "new" button..but as you pointed out, not the same as for boardindex links that just goes to the start of the topic.

Theres a reason for it though..assuming that if you already "seen" a topic you would want to go to where you left off, not necessarily where the topic itself starts. For example, topic A has 40 pages, you read to page 5. Next time you like to start from 5, presumably.

The "new" indicator will show you any new posts, so one could argue that you don't want to see same post again - unless there's new replies, which then the "new" button supplies. Instead, when theres no new replies, you would want to start at the start on that topic..I don't know, what do you feel is the better one?

Technically its easy to change it.

ZarPrime

Quote from: bloc on February 05, 2015, 10:53:49 PM

Theres a reason for it though..assuming that if you already "seen" a topic you would want to go to where you left off, not necessarily where the topic itself starts. For example, topic A has 40 pages, you read to page 5. Next time you like to start from 5, presumably.

The "new" indicator will show you any new posts, so one could argue that you don't want to see same post again - unless there's new replies, which then the "new" button supplies. Instead, when theres no new replies, you would want to start at the start on that topic..I don't know, what do you feel is the better one?

Technically its easy to change it.

Yep, I think you've got it. I now understand why I couldn't get my brain around this. It's because I couldn't figure out how "topicseen" or even ";topicseen#new" works. I still don't totally understand it. Arantor made a valiant effort at describing it in this topic, though it still seems almost like magic to me --- http://www.simplemachines.org/community/index.php?topic=511884.0

The 2 posts linked below Describe exactly how I would like to see the recent block work ...

Quote from: ZarPrime on July 12, 2011, 04:49:23 AM
Brad,

I went through it again, testing it with 3 different topics (with and without avatars) on both Proteus and Curve.

In Recent Block, in all cases, both the Subject and the New image link to the same thing, the last post of the topic.

Topic TP code ... in the Team Board (Ichbin with Avatar is last poster) ...
Subject Link   --> http://www.tinyportal.net/index.php?topic=34185.msg273535;topicseen#new
New image link --> http://www.tinyportal.net/index.php?topic=34185.msg273535;topicseen#new

Topic update for "multi-func posts&topics snippet"? in Requests Board (Insanemustang with no avatar is last poster) ...
Subject Link -->   http://www.tinyportal.net/index.php?topic=33024.msg273534;topicseen#new
New Image Link --> http://www.tinyportal.net/index.php?topic=33024.msg273534;topicseen#new

Topic [Discuss] SMF Gallery Block for SMF2 in Block code support Board (Ken with avatar is last poster) ...
Subject Link -->   http://www.tinyportal.net/index.php?topic=32358.msg273538;topicseen#new
New Image Link --> http://www.tinyportal.net/index.php?topic=32358.msg273538;topicseen#new

On the Board Index for each of those topics in each of those boards, there are actually 3 links that might be appropriate.  The only one that sends you to the last post of the topic, as in the Recent block, is the Last Post image Link ...

Topic TP code ... in the Team Board (Ichbin with Avatar is last poster) ...
Subject Link -->   http://www.tinyportal.net/index.php?topic=34185.0
New Image Link --> http://www.tinyportal.net/index.php?topic=34185.msg273532#new
Last Post Link --> http://www.tinyportal.net/index.php?topic=34185.msg273535#new

Topic update for "multi-func posts&topics snippet"? in Requests Board (Insanemustang with no avatar is last poster) ...
Subject Link -->   http://www.tinyportal.net/index.php?topic=33024.0
New Image Link --> http://www.tinyportal.net/index.php?topic=33024.msg273396#new
Last Post Link --> http://www.tinyportal.net/index.php?topic=33024.msg273534#new

Topic [Discuss] SMF Gallery Block for SMF2 in Block code support Board (Ken with avatar is last poster) ...
Subject Link -->   http://www.tinyportal.net/index.php?topic=32358.0
New Image Link --> http://www.tinyportal.net/index.php?topic=32358.msg273532#new
Last Post Link --> http://www.tinyportal.net/index.php?topic=32358.msg273538#new

The Recent block has 2 links, the Subject and the New image.  Clicking either one sends you to the last post of the topic.

Each topic in the BoardIndex for each Board has 3 links, the Subject, the New image, and the Last Post image.  In all cases, clicking the Subject send you to the first post of the topic.  In fact, it sends you to the topic number without regard to whatever messages are in the topic.  The Last Post image link (all the way to the right) sends you to the last post of the topic just as both links in the Recent block do.  Clicking the New Image link sends you to the first "new" post after the last one I have read.

It happens this way on both Proteus and Curve and without regard to whether the last poster has an avatar or not.  So Yes, confirmed.

And here is the other one ...

Quote from: ZarPrime on July 12, 2011, 01:40:44 PM
If we could figure out how to do it, I actually think it would be cool if out "Recent" topics block were to have all 3 links in it, just like on the BoardIndex, like this ...
Short Subject --> link to topic number
New Image --> link to first "New" unread topic
Last Image --> link to last post in topic

There is an image at /Themes/default/images/tinyportal/TPtree_article3.gif which is in every TP install that I used in the SP style user block (for "View Profile" and "Logout") that I did which would be perfect for the Last Image link,  It could be placed right after the [Date at Time] and would look something like this --> [July 11, 2011, 01:25:42 PM]

That image () would link to the last post of the topic.  Cool idea.

Jim

ZarPrime

Now, I would like some of the other team members like Mick and Ken and WillyP give their feedback on this as well. IMHO, if there is no "new" image displayed, the only link that would be available is the "short subject" link and that should go to the last post of the topic, rather than the first, as it does on the boardindex, since going to the first post is (usually) not something you would do, or is it?

Ideally, I think the best way to do it would be as I describe it below ...

Quote from: ZarPrime on July 12, 2011, 01:40:44 PM
If we could figure out how to do it, I actually think it would be cool if out "Recent" topics block were to have all 3 links in it, just like on the BoardIndex, like this ...
Short Subject --> link to topic number
New Image --> link to first "New" unread topic
Last Image --> link to last post in topic

There is an image at /Themes/default/images/tinyportal/TPtree_article3.gif which is in every TP install that I used in the SP style user block (for "View Profile" and "Logout") that I did which would be perfect for the Last Image link,  It could be placed right after the [Date at Time] and would look something like this --> [July 11, 2011, 01:25:42 PM]

That image () would link to the last post of the topic.  Cool idea.

Jim

bloc

Uhm, the "topicseen" does go to the last post...

More accurately,"Topicseen" goes to last PAGE, while the "new" anchor will make it jump down to the exact last post you read. Normally when you read a topic, all replies is seen as "read". So the "new" indicator only moves x number of new replies the NEXT time you visit. If the number increase so much that you have extra pages, the topicseen still make you land on the page where you were.

Now when you describe what you think, Zarprime, I think its should stay as it is, and the only added thing could be a straight link to the FIRST post...maybe a small icon for that.

This is a bit complex...but even the #new must stay in the link to make sure that even if you read all the posts and have nothing new to see, it makes you jump to the bottom of the page. If you only used "topicseen" for eample, you land on the top of the last page(you had to scroll down to see the very last post).

bloc

That said..recent topics is a personal thing, so historically it would perhaps confuse if the short subject goes to the first post, while a "last post" image does what it does now. Like I said, would almost be better if a small symbol made you go to first, while subject link stay as it is..