Hello kind and noble helpers! This is my first post to the forum, so my apologies if my method of sharing code is frowned upon. But I wanted to be thorough in the info I offered for your guidance.
I am currently working on a wp site that has an open-source tracking script (see below) incorporated into it. I have modified the script to include a mileage tracking system, which is in the "milog.php" file. (File link is below.) I included this in the wp-admin/user-edit.php file. I put all the tracking files in the wp-admin folder. Here is the site where I found the tracking script:
For the database, I created a backup of the wp_users db and appended the necessary tracking fields. I did not edit WP to use this new database but it is used in the tracking system seen in the user profile. (When this is working I will rename it so that WP will use the new one.) I am at the point where I want to use the wp login script but need to include the vital scripts from the other login. I am having a hard time locating the area in which I would integrate this into the wp-login file. I just need the tracker to know when a user logs in through WP.
The link below leads to a zip file that has all the files in my wp-admin folder. There is also a file for the database called "wp_users_bu.sql". Note the following folder structure followed by the .php files; everything else is in the root of wp-admin:
act: login, logout, register
usr: auth, home (inside usr) referral: calc, invite, points, profile, stats, tree
Since the tracking code is open source I plan on posting this for anyone who might want to make a free plugin for it. If this is not the proper place to ask for this kind of help please let me of the best site. Thank you in advance for your time and help!