I've recently upgraded my forum to SMF 1.0.6 and upgrade my coppermine to 1.4.3. After doing the intergration, I had a couple problems with the templates in coppermine, though solved all but one. If someone tries to view the galley without being logged in to the forum, they get the template error message as follow:
Template error
Failed to find block 'logout'(#(<!-- BEGIN logout -->)(.*?)(<!-- END logout -->)#s) in :
<span class="topmenu">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<!-- BEGIN my_gallery -->
<td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" id="spacer" alt="" /></td>
<td><img name="button1_r1_c1" src="themes/upholster/images/button1_r1_c1.gif" width="5" height="25" border="0" id="button1_r1_c1" alt="" /></td>
<td background="themes/upholster/images/button1_r1_c2.gif">
<a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}">{MY_GAL_LNK}</a>
</td>
<td><img name="button1_r1_c3" src="themes/upholster/images/button1_r1_c3.gif" width="5" height="25" border="0" id="button1_r1_c3" alt="" /></td>
<!-- END my_gallery -->
<!-- BEGIN my_profile -->
<td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" id="spacer" alt="" /></td>
<td><img name="button1_r1_c1" src="themes/upholster/images/button1_r1_c1.gif" width="5" height="25" border="0" id="button1_r1_c1" alt="" /></td>
<td background="themes/upholster/images/button1_r1_c2.gif">
<a href="{MY_PROF_TGT}">{MY_PROF_LNK}</a>
</td>
<td><img name="button1_r1_c3" src="themes/upholster/images/button1_r1_c3.gif" width="5" height="25" border="0" id="button1_r1_c3" alt="" /></td>
<!-- END my_profile -->
<!-- BEGIN enter_admin_mode -->
<td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" id="spacer" alt="" /></td>
<td><img name="button1_r1_c1" src="themes/upholster/images/button1_r1_c1.gif" width="5" height="25" border="0" id="button1_r1_c1" alt="" /></td>
<td background="themes/upholster/images/button1_r1_c2.gif">
<a href="{ADM_MODE_TGT}" title="{ADM_MODE_TITLE}">{ADM_MODE_LNK}</a>
</td>
<td><img name="button1_r1_c3" src="themes/upholster/images/button1_r1_c3.gif" width="5" height="25" border="0" id="button1_r1_c3" alt="" /></td>
<!-- END enter_admin_mode -->
<!-- BEGIN leave_admin_mode -->
<td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" id="spacer" alt="" /></td>
<td><img name="button1_r1_c1" src="themes/upholster/images/button1_r1_c1.gif" width="5" height="25" border="0" id="button1_r1_c1" alt="" /></td>
<td background="themes/upholster/images/button1_r1_c2.gif">
<a href="{USR_MODE_TGT}" title="{USR_MODE_TITLE}">{USR_MODE_LNK}</a>
</td>
<td><img name="button1_r1_c3" src="themes/upholster/images/button1_r1_c3.gif" width="5" height="25" border="0" id="button1_r1_c3" alt="" /></td>
<!-- END leave_admin_mode -->
<!-- BEGIN upload_pic -->
<td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" id="spacer" alt="" /></td>
<td><img name="button1_r1_c1" src="themes/upholster/images/button1_r1_c1.gif" width="5" height="25" border="0" id="button1_r1_c1" alt="" /></td>
<td background="themes/upholster/images/button1_r1_c2.gif">
<a href="{UPL_PIC_TGT}" title="{UPL_PIC_TITLE}">{UPL_PIC_LNK}</a>
</td>
<td><img name="button1_r1_c3" src="themes/upholster/images/button1_r1_c3.gif" width="5" height="25" border="0" id="button1_r1_c3" alt="" /></td>
<!-- END upload_pic -->
<!-- BEGIN register -->
<td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" id="spacer" alt="" /></td>
<td><img name="button1_r1_c1" src="themes/upholster/images/button1_r1_c1.gif" width="5" height="25" border="0" id="button1_r1_c1" alt="" /></td>
<td background="themes/upholster/images/button1_r1_c2.gif">
<a href="{REGISTER_TGT}" title="{REGISTER_TITLE}">{REGISTER_LNK}</a>
</td>
<td><img name="button1_r1_c3" src="themes/upholster/images/button1_r1_c3.gif" width="5" height="25" border="0" id="button1_r1_c3" alt="" /></td>
<!-- END register -->
<!-- BEGIN login -->
<td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" id="spacer" alt="" /></td>
<td><img name="button1_r1_c1" src="themes/upholster/images/button1_r1_c1.gif" width="5" height="25" border="0" id="button1_r1_c1" alt="" /></td>
<td background="themes/upholster/images/button1_r1_c2.gif">
<a href="{LOGIN_TGT}">{LOGIN_LNK}</a>
</td>
<td><img name="button1_r1_c3" src="themes/upholster/images/button1_r1_c3.gif" width="5" height="25" border="0" id="button1_r1_c3" alt="" /></td>
<!-- END login -->
<!-- BEGIN logout
<td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" id="spacer" alt="" /></td>
<td><img name="button1_r1_c1" src="themes/upholster/images/button1_r1_c1.gif" width="5" height="25" border="0" id="button1_r1_c1" alt="" /></td>
<td background="themes/upholster/images/button1_r1_c2.gif">
<a href="{LOGOUT_TGT}">{LOGOUT_LNK}</a>
</td>
<td><img name="button1_r1_c3" src="themes/upholster/images/button1_r1_c3.gif" width="5" height="25" border="0" id="button1_r1_c3" alt="" /></td>
END logout -->
<!-- BEGIN Forum -->
<td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" id="spacer" alt="" /></td>
<td><img name="button1_r1_c1" src="themes/upholster/images/button1_r1_c1.gif" width="5" height="25" border="0" id="button1_r1_c1" alt="" /></td>
<td background="themes/upholster/images/button1_r1_c2.gif">
<a href="http://www.carrscorner.com/yabbse">Forum</a>
</td>
<td><img name="button1_r1_c3" src="themes/upholster/images/button1_r1_c3.gif" width="5" height="25" border="0" id="button1_r1_c3" alt="" /></td>
<!-- END Forum -->
</tr>
</table>
</span>
The Forum can be found at
http://www.carrscorner.com/yabbse and the coppermine is at:
http://www.carrscorner.com/galleyTest user on the forum is: username coppermine Password: coppermine This account is set as the minimum user available on the forum. If you are not logged in you don't see a button link to the gallery, so you have to use the link above and that is when you get the error. If you are logged in there is a button on the top of any forum page and also a link in the left hand menu.
Anyone have any thought, ideas or directions on what I can do to fix this.
Thanks in advance