I see all these cool boards like C: etc that have gradients and tiles in the tables of the forum index. I've been playing around tonight trying to do it on my forum, but as usual, I fail. Here is my code for the forum display template (I assume its you do it here right?)
I added this code:
I copied the code from the template, put it in Dreamweaver and put a sample tile image I made. So it made that code, but when I enter it in the template, save it, my forum index doesnt change at all. The PATH TO is edited btw (im not that dumb )
I realize Im a total moron so if once again if someone can point me to the right direction I'd be most grateful. Thanks!
PHP Code:
{htmldoctype}
<html>
<head>
<title>$bbtitle - $foruminfo[title]</title>
$headinclude
</head>
<body>
$header
<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr>
<td valign="top">$navbar
<smallfont>$moderatedby$onlineusers</smallfont></td>
<td valign="bottom" align="right"><smallfont>$newthreadlink </smallfont></td>
</tr>
</table>
<br>
$forumdisplay[forumslist]
$forumdisplay[threadslist]
<!-- forum jump and timezone -->
<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr valign="bottom">
<td>$forumjump</td>
<td align="right">
<table cellpadding="0" cellspacing="0" border="0"><tr>
<form action="search.php" method="post">
<td><smallfont><b>Search this Forum:</b>
<input type="hidden" name="s" value="$session[sessionhash]"><input type="hidden" name="searchdate" value="-1">
<input type="hidden" name="beforeafter" value="after"><input type="hidden" name="forumchoice" value="$forumid">
<input type="hidden" name="action" value="simplesearch"><br><input type="text" class="bginput" name="query">$gobutton
</smallfont></td>
</form>
</tr></table>
</td>
</tr>
</table>
<!-- /forum jump and timezone -->
<br>
<!-- icon key -->
<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr background="PATH TO MY TABLE IMAGE">
<td colspan="5" align="center"><smallfont>$timezone</smallfont></td>
</tr>
<tr><td rowspan="2" width="50%"> </td>
<td nowrap><smallfont><img src="{imagesfolder}/newfolder.gif" border="0" alt="New Posts"> <b>New posts</b> </smallfont></td>
<td nowrap><smallfont>( <img src="{imagesfolder}/newhotfolder.gif" border=0 alt="Hot Thread"> <b>More than $hotnumberposts replies or $hotnumberviews views</b> ) </smallfont></td>
<td nowrap><smallfont><img src="{imagesfolder}/lockfolder.gif" border="0" alt="Closed Thread"> <b>Closed thread</b></smallfont></td>
</tr>
<tr>
<td nowrap><smallfont><img src="{imagesfolder}/folder.gif" border="0" alt="No New Posts"> <b>No new posts</b> </smallfont></td>
<td nowrap colspan="2"><smallfont>( <img src="{imagesfolder}/hotfolder.gif" border=0 alt="Hot Thread"> <b>More than $hotnumberposts replies or $hotnumberviews views</b> ) </smallfont></td>
<td rowspan="2" width="50%"> </td></tr>
</table>
<!-- /icon key -->
<br>
<!-- forum rules and admin options -->
<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr valign="bottom">
<td><smallfont><b>Forum Rules:</b>$forumrules</smallfont></td>
<td align="right">$adminoptions</td>
</tr>
</table>
<!-- /forum rules and admin options -->
$footer
</body>
</html>
PHP Code:
<!-- icon key -->
<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr background="PATH TO MY TABLE IMAGE">
I realize Im a total moron so if once again if someone can point me to the right direction I'd be most grateful. Thanks!
Comment