PDA

View Full Version : Corners to thead


NakedAlien
10-31-2009, 07:44 AM
How do I add left and right corner images for the thead section? I have the images ready, but I just don't know to which template to add and what code to add.

Attitude5ire
11-01-2009, 03:15 AM
'forumhome_forumbit_level1_nopost' templates
you need to be editing that.

NakedAlien
11-01-2009, 06:59 AM
I'll check =)

--------------- Added 1257068664 at 1257068664 ---------------

I'm using themes create by the same person CleanBlue and ProBlue. In problue there are left and right corners on the thead, in cleanblue there aren't.

Here is the code from Problue:

<table class="tcat" cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td width="57"><img border="0" src="problue/pr/catsol.gif" alt=""/></td><td width="100%">
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
</td>
<td><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a></td>
<td width="13"><img border="0" src="problue/pr/catsag.gif" alt=""/></td>
</tr>
</table>


And here is the code from cleanblue. If someone could tell me where in this do I add and what, so that it looks like problue:

<if condition="!$show['collapsable_forums']">
<tbody>
</if>
<tr align="center">
<td class="alt1Active" colspan="2" align="$stylevar[left]" id="f$forum[forumid]">

<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>
<td><img src="$vboptions[cleargifurl]" alt="" width="9" height="1" border="0" /></td>
<td>
<div>
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
</div>
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
<if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
</td>
</tr>
</table>

</td>
<td class="alt2">$forum[lastpostinfo]</td>
<td class="alt1">$forum[threadcount]</td>
<td class="alt2">$forum[replycount]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
</if>
</tr>

<if condition="!$show['collapsable_forums']">
</tbody>
</if>

<if condition="$childforumbits">
<if condition="!$show['collapsable_forums']">
<tbody>
</if>
$childforumbits
<if condition="!$show['collapsable_forums']">
</tbody>
</if>
</if>

NakedAlien
11-02-2009, 04:01 PM
I can't figure it out!