Jonathan Livingston wrote:
After installing "Attachment MOD" (by Acyd Burn) on phpbb2 with Cobalt 2.0 template set as default everything works ok, BUT!
Some .tpl-s look incorrectly comparing to original Cobalt theme.
I suppose that happens bacause of some files that Attachment MOD overwrites. Has somebody adapted those Attachment MOD files to work properly with Cobalt 2.0 template? ->
I don't supply all files because I might have other mods added that other don't
This files should be fine and not need additonal work on them that the standard editing.
posting_body.tpl
posting_topic_review.tpl
viewforum_body.tpl
viewtopic_body.tpl
privmsgs_preview.tpl
privmsgs_read_body.tpl
For privmsgs_body.tpl
Find
</script>
Delete all code till
<form method="post" name="privmsg_list" action="{S_PRIVMSGS_ACTION}">
Replace with
<table border="0" cellspacing="0" cellpadding="0" align="center" width="100%">
<tr>
<td align="right">
<!-- BEGIN switch_box_size_notice -->
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td width="0%" class="mainboxLefttop"><img src="templates/Cobalt/images/spacer.gif" width="6" height="6"></td>
<td width="100%" class="mainboxTop"><img src="templates/Cobalt/images/spacer.gif" width="6" height="6"></td>
<td width="0%" class="mainboxRighttop"><img src="templates/Cobalt/images/spacer.gif" width="6" height="6"></td>
</tr>
<tr>
<td width="0%" class="mainboxLeft"><img src="templates/Cobalt/images/spacer.gif" width="6" height="6"></td>
<td width="100%" class="privmsgsBox">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td class="privmsgsBoxStart">
<table width="175" cellspacing="1" cellpadding="2" border="0">
<tr>
<td colspan="3" width="175" class="row1" nowrap="nowrap"><span class="gensmall">{ATTACH_BOX_SIZE_STATUS}</span></td>
</tr>
<tr>
<td colspan="3" width="175" class="row2">
<table cellspacing="0" cellpadding="1" border="0">
<tr>
<td bgcolor="{T_TD_COLOR2}"><img src="templates/Cobalt/images/spacer.gif" width="{ATTACHBOX_LIMIT_IMG_WIDTH}" height="8" alt="{ATTACH_LIMIT_PERCENT}" /></td>
</tr>
</table>
</td>
</td>
</tr>
<tr>
<td width="33%" class="row1"><span class="gensmall">0%</span></td>
<td width="34%" align="center" class="row1"><span class="gensmall">50%</span></td>
<td width="33%" align="right" class="row1"><span class="gensmall">100%</span></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td width="0%" class="mainboxRight"><img src="templates/Cobalt/images/spacer.gif" width="6" height="6"></td>
</tr>
<tr>
<td width="0%" class="mainboxLeftbottom"><img src="templates/Cobalt/images/spacer.gif" width="6" height="6"></td>
<td width="100%" valign="top" class="mainboxBottom"><img src="templates/Cobalt/images/spacer.gif" width="6" height="6"></td>
<td width="0%" class="mainboxRightbottom"><img src="templates/Cobalt/images/spacer.gif" width="6" height="6"></td>
</tr>
</table>
<!-- END switch_box_size_notice -->
</td>
<td valign="top" align="center" width="100%">
<div class="pmFolderLinks">
<table cellspacing="2" cellpadding="0" border="0" align="center">
<tr>
<td valign="middle">{INBOX_IMG}</td>
<td valign="middle"><span class="gen"><b>{INBOX}</b>&&</span></td>
<td valign="middle">{SENTBOX_IMG}</td>
<td valign="middle"><span class="gen"><b>{SENTBOX}</b>&&</span></td>
<td valign="middle">{OUTBOX_IMG}</td>
<td valign="middle"><span class="gen"><b>{OUTBOX}</b>&&</span></td>
<td valign="middle">{SAVEBOX_IMG}</td>
<td valign="middle"><span class="gen"><b>{SAVEBOX}</b></span></td>
</tr>
</table>
</div>
</td>
<td align="right">
<!-- BEGIN switch_box_size_notice -->
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td width="0%" class="mainboxLefttop"><img src="templates/Cobalt/images/spacer.gif" width="6" height="6"></td>
<td width="100%" class="mainboxTop"><img src="templates/Cobalt/images/spacer.gif" width="6" height="6"></td>
<td width="0%" class="mainboxRighttop"><img src="templates/Cobalt/images/spacer.gif" width="6" height="6"></td>
</tr>
<tr>
<td width="0%" class="mainboxLeft"><img src="templates/Cobalt/images/spacer.gif" width="6" height="6"></td>
<td width="100%" class="privmsgsBox">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td class="privmsgsBoxStart">
<table width="175" cellspacing="1" cellpadding="2" border="0">
<tr>
<td colspan="3" width="100%" class="row1" nowrap><span class="gensmall">{BOX_SIZE_STATUS}</span></td>
</tr>
<tr>
<td colspan="3" width="100%" class="row2">
<table cellspacing="0" cellpadding="1" border="0">
<tr>
<td bgcolor="{T_TD_COLOR2}"><img src="templates/Cobalt/images/spacer.gif" width="{INBOX_LIMIT_IMG_WIDTH}" height="8" alt="{INBOX_LIMIT_PERCENT}" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="33%" class="row1"><span class="gensmall">0%</span></td>
<td width="34%" align="center" class="row1"><span class="gensmall">50%</span></td>
<td width="33%" align="right" class="row1"><span class="gensmall">100%</span></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td width="0%" class="mainboxRight"><img src="templates/Cobalt/images/spacer.gif" width="6" height="6"></td>
</tr>
<tr>
<td width="0%" class="mainboxLeftbottom"><img src="templates/Cobalt/images/spacer.gif" width="6" height="6"></td>
<td width="100%" valign="top" class="mainboxBottom"><img src="templates/Cobalt/images/spacer.gif" width="6" height="6"></td>
<td width="0%" class="mainboxRightbottom"><img src="templates/Cobalt/images/spacer.gif" width="6" height="6"></td>
</tr>
</table>
<!-- END switch_box_size_notice -->
</td>
</tr>
</table>
<br clear="all" />
For profile_view_body
<!-- BEGIN switch_upload_limits -->
<tr>
<td valign="top" align="right" nowrap="nowrap"><span class="genmed"><strong>{L_UPLOAD_QUOTA}:</strong></span></td>
<td>
<table width="175" cellspacing="1" cellpadding="2" border="0" class="bodyline">
<tr>
<td colspan="3" width="100%" class="row2">
<table cellspacing="0" cellpadding="1" border="0">
<tr>
<td bgcolor="{T_TD_COLOR2}"><img src="templates/cobalt/images/spacer.gif" width="{UPLOAD_LIMIT_IMG_WIDTH}" height="8" alt="{UPLOAD_LIMIT_PERCENT}" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="33%" class="row1"><span class="gensmall">0%</span></td>
<td width="34%" align="center" class="row1"><span class="gensmall">50%</span></td>
<td width="33%" align="right" class="row1"><span class="gensmall">100%</span></td>
</tr>
</table>
<b><span class="genmed">[{UPLOADED} / {QUOTA} / {PERCENT_FULL}]</span> </b><br />
<span class="genmed"><a href="{U_UACP}" class="genmed">{L_UACP}</a></span></td>
</td>
</tr>
<!-- END switch_upload_limits -->
I will ceate a fix for posting_preview.tpl
For some read I have not edit modcp.tpl