Thanks for the response, bigguy (and the mod of course).
I've already created a folder in forum/Themes/default named 'icons'. I then created a folder named 1 and uploaded on.png, on2.png and off.png into it.
I've tried renaming the folder to 2, 3, 4 etc. but no luck. I've tested it on other browsers and my theme is a copy of Curve.
My forum/Themes/default/languages/Modifications.english.php is as follows:
<?php // Version: 2.0 RC2; Modifications // Important! Before editing these language files please read the text at the top of index.english.php. <?php // Version: 2.0 RC2; Modifications // Important! Before editing these language files please read the text at the top of index.english.php. $txt['noisen_footnote'] = 'Footnote'; $txt['no_icon'] = 'No icon set'; ?>
Here's an excerpt from my forum/Themes/default/MessageIndex.template.php:
<?php // Version: 2.0 RC2; MessageIndex function template_main() { global $context, $settings, $options, $scripturl, $modSettings, $txt; echo ' <a id="top"></a>'; if (!empty($context['boards']) && (!empty($options['show_children']) || $context['start'] == 0)) { echo ' <div class="tborder" id="childboards"> <h3 class="catbg"><span class="left"></span>', $txt['parent_boards'], '</h3> <div class="table_frame"> <table class="table_list"> <tbody class="content"> '; foreach ($context['boards'] as $board) { echo ' <tr class="windowbg2"> <td class="icon windowbg"', !empty($board['children']) ? ' rowspan="2"' : '', '> <a href="', ($board['is_redirect'] || $context['user']['is_guest'] ? $board['href'] : $scripturl . '?action=unread;board=' . $board['id'] . '.0;children'), '">'; // Customizer Comment: Custom board icons mod. if ($board['new']) { if (file_exists($settings['theme_dir'] . '/icons/' . $board['id'] . '/on.png')) $board_new_img=$settings['theme_url']. '/icons/' . $board['id'] . '/on.png'; else $board_new_img=$settings['images_url']. '/on.png'; echo '<img src="', $board_new_img,'" alt="', $txt['no_icon'], '" title="', $txt['no_icon'], '" border="0" />'; } elseif ($board['children_new']) { if (file_exists($settings['theme_dir'] . '/icons/' . $board['id'] . '/on2.png')) $childboard_new_img=$settings['theme_url']. '/icons/' . $board['id'] . '/on2.png'; else $childboard_new_img=$settings['images_url']. '/on2.png'; echo '<img src="', $childboard_new_img,'" alt="', $txt['no_icon'], '" title="', $txt['no_icon'], '" border="0" />'; } else { if (file_exists($settings['theme_dir'] . '/icons/' . $board['id'] . '/off.png')) $board_nonew_img=$settings['theme_url']. '/icons/' . $board['id'] . '/off.png'; else $board_nonew_img=$settings['images_url']. '/off.png'; echo '<img src="', $board_nonew_img,'" alt="', $txt['no_icon'], '" title="', $txt['no_icon'], '" border="0" />'; } // Is it a redirection board? if ($board['is_redirect']) echo '<img src="', $settings['images_url'], '/redirect.png" alt="*" title="*" border="0" />'; echo '</a> </td> <td class="windowbg2"> <b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a></b>'; // Customizer Comment: End custom board icons mod. // Has it outstanding posts for approval? if ($board['can_approve_posts'] && ($board['unapproved_posts'] || $board['unapproved_topics'])) echo ' <a href="', $scripturl, '?action=moderate;area=postmod;sa=', ($board['unapproved_topics'] > $board['unapproved_posts'] ? 'topics' : 'posts'), ';brd=', $board['id'], ';', $context['session_var'], '=', $context['session_id'], '" title="', sprintf($txt['unapproved_posts'], $board['unapproved_topics'], $board['unapproved_posts']), '" class="moderation_link">(!)</a>'; echo ' <p>', $board['description'] , '</p>'; // Show the "Moderators: ". Each has name, href, link, and id. (but we're gonna use link_moderators.) if (!empty($board['moderators'])) echo ' <p class="moderators">', count($board['moderators']) == 1 ? $txt['moderator'] : $txt['moderators'], ': ', implode(', ', $board['link_moderators']), '</p>'; // Show some basic information about the number of posts, etc. echo ' </td> <td class="stats windowbg"> <p>', $board['posts'], ' ', $board['is_redirect'] ? $txt['redirects'] : $txt['posts'], ' <br /> ', $board['is_redirect'] ? '' : $board['topics'] . ' ' . $txt['board_topics'], ' </p> </td> <td class="lastpost">'; /* The board's and children's 'last_post's have: time, timestamp (a number that represents the time.), id (of the post), topic (topic id.), link, href, subject, start (where they should go for the first unread post.), and member. (which has id, name, link, href, username in it.) */ if (!empty($board['last_post']['id'])) echo ' <p><strong>', $txt['last_post'], '</strong> ', $txt['by'], ' ', $board['last_post']['member']['link'] , '<br /> ', $txt['in'], ' ', $board['last_post']['link'], '<br /> ', $txt['on'], ' ', $board['last_post']['time'],' </p>';
Here's an excerpt from my forum/Themes/default/BoardIndex.template.php:
[/size]if (!$context['user']['is_guest'] && !empty($category['show_unread'])) echo ' <a class="unreadlink" href="', $scripturl, '?action=unread;c=', $category['id'], '">', $txt['view_unread_category'], '</a>'; echo ' ', $category['link'], ' </td> </tr> </tbody> <tbody class="content"> '; // Assuming the category hasn't been collapsed... if (!$category['is_collapsed']) { /* Each board in each category's boards has: new (is it new?), id, name, description, moderators (see below), link_moderators (just a list.), children (see below.), link_children (easier to use.), children_new (are they new?), topics (# of), posts (# of), link, href, and last_post. (see below.) */ foreach ($category['boards'] as $board) { echo ' <tr class="windowbg2"> <td class="icon windowbg"', !empty($board['children']) ? ' rowspan="2"' : '', '> <a href="', ($board['is_redirect'] || $context['user']['is_guest'] ? $board['href'] : $scripturl . '?action=unread;board=' . $board['id'] . '.0;children'), '">'; // Customizer Comment: Custom board icons mod: http://custom.simplemachines.org/mods/index.php?action=parse if ($board['new']) { if (file_exists($settings['theme_dir'] . '/icons/' . $board['id'] . '/on.png')) $board_new_img=$settings['theme_url']. '/icons/' . $board['id'] . '/on.png'; else $board_new_img=$settings['images_url']. '/on.png'; echo '<img src="', $board_new_img,'" alt="', $txt['no_icon'], '" title="', $txt['no_icon'], '" border="0" />'; } elseif ($board['children_new']) { if (file_exists($settings['theme_dir'] . '/icons/' . $board['id'] . '/on2.png')) $childboard_new_img=$settings['theme_url']. '/icons/' . $board['id'] . '/on2.png'; else $childboard_new_img=$settings['images_url']. '/on2.png'; echo '<img src="', $childboard_new_img,'" alt="', $txt['no_icon'], '" title="', $txt['no_icon'], '" border="0" />';