I made a web application to store exported guild log data into a database so that it's easier to navigate and can go more than 10 days back. Here is a demo with sample data, and here are the required files. In order to set this up, you'll need a web server with PHP and MySQL, and some basic knowledge of PHP and MySQL for installation and configuration (can't be arsed to make a proper installer for such a small app).
Installation:
- Extract index.php and _guild_record.php to a public folder on the web server.
- Within that folder, create a subfolder named "guild_record_csv".
- Execute the queries in mysql_queries.txt inside a MySQL database.
- Open index.php and configure all of the defined constants at the top of the file, as well as the $LOGINS data.
User notes:
- The page bar doesn't work on IE8 or older. Seriously, update or better yet switch if you're still using one of those.
- A 'guest' can view the logs, and an 'uploader' can view the logs and upload CSV files.
Admin notes:
- Only trusted officers/GMs should be in the 'uploader' group, obviously. Only those with database access should be in the 'admin' group.
- If a bad CSV is uploaded, then delete the corresponding row from the `guild_record_uploads` table, log into the page as an admin and load the script with
?resync=1in the URL to reinsert all the other data. This could take a while. - The authorisation in index.php is very lightweight and not very secure. phpbb.php uses phpBB session IDs and forum ranks for authentication, in case your guild has a phpBB forum like mine.
I don't want to derail your thread, but I might as well mention the Python script that we're using for this same purpose in our guild: Lancer_Knightz_(Guild)/Guild_Records. It seems to be far less capable than your solution, but it may also be simpler.