Non-Road Boards > Travel Mapping

Stats pages

(1/8) > >>

Hello all,

I'd like to get more involved in the TravelMapping project, and now that I have a few weeks off, I was wondering if anyone would be able to work with me for a few days to help me get comfortable with GitHub. Eventually I'd like to be in a position to take over Ohio and possibly another unclaimed state.

On a related note, I'm also interested in figuring out a way to produce some simple user stats for TM. Unfortunately I don't know how to code anything that could pull the info from the database or output it into a simple text file similar to the current log files. Again, with plenty of time to learn and test, I just need someone willing to offer some basic information on how to get started.

Stats I'm interested in compiling would be similar to those produced by CHM, both for individual users and the entire group.

All traveler stats:
Totals/rank for various systems, like this:
Totals/rank for various regions, like this:

Individual stats:
Summary pages for various systems, like this:
Summary pages for various regions, like this:

I've been in touch with Dave about this offline.  For anyone interested in helping out with the stats pages, I think most if not all of the stats are already in or could easily be added to the DB.  All of these stats pages are a matter of getting (from a web form/query string parameters) the desired subset of the stats, formulating the appropriate SQL query or queries, and putting them into a PHP page that makes the query and reports the results in HTML.

It's fairly high on my list of priorities to get going on this.  So there's a chance progress could be made by me over the coming break, but most likely it's going to be summer.  So I definitely welcome contributions from anyone who can help make this all a reality sooner.

I like the stats that are already available through the log, but also look forward to what comes of this effort.

I can think of a couple reason to look forward to these:
-Able to link to my TravelMapping site from elsewhere just like I could from my CHM site
-Ability to open route pages in the highway browser with my travels already highlighted


--- Quote from: vdeane on December 16, 2015, 01:22:56 PM ----Ability to open route pages in the highway browser with my travels already highlighted

--- End quote ---
You can do this now, although you need to manually edit the URL:
It would be nice though to have a persistent u=username that can follow you around from page to page, or that works on the main hb.php page...


[0] Message Index

[#] Next page

Go to full version