I took the latest forum posts control from Christian Nordbakk and turned it into a control to use on SCCAForums.com
The differences are that my control
- displays the latest post made
- links to the last post made instead of the first
- shows the user who made the last post
- shows the forum the post was made in
You can change some of the settings for this control such as the number of posts returned, by looking at the GetThreads() method in the code.
If you want to use this control please feel free to do so. You'll need to download the control here (rename it from latestforumsposts.txt to latestforumposts.ascx) and place it in the root of your CS folder, eventually I'll get around to making this control part of my CJHControls package, but for now you can just use it as is. It won't work in the themes/default/skins/ folder without some further changes.
To put it on your main page you need to add the following to the top of your default.aspx file
<%@ Register TagPrefix="LatestForumPostsControl" TagName="LatestForumPosts" SRC="LatestForumPosts.ascx" %>
and then add this line to the page
<LatestForumPostsControl:LatestForumPosts Runat="Server" ID="Latestforumposts1" NAME="Latestforumposts1"/>