99 Commits

Author SHA1 Message Date
aa0a44116b Added more checks to remove undesirable results from the tourney displays 2025-03-17 21:26:15 -04:00
e83639f8d8 Fixed problem where division buttons on the right side weren't working properly 2025-03-17 21:02:05 -04:00
e56ffdb076 Fixed a bug where a PHP error would show to non-admin and non-logged-in users 2025-03-15 18:14:38 -04:00
00cab61c65 Some layout and style changes 2025-03-15 18:01:19 -04:00
578326cb03 Added tournament list to admin panel, with capability to edit them. Future ability to delete coming soon! 2025-03-15 17:00:47 -04:00
40f1dcee6e Added tournament editing 2025-03-15 14:46:50 -04:00
66fdaf8ebd Tournaments-adding-form now redirects to that tournament's info page after submission
Changed max length of winning team name to 30 characters
2025-03-15 12:39:28 -04:00
133bb19911 Slight changes to formatting 2025-03-15 12:28:15 -04:00
4a880b93dd Moved header and nav to their own files - easier to edit! 2025-03-15 12:11:45 -04:00
15c3475a4f Long team names are now cutoff if they're TOO long, in tourney cards 2025-03-15 11:31:27 -04:00
0f1013d54e Tourney cards now link to tournament details pages 2025-03-15 11:26:43 -04:00
b8c346c37a Tournament Display now pulls information from the database and displays it 2025-03-15 11:19:43 -04:00
f57c37c851 Slight change to giveaway disclaimer link 2025-03-15 09:48:31 -04:00
7d9db6e4e1 Start of tournament page
Added UID (unique ID) to game and tourney entries - this will make for fancier links
2025-03-15 08:47:20 -04:00
abe6bbc740 Renamed more php files to html for better compatibility 2025-03-15 07:54:42 -04:00
1c632a0d86 Changed 'create_safe_admin' to html for better detection by Github 2025-03-15 07:50:06 -04:00
f61fc283c0 Renamed 'reinitialise' file to html extension for better detection by Github 2025-03-15 07:47:49 -04:00
f13d2ed907 Tidied up user-detection code 2025-03-15 07:45:07 -04:00
81a3ac3969 Renamed tourney_results and associated stylesheet to the more-appropriate 'tourney-cards' 2025-03-15 07:22:57 -04:00
9f3306dbd6 Slight layout and style changes 2025-03-15 07:09:55 -04:00
6dc7256e92 Added tournament cards to the main page
These little cards show the most recent tournaments, the number of which is defined in the db_config file (default 6)
2025-03-14 19:51:14 -04:00
63223d7fb6 Initial workings of main page tournament display 2025-03-13 19:00:11 -04:00
a590af9e3a Fixed HTACCESS to include new username rules. Removed period (.) from allowed username content to prevent URL conflicts 2025-03-12 19:35:13 -04:00
eb591d9902 Fixed issue where new user sign-ups were setting permissions to NULL in the database 2025-03-12 06:27:17 -04:00
4b75be9f2f Fixed bug where editing account on mobile would have a different width than the rest of the content 2025-03-12 05:29:15 -04:00
fe3aade901 Most-Recent-User is now clickable on the home page 2025-03-11 21:39:10 -04:00
93f24b7078 Fixed layout problem with 'edit socials' button floating around 2025-03-11 21:29:47 -04:00
c98470b43e Replaced references to "Discord Link" to "Discord User ID" 2025-03-11 21:20:00 -04:00
241058b3a7 Fixed user account creation screen layout, looks and feels a lot better now 2025-03-11 21:18:31 -04:00
d358d2699a Removed unnecessary console logs 2025-03-11 20:34:59 -04:00
4b7a4003b3 Fixed used-editing page for administrators - permissions editing works properly
Fixed redirects for links opening in iFrame instead of redirecting the window
2025-03-11 20:04:26 -04:00
53c95d9897 Allowing for more characters in usernames (i.e. '-', '_', and '|') 2025-03-11 19:43:38 -04:00
c7770a6f19 Slight change to login system so that the SESSION variable with the username catches the same one the person signed up for, so when they're looking at their own account the link will be correct 2025-03-11 19:34:05 -04:00
490afb3a4f Changed the way we show and edit data on the user accounts page - now defaults to showing socials by default even if you're logged in, with the option to edit. 2025-03-11 19:33:15 -04:00
822cf32242 Fixed bug where it wouldn't show another user's socials information if you were logged into another account 2025-03-11 06:17:31 -04:00
11572a7ade Added user editing page
Changed some layouts

Probably some other things I've forgotten about lol
2025-03-10 18:32:11 -04:00
324bdf1fe3 Fixed account creation panel gaining a scroll bar due to borders 2025-03-10 14:29:24 -04:00
d3f659ab04 Fixed bug in account creation where it couldn't read the database 2025-03-10 14:13:32 -04:00
5630d065e6 Slight layout changes 2025-03-10 14:00:48 -04:00
16e71ec6af Centered user account page for desktop 2025-03-10 13:50:46 -04:00
4d356bd9a3 Modified/tidied up folder structure - moved login/logout/create-account into the user folder 2025-03-10 13:49:35 -04:00
0d69a8212a Fixed the DB connection checker
Added mobile layout for user account page
2025-03-10 13:39:48 -04:00
87bbd023c9 Improved account creation on mobile layouts 2025-03-10 12:52:45 -04:00
2e7dd6bc0d Improved mobile layouts 2025-03-10 12:39:39 -04:00
cbc2bef7f0 Updated tournament form to include a mobile version
This will probably be the start of creating mobile versions of *some* pages... probably forms, mostly
2025-03-10 11:01:24 -04:00
df051508e2 Changed min/max sizes for mobile layout
Automatically refreshes the iFrame when the screen is rotated - this forces the layout to refresh to the correct one
2025-03-10 08:36:28 -04:00
b700c3eac5 Edited "how-to-tourney" document 2025-03-09 22:30:08 -04:00
daa03d64d3 Created mobile layouts for main page, login, and account creation 2025-03-09 22:27:06 -04:00
7c4eb02f25 Merge branch 'main' of https://github.com/FractalParadigm/TrojanDestinyRL-Trophy-Room 2025-03-09 16:54:08 -04:00
b1645cda5d Added db_config 2025-03-09 16:49:23 -04:00