YesNoOk
avatar

Board icons (Read 1664 times)

Started by Nightwish, November 03, 2011, 17:10:46

0 Members and 1 Guest are viewing this.
Share this topic:
#1
Board icons |
November 03, 2011, 17:10:46
Another just very minor feature that comes with little or no overhead at all. Each board can now have its own icon instead of the default new / no-new messages icon that appears in the forum index and child board display.

A new special folder in the theme directory ({theme_dir}/images/boards) holds these icons and the board options have a new field for specifying the icon the board should display. These icons are "per theme", so if you have different themes, you can also have a different board icon for each theme

If such a board has new messages, the global "new" icon will be used as an overlay to indicate this. Too see it in action, just navigate to the board index here and see the "Showcase" forum displaying its own icon instead of the default new messages indicator.
__
Every program has at least one bug and can be shortened by at least one instruction -- from which, by induction, one can deduce that every program can be reduced to a single instruction that doesn't work.
My SMF-based forum fork
2 Like It