· Chris Hammond
Last Updated

Community Server 1.1 Latest Posts control

Learn how to enhance your website with a custom forum posts control by downloading and implementing this convenient tool on SCCAForums.com. #webdevelopment #controls

Learn how to enhance your website with a custom forum posts control by downloading and implementing this convenient tool on SCCAForums.com. #webdevelopment #controls

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"/>

Back to Blog

Related Posts

View All Posts »
Community Server Tweaks, Latest Posts

Community Server Tweaks, Latest Posts

Learn how to enhance your Community Server site user experience with smart tweaks like displaying last post author and linking directly to the latest post in this guide. Make your forum more engaging!

HTTP Compression for IIS 6.0

HTTP Compression for IIS 6.0

Learn how to set up HTTP Compression on IIS 6 to boost website performance. Find out if the difference is truly noticeable after enabling compression!

Excellent Programmer!

Excellent Programmer!

Looking for an excellent programmer with mad skills? Look no further! Find out more about our exceptional developer here. #programming #techtalent