It's a great hack.
Style improvement. Replace the
threadoftheday template with:
HTML Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onClick="return toggle_collapse('forumhome_threadoftheday')"><img id="collapseimg_forumhome_threadoftheday" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_threadoftheday].gif" alt="" border="0" /></a>
Top Thread of the Day
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_threadoftheday" style="$vbcollapse[collapseobj_forumhome_threadoftheday]">
<tr>
<td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_link.gif" alt="Top Thread of the Day" border="0" /></td>
<td class="alt1" colspan="0"><div class="smallfont">
<table class="alt1" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td><img src="image.php?$session[sessionurl]u=$tday[postuserid]" height="100"></td>
<td>
<span class="smallfont"><b>Top Thread of the Day:</b> <a target="_top" href="showthread.php?$session[sessionurl]t=$tday[threadid]">$tday[title]</a><br/><br/>
<b>Posted by:</b> <a href="member.php?$session[sessionurl]u=$tday[postuserid]">$tday[postusername]</a><br/>
<b>Posted on:</b> $tday[dateline]<br/><br/>
<b>Preview:</b> $tday[pagetext]</span>
</td>
</tr>
</table>
</div></td>
</tr>
</tbody>
</table>
<br/>
This controls the size of the avatar, by the way:
HTML Code:
<img src="image.php?$session[sessionurl]u=$tday[postuserid]" height="100">
Replace
height="100" with the pixel height you want.
@Kentaurus: Can one actually get this thing somehow to parse URLs and smilies?
I agree that a possibility to select the thread of the day would be a good addition.