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

0 Members and 1 Guest are viewing this topic.

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4865
  • Last Login:Yesterday at 01:48:07 pm
Re: "Unranked" users
« Reply #15 on: June 29, 2024, 11:06:12 am »
Thanks, I've updated listfileinfo.csv the other day. The users are still indicated with ranks on tmstage - albeit it's indicated The most recent TM - Highways site update completed at 2024-06-28 22:21:30 US/Eastern.
I guess that you've simply not updated UserData for tmstage?

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2856
  • Last Login:Yesterday at 10:14:42 pm
Re: "Unranked" users
« Reply #16 on: June 29, 2024, 11:08:47 am »
I'll try to reload the next .sql I generate into the test db for use on tmstage.  I'm not spending too much time automating updates of the test db since I hope to have this all live on the production database and main site before too long.

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2856
  • Last Login:Yesterday at 10:14:42 pm
Re: "Unranked" users
« Reply #17 on: June 29, 2024, 11:15:25 pm »
On tmstage, we now have /stat.php, /user, /user/region.php, and /user/system.php behaving as I intend with respect to unranked users.

Left to do: traveler counts and lists on hb/showroute.php and user/mapview.php, colors for "Color by Traveler Count" on user/mapview.php.

Also, the newest listfileinfo.csv (and newest of all other TM data) have been loaded into the test db so are on tmstage.

Again, please feel free to add entries to listfileinfo.csv for your highway list file(s), normal or "unranked".




Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4865
  • Last Login:Yesterday at 01:48:07 pm
Re: "Unranked" users
« Reply #18 on: June 30, 2024, 11:20:46 am »
Looks good :) I just like to have any info why there is no rank for those users in the 'Traveler' tables, e.g. a tooltip.

I also wonder if you wanna output the last column of listfileinfo.csv anywhere on the site, or if we just use it to indicate in the csv itself why that user is to be unranked.
Proposal: Below the headline, i.e.
- user new line below 'Main Travel Mapping - Highways User Page for ***'
- region.php new line below 'Traveler Statistics for *** in ***'
- system.php new line below 'Traveler Statistics for *** on *** in ***'

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2856
  • Last Login:Yesterday at 10:14:42 pm
Re: "Unranked" users
« Reply #19 on: June 30, 2024, 01:17:59 pm »
On tmstage, mapview and showroute now ignore unranked users.

Thanks, @michih for the other suggestions, will look at those soon.

Have I missed any other places where unranked users should be ignored?

I plan to have this go live on the main site soon, closing the big GitHub issues regarding this new feature, then we can open new issues for bugs and feature requests to track them more easily.

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4865
  • Last Login:Yesterday at 01:48:07 pm
Re: "Unranked" users
« Reply #20 on: June 30, 2024, 01:38:29 pm »
Have I missed any other places where unranked users should be ignored?

I'm not aware of any.

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2856
  • Last Login:Yesterday at 10:14:42 pm
Re: "Unranked" users
« Reply #21 on: July 04, 2024, 09:42:37 am »
This is all live in the production database and on the main site.  Please report any problems or make any suggestions here or open new GitHub Issues.

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4422
  • Last Login:Yesterday at 10:18:34 pm
  • I like C++
Re: "Unranked" users
« Reply #22 on: August 29, 2024, 11:20:32 am »
9aafcf9 came about a month after the switch to MariaDB.
lab2 is still running mysql 8.0.16. It tells me:
Quote
ERROR 1064 (42000) at line 14223312: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF EXISTS idx_com_region_traveler ON clinchedOverallMileageByRegion' at line 1
I'll see about updating my software. Maybe even my OS if I have to.
Might be less headache to set up MariaDB on another machine first and see how it does.
In the meantime, I think I may be able to just not create these indices on lab2 to do what I wanna do there.
Sri Syadasti Syadavaktavya Syadasti Syannasti Syadasti Cavaktavyasca Syadasti Syannasti Syadavatavyasca Syadasti Syannasti Syadavaktavyasca