combined_front_page EDK mod 1.6.2This mod changes the front page of EDK to show both kills and losses - kills in green and losses in red. Colours have been tested with colourblind users to ensure ease of reading. Rows alternate dark and light colours for easier reading, as in the standard killboard. The css file can be customised to suit if needed. Some colourblind users have had problems with particular monitors. If that's you, both the kills and losses pages still have the standard colouring so can be used instead.
The mod works with killboards that share a database.
The goal of this mod is to clearly show both kills and losses on the front page with minimal overhead. If you need more features then the I.NET mod by Sappyx may be what you need instead. -
viewtopic.php?f=505&t=13068 .
To install, copy the combined_front_page folder from the attached zip file to the mods directory of the killboard. Activate the mod on the killboard admin page.
Updated:
1.1 Optimised db queries to improve page load times
1.2 Further db optimisation
Now counts weeks properly
Removed class.killlistable.php
Added settings page to limit allowable date range shown to improve speed
'previous week' link now goes to a combined kills and losses page for
that week.
'20 most recent kills' now shows the selected number
Uncached query times reduced to under 25% on tested systems (YMMV).
1.3 Minor changes to formatting to fit pos modules in.
1.4 Code cleaned up. No visual change.
1.5 Fixed a date bug introduced in 1.4 - Week was starting on Sunday.
1.5.1 Another bugfix. SQL is faster again. Alternating shades are back.
1.6 Added an option for a monthly view.
1.6.1 toplists showed monthly in both views. Fixed
1.6.2 Fixed the typo introduced in 1.6.1