Travel Mapping

User Discussions => Welcome & Notices => Topic started by: Jim on June 03, 2016, 12:47:00 am

Title: Please test new user page
Post by: Jim on June 03, 2016, 12:47:00 am
I believe the database consolidation is complete (still only on the test server, though), and I've updated the first of several web pages to take advantage of the new format.  Please try out

http://tmtest.teresco.org/user/?u=terescoj (http://tmtest.teresco.org/user/?u=terescoj)

(replace my username with yours or anyone else whose user stats you wish to view)

The main new things here are that both "active only" and "active+preview" stats are shown, and devel systems are not included at all, even in the system table near the bottom of the page.

While I am happy to hear general design suggestions, my main concern for the moment is to see if the information looks correct.  It should be using all of the same highway data and user list file data as the main site as updated late on 6/2.  I have only done the most basic spot checks.

You can also see the new log file and csv stats at http://tmtest.teresco.org/logs/ (http://tmtest.teresco.org/logs/) and http://tmtest.teresco.org/stats/ (http://tmtest.teresco.org/stats/).  The main differences here are that there are entries for both "active only" and "active+preview" where appropriate.

I hope to convert more of the existing web pages to use the new database very soon, at which time I'll make it the default.  This will cut site update times in half and eliminate the need for the "db=TravelMappingDev" QS parameter.
Title: Re: Please test new user page
Post by: si404 on June 03, 2016, 06:01:33 am
the "Clinched Mileage (inc preview)" headings are rather large.
Title: Re: Please test new user page
Post by: bejacob on June 03, 2016, 07:09:01 am
I think it looks great. As far as I can tell the information is accurate.
Title: Re: Please test new user page
Post by: Jim on June 03, 2016, 10:45:01 am
the "Clinched Mileage (inc preview)" headings are rather large.

Improved just now by moving the "active" and "active+preview" information to a separate row above the main headers.
Title: Re: Please test new user page
Post by: oscar on June 03, 2016, 01:04:42 pm
Looks fine to me. i agree about omitting table entries for systems a user hasn't yet traveled, though if a user adds some mileage in such a system, he or she will need to look up the system list some other way.
Title: Re: Please test new user page
Post by: Jim on June 03, 2016, 10:29:54 pm
Thanks for the comments so far.  The user/systems.php is converted and ready for testing.

For example, for an entire system by user:

http://tmtest.teresco.org/user/system.php?u=terescoj&sys=usaib (http://tmtest.teresco.org/user/system.php?u=terescoj&sys=usaib)

Or for a system restricted to a region by user:

http://tmtest.teresco.org/user/system.php?u=terescoj&sys=usaib&rg=MO (http://tmtest.teresco.org/user/system.php?u=terescoj&sys=usaib&rg=MO)
Title: Re: Please test new user page
Post by: Jim on June 03, 2016, 11:47:10 pm
And user/region.php has been converted to the new DB with a few small enhancements.

Try something like this:

http://tmtest.teresco.org/user/region.php?u=terescoj&rg=VA (http://tmtest.teresco.org/user/region.php?u=terescoj&rg=VA)

These first three are by no means what I'd call in their final form, but I think they have all of the information from the previous versions with both regular and dev DB, plus a couple minor enhancements I've made.

