Adding FormShield to the blog comments area of Community Server 2007 is fairly straightforward.
Brief instructions are below, I've also uploaded a copy of the 'post.aspx' and 'web.config' files showing these changes to here.
1. Download the 'web.config' file for the site and add the following before <connectionStrings ... />:
<appSettings>
<
add key="formShield_SecretKey" value="!--FormShield--!" />
</appSettings>
2. Also in the 'web.config' file, add the following in the <httpHandlers ... /> area:
<
add verb="GET" path="FormShield.aspx" type="dotNetFreak.WebControls.FormShieldHttpHandler, dotNetFreak.WebControls.FormShield" />
3. Copy the 'dotNetFreak.WebControls.FormShield.dll' and 'dotNetFreak.WebControls.FormShield.BritishMale8kHz8bitMonoWavSoundLibrary.dll' files to the 'bin' directory.
4. Download the 'post.aspx' file for the theme you are using - e.g. '/Themes/Blogs/default/post.aspx'.
5. At the top of the file underneath '<% Page Language="C#" ... /> add:
<%@ Register Assembly="dotNetFreak.WebControls.FormShield" Namespace="dotNetFreak.WebControls" TagPrefix="dnf" %>
6. Scroll down in the file until you see:
<div class="CommonFormField" id="Remember" runat="server">
<asp:CheckBox id="chkRemember" runat="server" Text="Remember Me?" />
</div>
Then add the following directly beneath it:
<div>
<br />
<dnf:FormShield ID="FormShield1" runat="server" HttpHandlerPath="/FormShield.aspx" PersistenceMethod="ControlState">
<RefreshIcon AlternateText="Refresh" />
<SoundIcon AlternateText="Listen" />
<HelpIcon AlternateText="Please enter the characters shown on the image" />
</dnf:FormShield>
<br /><br />
Code: <asp:TextBox ID="TextBox1" width="208px" runat="server" />
<br /><br />
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1" ErrorMessage="Please enter the code." Display="Dynamic" ValidationGroup="CreateCommentForm" />
<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="FormShield1" ControlToValidate="TextBox1" EnableClientScript="False" ErrorMessage="Invalid code entered." Display="Dynamic" ValidationGroup="CreateCommentForm" />
<br />
</div>
7. Save and upload the files and you are done!