Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: 124256 on September 09, 2006, 02:59:38 PM

Title: sticky / locked / pole image missing
Post by: 124256 on September 09, 2006, 02:59:38 PM
For some reason my forum decided that it didn't know the src of the image that's supposed to say if a topic is sticky, locked, or has a pole. It comes up with that big ugly internet explorer red-X-in-a-box. It's  not because the image isn't there. I checked the source and it just says src="". Can anyone direct me to the file this is supposed to be writing this line (I can't tell if its BoardIndex.template or MessageIndex.template) and where the data for this is supposed to be. You can take a look at the problem here: http://www.cajcl.org/forum/index.php?board=7.0 (http://www.cajcl.org/forum/index.php?board=7.0)

My current suspect is MessageIndex.template :

foreach ($context['topics'] as $topic)
{
echo '
<tr>
<td class="windowbg02" valign="middle" align="center" width="5%">
<img style="margin: 0 5px 0 5px" src="', $settings['images_url'], '/topic/', $topic['class'], '.gif" alt="" />
</td>
<td valign="middle" class="windowbg2" align="center" width="5%">
<img style="margin: 0 5px 0 5px" src="', $topic['first_post']['icon_url'], '" alt="" />
</td>
Title: Re: sticky / locked / pole image missing
Post by: xenovanis on September 09, 2006, 03:45:08 PM
I'm afraid this theme is not compatible with SMF 1.0.8. You should use a theme designed for 1.0.8.
Title: Re: sticky / locked / pole image missing
Post by: 124256 on September 10, 2006, 06:02:42 PM
It's a shame because everything else works pretty well. Is there any way to change my SMF version to something compatible. It's a real shame because I spent a lot of time recoloring the images.