Reply
 
Thread Tools Display Modes
  #1  
Old 10-08-2019, 08:27 PM
Chronos's Avatar
Chronos is offline
Charter Member
Moderator
 
Join Date: Jan 2000
Location: The Land of Cleves
Posts: 85,111

Peculiar behavior of the "last post by" listing


An odd behavior I just noticed:

Go to the main board page (the one that lists all of the forums). For each forum, there will be a link listing the most recently-bumped thread, and if you click that link, you will be taken to the thread it lists. All as you would expect.

And underneath that link, there's another one, showing who posted last to that forum, and if you click that link, it'll take you to the profile of the person who posted last to that forum. As you would expect? Well, no, not really.

Like, as I'm looking at the forum listing right now, for The Game Room, I see one link that says "The poker world is engulfed..., and below that, a link that says "by Chronos". In other words, as of when I loaded that page, I had made the last post in The Game Room, and it was in the poker thread.

If you click on that poker link, then you will be taken to the poker thread. But if you click on the Chronos link, then you will not be taken to my profile. You will be taken to the profile of whoever, at the time you click the link, has made the most recent post to the Game Room. Like, right this moment, it appears that that happens to be Lamoral, who apparently posted at some point after I loaded that page.

In other words, there's a link with my name on it, that doesn't go to my profile, unless you happen to click it quickly.
__________________
Time travels in divers paces with divers persons.
--As You Like It, III:ii:328
Check out my dice in the Marketplace
  #2  
Old 10-09-2019, 10:38 AM
BwanaBob's Avatar
BwanaBob is offline
Guest
 
Join Date: Feb 2003
Location: Maryland
Posts: 4,219
I've noticed that too. For instance I just commented in the other thread in this subforum. The link as you described shows another poster's name. But when I click on it I'm brought to my own profile because I was the latest person to post. Seems like the updating isn't happening swiftly.
__________________
Go wherever you can be
And live for the day
It's only wear and tear
-IQ
  #3  
Old 10-10-2019, 06:31 PM
Omar Little's Avatar
Omar Little is offline
Guest
 
Join Date: Apr 2000
Location: Within
Posts: 13,200
Just refresh your page before clicking the link, so that the name is updated.
  #4  
Old 10-11-2019, 01:02 PM
Irishman is offline
Guest
 
Join Date: Dec 1999
Location: Denton, TX, USA
Posts: 12,551
That will tell you who's link you are following, but won't fix the issue of the link going to someone other than who it claims.
  #5  
Old 10-11-2019, 05:01 PM
ftg's Avatar
ftg is offline
Member
 
Join Date: Feb 2001
Location: Not the PNW :-(
Posts: 20,306
Real time is hard to deal with.
  #6  
Old 10-11-2019, 07:33 PM
BigT's Avatar
BigT is offline
Guest
 
Join Date: Aug 2008
Location: "Hicksville", Ark.
Posts: 36,592
Yeah, I noticed that a while back. It seems a weird design choice not to hard code the link to the profile to the name. But, instead, it links to https://boards.straightdope.com/sdmb/member.php?find=lastposter&t=<thread_ID>.

I'm not sure why the designers would ever think that was useful.
  #7  
Old 10-14-2019, 11:29 AM
Irishman is offline
Guest
 
Join Date: Dec 1999
Location: Denton, TX, USA
Posts: 12,551
Looks like a feature of the problem of real time vs. page caching.

The link is to the profile of the last poster, because the link is to pull the identity of the last poster. The problem is your page caches the name on the page as it is at the time the page is pulled, but if you hit the link, you reactivate the "pull the last poster identity" feature. Ergo, it pulls the new last poster's profile.

I don't know enough about coding to know if there's a way to have set it to cache the poster's identity page with their name while leaving the feature of listing the last poster on the page.
  #8  
Old 10-14-2019, 05:13 PM
Chronos's Avatar
Chronos is offline
Charter Member
Moderator
 
Join Date: Jan 2000
Location: The Land of Cleves
Posts: 85,111
Irishman, you're proposing changing the name to match the link. That'd be tricky. I'm proposing changing the link to match the name, which would be much easier.
  #9  
Old 10-16-2019, 08:59 AM
Irishman is offline
Guest
 
Join Date: Dec 1999
Location: Denton, TX, USA
Posts: 12,551
No, I am proposing changing the cached link to match the cached name, while allowing the feature to still pull the last poster.

In other words, is the link to the listed poster's identity a separate link from the link to call the last poster for the thread? I think it is the same link, which is why it is pulling the "wrong" poster identity. I don't know enough about coding to know if there is a way to fix it the way you want.
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:48 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.

Send questions for Cecil Adams to: cecil@straightdope.com

Send comments about this website to: webmaster@straightdope.com

Terms of Use / Privacy Policy

Advertise on the Straight Dope!
(Your direct line to thousands of the smartest, hippest people on the planet, plus a few total dipsticks.)

Copyright 2019 STM Reader, LLC.

 
Copyright © 2017