Very odd. You can see a quick install of just the usercomments snippet in action here.
http://www.sottwell.com/php/
The snippet call:
[!UserComments?
&displaytpl=`CommentDisplay`
&formtpl=`CommentForm`
&postcss=`uc_post`
&titlecss=`uc_title`
&codecss=`uc_code`
&numbercss=`uc_number`
&altrowcss=`uc_altrow`
&authorcss=`uc_author`
&ownercss=`uc_owner`
¬ify=`[email protected]`!]
The display template:
[+UID:[+uid+]+]<div[+postclass+]>
<div[+numberclass+]>
[+postnumber+]
</div>
<div[+titleclass+]>
<strong>[+subject+]</strong><br />
<span>By [+commentname+] On [+createdon+]</span>
</div>
<div class="uc_content">
[+comment+]
</div>
</div>
The relevant CSS:
/***** Comments *****/
.uc_form{
border-top:2px solid #666699;
margin-top:2em;
}
#commentform fieldset{
border:1px solid #c0c0c0;
background-color:#fafbfc;
color:#505050;
padding:10px;
}
.uc_post{
margin-top:1em;
}
.uc_title{
}
.uc_code{
}
.uc_number{
background:#e8eaec;
color:#666699;
text-align:right;
padding-right:5px;
}
.uc_content{
margin-top:1em;
}
.uc_altrow{
}
.uc_author{
}
.uc_owner{
}
-
- 34 Posts
I see that you have more fields on the comment form, like Name and email and such. How can i get that? I only get the standard Subject & Comment, when usnig the code above. I guess i need the `CommentForm` chunk? Anything else?