I hope to continue to work through the remaining existing pages that are affected by the DB changes so these versions can become the defaults.
Title: Re: Please test new user page
Post by: yakra on June 04, 2016, 01:11:42 am
The issues from this thread (http://tm.teresco.org/forum/index.php?topic=177) still exist.
Title: Re: Please test new user page
Post by: Jim on June 04, 2016, 11:48:06 am
Most other pages needed only trivial changes that I am confident did not break any existing functionality.  I'm going to leave this for testing for today, and likely will merge in my changes tonight.  I'm pretty sure what's in tmtest.teresco.org right now does everything we had before and a little more.  Further enhancements and fixes for known bugs will follow once the standard site update and all pages on tm.teresco.org are using the new consolidated DB.
Title: Re: Please test new user page
Post by: sipes23 on June 04, 2016, 04:46:28 pm
On the new system stats page, which is really wonderful, there is a typo. It should be "routes clinched" and not "ruutes clinched". That said, I love that I can narrow it down to region (or maybe I didn't notice it earlier). http://tmtest.teresco.org/user/system.php?u=sipes23&sys=usausb&rg=
Title: Re: Please test new user page
Post by: Jim on June 04, 2016, 04:48:40 pm
On the new system stats page, which is really wonderful, there is a typo. It should be "routes clinched" and not "ruutes clinched". That said, I love that I can narrow it down to region (or maybe I didn't notice it earlier). http://tmtest.teresco.org/user/system.php?u=sipes23&sys=usausb&rg=

Fixed, thanks.  I also was unaware of the rg= option on system.php until I got into the code for this DB update.
Title: Re: Please test new user page
Post by: Jim on June 04, 2016, 04:50:51 pm
I also realized this afternoon that I never finished updating the stat.php page to show both active and preview.  Now it does:

http://tmtest.teresco.org/stat.php (http://tmtest.teresco.org/stat.php)

Thanks to all for your continued testing on these.
Title: Re: Please test new user page
Post by: Jim on June 04, 2016, 10:35:13 pm
The consolidated DB version is now live on tm.teresco.org.  Please continue testing and let me know if you notice further problems.  Note that you might need to do a shift-reload on pages to force your browser to reload all of the files, especially the js.
Title: Re: Please test new user page
Post by: mvak36 on June 06, 2016, 03:52:48 pm
Not anything urgent, but something that I noticed on the list of clinched highways for a certain user (i will put mine as an example): http://tmtest.teresco.org/shields/clinched.php?u=mvak36.

When I click on any interstate shields (for a mutli-state interstate), it will only show a portion of the route.

For example, say that I click on I-435 (http://tmtest.teresco.org/hb/?u=mvak36&r=ks.i435). I have clinched it on both the Kansas and Missouri sides, but it's only showing the Kansas side highlighted. Would there be a way to show the whole route? I am not sure how easy or hard it is to do. If it's hard to do, then I'm ok with leaving it the way it is right now.

Thanks.
Title: Re: Please test new user page
Post by: Quidditch33 on June 06, 2016, 05:31:59 pm
Dear mvak36,

In order for you to see the entire route of any interstate, then you must head to your user page, scroll down until you find United States Interstate Highways. Click on the line(don't click on Map or HB, just click on the line), then scroll down to, for example, I-435. You should get a map of the full route. Note: if you choose a route that has business highways(interstate 90 for example), then you will not only get the full interstate 90 route but also the business highways.

I hope this helps.

Thanks,
Title: Re: Please test new user page
Post by: Quidditch33 on June 06, 2016, 05:35:59 pm
I also forgot to mention, you can do this for any route, not just interstates. I hope that this information helps you out.

Thanks,
Title: Re: Please test new user page
Post by: mvak36 on June 06, 2016, 05:54:12 pm
Thanks for your reply, but I already knew how to get it to show the route like you described. I was just wondering if we could get it to show up like that when we click on the clinched interstate shields in the clinched routes page.
Title: Re: Please test new user page
Post by: Quidditch33 on June 06, 2016, 06:01:31 pm
Dear mvak36,

As of right now, it appears as though you will only be sent to the state the comes first alphabetically. I will create a new topic that will confront this issue.

Thanks,
Title: Re: Please test new user page
Post by: Bickendan on June 07, 2016, 12:18:21 am
What are the url arguments for multi system/regions? For example, if I want to have every system for Oregon, Idaho, Montana, Wyoming, South Dakota and Minnesota for trip planning.
Title: Re: Please test new user page
Post by: Quidditch33 on June 07, 2016, 01:25:24 am
Dear Bickendan,

If you want to add multiple states/regions to your map to hold many states/regions highways at once, all you need to do is open up one of the states you want(e.x. http://tm.teresco.org/user/mapview.php?u=quidditch33&rg=WI), and then you put the next state/region's abbreviation next to it, separated with a comma(e.x. http://tm.teresco.org/user/mapview.php?u=quidditch33&rg=WI,IL). If you want 3+ states/regions, just add more(e.x. if I wanted to have Wisconsin, Illinois, Indiana, Iowa, Minnesota, and Michigan all on one map, I would put http://tm.teresco.org/user/mapview.php?u=quidditch33&rg=WI,IL,IN,IA,MI,MN and also note that the states/regions can be in any order, there's not a specific order they need to be in.) In your case, you would put http://tm.teresco.org/user/mapview.php?u=Bickendan&rg=OR,ID,MT,WY,SD,MN.

A quick side note, if you do multiple states/regions it may take some time to load, and you must be very patient with the map. I once had all 50 states on a map, and I had to move it super slightly, zooming in only once at a time.

I hope that this information helped you find what you were searching for.

Thanks,
Title: Re: Please test new user page
Post by: Jim on June 07, 2016, 07:41:30 am
From what I have been able to gather in my recent work in the web code, we don't yet have a way to specify multiple regions/multiple systems to mapview without hand editing the URL as Quidditch33 described.  That's a definite to-do.