I've been tinkering with this a little, but all I know about PHP is what little I've learned while poking around my UBBt code. This is what I've come up with so far:
I have changed the section of code in ubbthreads.php where is calls the new posts icon to this:
[]
<td valign="middle" align="center" width="1%" class="boardfolder" >
<img src="{$config['images']}/{$forum[$c][$f]['boardfolder']}" alt=" " />
</td>
[/]
All that I changed was the name of the class.
I have also added this class to one of my stylesheets.
[]
.boardfolder {
background-color: #000000;
background-image: url{$config['images']}/{$forum[$c][$f]['boardfolder']}
color: #FFFFFF;
font-size: 11px;
}
[/]
The thing you want to pay attention to is the background-image tag I added. I took .darktable (which is what it was assigned to before I changed it to the newly-formed .boardfolder) and then I copied it and added the background-image tag.
This works quite well, but this is where I'm stuck. I know that
{$config['images']}/{$forum[$c][$f]['boardfolder']}
calls the image, but don't know how to use different images for different themes. I know I would have to add to the PHP file where it calls the image, but have no clue as to how to go about that.
Okay, I provided a stepping-off point. Any one more familiar with PHP care to continue?