Ive done that, with the specs and still do not get smilies into my comments. I dont know why.
Here is a screen shot of how I have my Specs:
Specs Screen ShotThis is my Comment Listing Template:
CODE
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<$MTPublishCharset$>" />
<title><$MTBlogName$>: Comment on <$MTEntryTitle$></title>
<link rel="stylesheet" href="<$MTBlogURL$>styles-site.css" type="text/css" />
<script type="text/javascript" language="javascript">
<!--
var HOST = '<$MTBlogHost$>';
// Copyright (c) 1996-1997 Athenia Associates.
// http://www.webreference.com/js/
// License is granted if and only if this entire
// copyright notice is included. By Tomer Shiran.
function setCookie (name, value, expires, path, domain, secure) {
var curCookie = name + "=" + escape(value) + ((expires) ? "; expires=" + expires.toGMTString() : "") + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : "");
document.cookie = curCookie;
}
function getCookie (name) {
var prefix = name + '=';
var c = document.cookie;
var nullstring = '';
var cookieStartIndex = c.indexOf(prefix);
if (cookieStartIndex == -1)
return nullstring;
var cookieEndIndex = c.indexOf(";", cookieStartIndex + prefix.length);
if (cookieEndIndex == -1)
cookieEndIndex = c.length;
return unescape(c.substring(cookieStartIndex + prefix.length, cookieEndIndex));
}
function deleteCookie (name, path, domain) {
if (getCookie(name))
document.cookie = name + "=" + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + "; expires=Thu, 01-Jan-70 00:00:01 GMT";
}
function fixDate (date) {
var base = new Date(0);
var skew = base.getTime();
if (skew > 0)
date.setTime(date.getTime() - skew);
}
function rememberMe (f) {
var now = new Date();
fixDate(now);
now.setTime(now.getTime() + 365 * 24 * 60 * 60 * 1000);
setCookie('mtcmtauth', f.author.value, now, '', HOST, '');
setCookie('mtcmtmail', f.email.value, now, '', HOST, '');
setCookie('mtcmthome', f.url.value, now, '', HOST, '');
}
function forgetMe (f) {
deleteCookie('mtcmtmail', '', HOST);
deleteCookie('mtcmthome', '', HOST);
deleteCookie('mtcmtauth', '', HOST);
f.email.value = '';
f.author.value = '';
f.url.value = '';
}
function insertSmilies (v) {
document.forms[0].elements[4].focus();
document.selection.createRange().text = v;}
//-->
</script>
</head>
<body>
<div id="banner-commentspop">
<$MTBlogName$>
</div>
<div class="blog">
<div class="comments-head">Comments: <$MTEntryTitle$></div>
<MTComments>
<div class="comments-body">
<$MTCommentBody$>
<span class="comments-post">Posted by <$MTCommentAuthorLink spam_protect="1"$> at <$MTCommentDate$></span>
</div>
</MTComments>
<MTEntryIfCommentsOpen>
<div class="comments-head">Post a comment</div>
<div class="comments-body">
<form method="post" action="<$MTCGIPath$><$MTCommentScript$>" name="comments_form" onsubmit="if (this.bakecookie[0].checked) rememberMe(this)">
<input type="hidden" name="entry_id" value="<$MTEntryID$>" />
<div style="width:180px; padding-right:15px; margin-right:15px; float:left; text-align:left; border-right:1px dotted #bbb;">
<label for="author">Name:</label><br />
<input tabindex="1" id="author" name="author" /><br /><br />
<label for="email">Email Address:</label><br />
<input tabindex="2" id="email" name="email" /><br /><br />
<label for="url">URL:</label><br />
<input tabindex="3" id="url" name="url" /><br /><br />
</div>
Remember personal info?<br />
<input type="radio" id="bakecookie" name="bakecookie" /><label for="bakecookie">Yes</label><input type="radio" id="forget" name="bakecookie" onclick="forgetMe(this.form)" value="Forget Info" style="margin-left: 15px;" /><label for="forget">No</label><br style="clear: both;" />
<label for="text"><div class="comments-head">
<table width="98%" border="0">
<tr>
<td width="15%">Comments:</td>
<td width="85%" align="right"><script language="javascript">
if (document.selection) {
document.write('<table border="0" cellspacing="0" cellpadding="1" width="170">');
document.write('<tr>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':computer\')"><img src="http://fused-emotions.com/smilies/computer.gif" alt="computer" width="50" height="20" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':hurl\')"><img src="http://fused-emotions.com/smilies/hurl.gif" alt="biggrin" width="18" height="18" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':music\')"><img src="http://fused-emotions.com/smilies/music.gif" alt="music" width="32" height="25" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':noc\')"><img src="http://fused-emotions.com/smilies/noc.gif" alt="kiss" width="18" height="18" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':redx\')"><img src="http://fused-emotions.com/smilies/redx.gif" alt="lol" width="13" height="13" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':sman\')"><img src="http://fused-emotions.com/smilies/sman.gif" alt="sman" width="21" height="15" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':angry\')"><img src="http://fused-emotions.com/smilies/angry.gif" alt="sad" width="15" height="15" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':sad\')"><img src="http://fused-emotions.com/smilies/sad.gif" alt="sad" width="15" height="15" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':smile\')"><img src="http://fused-emotions.com/smilies/smile.gif" alt="smile" width="15" height="15" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':cheesy\')"><img src="http://fused-emotions.com/smilies/cheesy.gif" alt="cheesy" width="15" height="15" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':cool\')"><img src="http://fused-emotions.com/smilies/cool.gif" alt="cool" width="15" height="15" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':cry\')"><img src="http://fused-emotions.com/smilies/cry.gif" alt="cry" width="15" height="15" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':embarassed\')"><img src="http://fused-emotions.com/smilies/embarassed.gif" alt="embarassed" width="15" height="15" border="0"></a>
document.write('<td width="24"><a href="javascript:insertSmilies(\':grin\')"><img src="http://fused-emotions.com/smilies/grin.gif" alt="grin" width="15" height="15" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':huh\')"><img src="http://fused-emotions.com/smilies/huh.gif" alt="huh" width="15" height="15" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':kiss\')"><img src="http://fused-emotions.com/smilies/kiss.gif" alt="kiss" width="15" height="15" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':lipsrsealed\')"><img src="http://fused-emotions.com/smilies/lipsrsealed.gif" alt="lipsrsealed" width="15" height="15" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':rolleyes\')"><img src="http://fused-emotions.com/smilies/rolleyes.gif" alt="rolleyes" width="15" height="15" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':shocked\')"><img src="http://fused-emotions.com/smilies/shocked.gif" alt="shocked" width="15" height="15" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':tongue\')"><img src="http://fused-emotions.com/smilies/tongue.gif" alt="tongue" width="15" height="15" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':undecided\')"><img src="http://fused-emotions.com/smilies/undecided.gif" alt="undecided" width="15" height="15" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':wink\')"><img src="http://fused-emotions.com/smilies/wink.gif" alt="wink" width="15" height="15" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':tstone\')"><img src="http://fused-emotions.com/smilies/tstone.gif" alt="tstone" width="15" height="15" border="0"></a></td>');
document.write('</tr>');
document.write('</table>');
} else {
document.write(' ');
}
</script></td>
</tr>
</table>
</div>
<br />
<textarea tabindex="4" id="text" name="text" rows="10" cols="50"></textarea><br /><br />
<input type="button" onclick="window.close()" value=" Cancel " />
<input type="submit" name="preview" value=" Preview " />
<input style="font-weight: bold;" type="submit" name="post" value=" Post " /><br /><br />
</form>
<script type="text/javascript" language="javascript">
<!--
document.comments_form.email.value = getCookie("mtcmtmail");
document.comments_form.author.value = getCookie("mtcmtauth");
document.comments_form.url.value = getCookie("mtcmthome");
if (getCookie("mtcmtauth")) {
document.comments_form.bakecookie[0].checked = true;
} else {
document.comments_form.bakecookie[1].checked = true;
}
//-->
</script>
</div>
</MTEntryIfCommentsOpen>
</div>
</body>
</html>
This is my Comment Preview Template:
CODE
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<$MTPublishCharset$>" />
<script type="text/javascript" language="javascript"><!--
function insertSmilies (v) { document.forms[0].elements[5].focus(); document.selection.createRange().text = v;}
//-->
</script>
<title><$MTBlogName$>: Comment Preview</title>
<link rel="stylesheet" href="<$MTBlogURL$>styles-site.css" type="text/css" />
</head>
<body>
<div id="banner-commentspop">
<$MTBlogName$>
</div>
<div class="blog">
<div class="comments-head">Previewing your Comment</div>
<div class="comments-body">
<$MTCommentPreviewBody$>
<span class="comments-post">Posted by <$MTCommentPreviewAuthorLink spam_protect="1"$> at <$MTCommentPreviewDate$></span>
</div>
<div class="comments-body">
<form method="post" action="<$MTCGIPath$><$MTCommentScript$>">
<input type="hidden" name="entry_id" value="<$MTEntryID$>" />
<input type="hidden" name="static" value="<$MTCommentPreviewIsStatic$>" />
<label for="author">Name:</label><br />
<input id="author" name="author" value="<$MTCommentPreviewAuthor encode_html="1"$>" /><br /><br />
<label for="email">Email Address:</label><br />
<input id="email" name="email" value="<$MTCommentPreviewEmail encode_html="1"$>" /><br /><br />
<label for="url">URL:</label><br />
<input id="url" name="url" value="<$MTCommentPreviewURL encode_html="1"$>" /><br /><br />
<label for="text"><div class="comments-head">
<table width="98%" border="0">
<tr>
<td width="15%">Comments:</td>
<td width="85%" align="right"><script language="javascript">
if (document.selection) {
document.write('<table border="0" cellspacing="0" cellpadding="1" width="170">');
document.write('<tr>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':computer\')"><img src="http://fused-emotions.com/smilies/computer.gif" alt="computer" width="50" height="20" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':hurl\')"><img src="http://fused-emotions.com/smilies/hurl.gif" alt="biggrin" width="18" height="18" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':music\')"><img src="http://fused-emotions.com/smilies/music.gif" alt="music" width="32" height="25" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':noc\')"><img src="http://fused-emotions.com/smilies/noc.gif" alt="kiss" width="18" height="18" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':redx\')"><img src="http://fused-emotions.com/smilies/redx.gif" alt="lol" width="13" height="13" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':sman\')"><img src="http://fused-emotions.com/smilies/sman.gif" alt="sman" width="21" height="15" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':angry\')"><img src="http://fused-emotions.com/smilies/angry.gif" alt="sad" width="15" height="15" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':sad\')"><img src="http://fused-emotions.com/smilies/sad.gif" alt="sad" width="15" height="15" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':smile\')"><img src="http://fused-emotions.com/smilies/smile.gif" alt="smile" width="15" height="15" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':cheesy\')"><img src="http://fused-emotions.com/smilies/cheesy.gif" alt="cheesy" width="15" height="15" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':cool\')"><img src="http://fused-emotions.com/smilies/cool.gif" alt="cool" width="15" height="15" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':cry\')"><img src="http://fused-emotions.com/smilies/cry.gif" alt="cry" width="15" height="15" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':embarassed\')"><img src="http://fused-emotions.com/smilies/embarassed.gif" alt="embarassed" width="15" height="15" border="0"></a>
document.write('<td width="24"><a href="javascript:insertSmilies(\':grin\')"><img src="http://fused-emotions.com/smilies/grin.gif" alt="grin" width="15" height="15" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':huh\')"><img src="http://fused-emotions.com/smilies/huh.gif" alt="huh" width="15" height="15" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':kiss\')"><img src="http://fused-emotions.com/smilies/kiss.gif" alt="kiss" width="15" height="15" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':lipsrsealed\')"><img src="http://fused-emotions.com/smilies/lipsrsealed.gif" alt="lipsrsealed" width="15" height="15" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':rolleyes\')"><img src="http://fused-emotions.com/smilies/rolleyes.gif" alt="rolleyes" width="15" height="15" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':shocked\')"><img src="http://fused-emotions.com/smilies/shocked.gif" alt="shocked" width="15" height="15" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':tongue\')"><img src="http://fused-emotions.com/smilies/tongue.gif" alt="tongue" width="15" height="15" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':undecided\')"><img src="http://fused-emotions.com/smilies/undecided.gif" alt="undecided" width="15" height="15" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':wink\')"><img src="http://fused-emotions.com/smilies/wink.gif" alt="wink" width="15" height="15" border="0"></a></td>');
document.write('<td width="24"><a href="javascript:insertSmilies(\':tstone\')"><img src="http://fused-emotions.com/smilies/tstone.gif" alt="tstone" width="15" height="15" border="0"></a></td>');
document.write('</tr>');
document.write('</table>');
} else {
document.write(' ');
}
</script></td>
</tr>
</table>
</div>
<br />
<textarea id="text" name="text" rows="10" cols="50"><$MTCommentPreviewBody convert_breaks="0" encode_html="1"$></textarea><br /><br />
<input type="submit" name="preview" value=" Preview " />
<input style="font-weight: bold;" type="submit" name="post" value=" Post " /><br /><br />
</form>
</div>
<div class="comments-head">Previous Comments</div>
<MTComments>
<div class="comments-body">
<$MTCommentBody$>
<span class="comments-post">Posted by <$MTCommentAuthorLink spam_protect="1"$> at <$MTCommentDate$></span>
</div>
</MTComments>
</div>
</body>
</html>