[center][size=5][b]Colorize Boards - v1.1.0[/b][/size]
[b]Custom Board & Category Colours for SMF 2.1.x[/b]
[b]By BoredSkull[/b][/center]
[hr]
[b]Overview[/b]
Bring a splash of colour to your SMF forum with Colorize Boards, allowing administrators to customise board and category names and descriptions with individual colours and optional bold or italic formatting.
Inspired by the original Colorize Boards modification, this version has been rebuilt using updated coding practices for SMF 2.1.x, providing a modern, lightweight implementation while retaining the original concept.
[color=green][b]Uses SMF hooks. No core or theme file edits required![/b][/color]
[hr]
[b]Features[/b]
[list]
[li][b]Board Colours[/b] - Customise individual board names and descriptions.[/li]
[li][b]Category Colours[/b] - Assign separate colours to category names and descriptions.[/li]
[li][b]Text Formatting[/b] - Apply optional bold or italic styling to names.[/li]
[li][b]Colour Picker[/b] - Select colours visually or enter hexadecimal codes or colour names.[/li]
[li][b]Global Toggle[/b] - Enable or disable the modification through the administration panel.[/li]
[li][b]Theme Friendly[/b] - Leave colour fields blank to retain the theme's default styling.[/li]
[/list]
[hr]
[b]Installation & Configuration[/b]
Install the package through [b]Admin > Packages > Download Packages > Upload Package[/b], then select [b]Install Now[/b].
To configure colours:
[list]
[li]Navigate to [b]Admin > Forum > Boards > Modify Boards[/b].[/li]
[li]Edit a board or category to access the additional styling options.[/li]
[li]Choose a colour using the picker, hexadecimal value (e.g. #ff0000) or colour name (e.g. red).[/li]
[li]Leave fields blank to preserve the default theme colours.[/li]
[/list]
The modification can be enabled or disabled under [b]Admin > Forum > Boards > Settings[/b].
[hr]
[b]Where Colours Appear[/b]
Custom colours are applied throughout the forum, including:
[list]
[li]Board index and child boards[/li]
[li]Category headings[/li]
[li]Message index headers[/li]
[li]Linktree navigation[/li]
[li]Board links in Recent Posts, Statistics, Unread Posts and search results[/li]
[/list]
[hr]
[b]Technical Notes[/b]
[list]
[li][b]100% Hook Based[/b] - No modifications to SMF core files or theme templates.[/li]
[li][b]Updated Implementation[/b] - Rebuilt for SMF 2.1.x using modern coding practices rather than relying on the original modification's implementation.[/li]
[li][b]No Database Changes[/b] - Colour preferences are stored in a single setting without creating or modifying database tables.[/li]
[li][b]Theme Compatibility[/b] - Supports the default SMF theme and custom themes retaining standard board and category markup (#board_X and #category_X).[/li]
[/list]
[hr]
[b]Credits[/b]
Inspired by the original [b]Colorize Boards[/b] modification. Credit goes to the original creator for the concept.
This release is a modern redevelopment for SMF 2.1.x, featuring updated code and hook-based integration.
[b]Developed by BoredSkull[/b]
https://boredskull.net
[hr]
[b]Changes in v1.1.0[/b]
[list]
[li]Clear saved colours for child boards when their parent board is deleted and descendants are also removed.[/li]
[li]Protect saved colour data from malformed or invalid settings.[/li]
[li]Make the colour picker reflect three-character hex input.[/li]
[li]Guard against incomplete admin form submissions.[/li]
[li]Correct version information and support in-place upgrades from v1.0.1.[/li]
[/list]

[hr]
[b]New in 1.1.0[/b]
[list]
[li]Five colour presets, a live edit-screen preview and contrast warnings for hexadecimal text/background combinations.[/li]
[li]Optional background colours and accent borders for boards and categories.[/li]
[li]Category-wide styling inheritance for board rows; leave unchecked to style the category heading only.[/li]
[li]Bulk apply board styling to all boards in the same category (replaces their existing styles).[/li]
[li]Optional theme-specific overrides: enter the installed SMF theme ID to save settings for that theme. Use 0 for defaults across themes.[/li]
[li]Clear-colours button, non-destructive upgrades from 1.0.1/1.0.2 and no core or theme edits.[/li]
[/list]
[b]Notes[/b]
Contrast warnings are guidance, not enforced; theme styles can affect the final contrast. The colour preview covers text/background only. Preview and bulk editing require JavaScript. A theme-specific override uses current form values and can be changed by resaving that theme ID. Existing default styles remain until changed. Test with your installed theme before public deployment.
