Author Topic: "Unranked" users  (Read 63184 times)

0 Members and 1 Guest are viewing this topic.

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2976
  • Last Login:Today at 08:05:36 am
Re: "Unranked" users
« Reply #30 on: June 24, 2025, 02:52:44 pm »
Two possible ways to show this info on the main user page are both at the top of

https://tmdevel.teresco.org/user/?units=miles&u=beltway&

I lean toward the second, where there is some text below the existing header line rather than the first, where the user description text becomes part of the header line.  Thoughts?

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 5208
  • Last Login:Today at 06:59:40 am
Re: "Unranked" users
« Reply #31 on: June 24, 2025, 03:14:31 pm »
Option 2.

Don't forget region.php + system.php

Offline mapcat

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 1892
  • Last Login:Today at 06:08:03 am
Re: "Unranked" users
« Reply #32 on: June 24, 2025, 04:26:34 pm »
I like option 2 better as well.

And thanks for solving the mystery of Noire.
« Last Edit: June 24, 2025, 04:28:40 pm by mapcat »
Clinched:

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2976
  • Last Login:Today at 08:05:36 am
Re: "Unranked" users
« Reply #33 on: June 24, 2025, 05:43:38 pm »
I should be able to get tooltips on the main rankings page with this info for any user who specifies such info in the listfileinfo.csv file.  I hope to play with that shortly.

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2976
  • Last Login:Today at 08:05:36 am
Re: "Unranked" users
« Reply #34 on: June 24, 2025, 10:57:32 pm »
I have new code up on https://tmstage.teresco.org that has the user description, when specified in listfileinfo.csv, on the main /user page as well as /user/region.php and /user/system.php.  Also, the traveler rankings on /user/region.php, /user/system.php, and /stat.php, now all have tooltips to indicate that a user is specified as unranked when hovering over the blank entries for those travelers in the "Rank" columns, and tooltips to show the description for any user that specifies one when hovering over the Traveler column.

I'll put it up on the main site once a few people have tested it out and it seems there are no major suggestions for improvements related to this.

Offline mapcat

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 1892
  • Last Login:Today at 06:08:03 am
Re: "Unranked" users
« Reply #35 on: June 25, 2025, 10:01:12 am »
When viewing an unranked user's "travels" in mapview, a good way to highlight the network of freeways, scenic byways, etc is to select "plain" for the color scheme. The black for the highlighted roads would work better if the gray for unhighlighted was significantly lighter. There's not enough contrast even with the "TM Blank White" basemap.
Clinched:

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 5208
  • Last Login:Today at 06:59:40 am
Re: "Unranked" users
« Reply #36 on: June 25, 2025, 12:46:25 pm »
I have new code up on https://tmstage.teresco.org

I think the text should be left aligned on region.php + system.php, just like the headline above + user page.
I'd keep the tooltip text as-is but change the text on user, region.php + system.php:

Code: [Select]
User description: Marks all segments that are freeways-> if includeInRanks = 0
Code: [Select]
Unranked user: Marks all segments that are freeways-> if includeInRanks = 1
Code: [Select]
Marks all segments that are freeways

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2976
  • Last Login:Today at 08:05:36 am
Re: "Unranked" users
« Reply #37 on: June 25, 2025, 09:49:23 pm »
Thanks.  I moved the user description to the left on region.php and system.php.  I am not sure why it's exactly where it is, but I don't know how to make it go further left.  I like the separate tooltips on the rank and name so I'm going to leave those as I have them at least for now.

Anyone else have suggestions?