Tagged Posts

Community Server can be a pretty powerful tool if you take your time to setup a decent site for your users. Here are a few tweaks I've made to SCCAForums.com to make it a bit more user friendly. On the home page there are sections for active, unanswer, and my posts(if logged in). These controls don't provide much information to the user though, by default only a link and portion of the subject of a forum post. On SCCA Forums I've setup the controls to display the user who made the last post, link directly to the last post rather than the first post, and also display and link to the particular forum that the post was made in. To do this you need to add the following script to your default.aspx page. <script language="C#" runat="server">  int getPageNumber(int replies) {  int page = 1;  if (replies > 14)   {   page = 1 + replies /15;  }   return page; }</script> You also need to change the ItemTemplate section of the ThreadRepeater controls to look like the following <ItemTemplate>        <div class="CommonSidebarContentItem">    <strong><a href="<%# ForumUrls.Instance().PostPaged((int) DataBinder.Eval(Container.DataItem, "MostRecentPostID"), getPageNumber((int)DataBinder.Eval(Container.DataItem, "replies")))%>"><%# DataBinder.Eval(Container.DataItem, "Subject").ToString() %></a></strong>    - <%# DataBinder.Eval(Container.DataItem, "MostRecentPostAuthor") %>    (<a href="<%# ForumUrls.Instance().Forum( ((Thread) Container.DataItem).SectionID ) %>"><%# DataBinder.Eval(Container.DataItem, "Forum.Name") %></a>)        </div></ItemTemplate>     More tweaks to come....
I just went through and enabled HTTP Compression for the server that ChrisHammond.com, Solo2.org, and various other websites run on. Now, I can't tell if the difference is noticable, or if I just think it's noticable? hmmm Followed the instructions in this article for setting up HTTP Compression on IIS...
I implemented a version of Google Maps with SCCAForums.com, which runs on the CommunityServer platform. If any businesses are interested in this coalition of two products please contact me for further information. I'm readily available for consulting work for...
Last night I launched a new feature on SCCAForums.com. Our recently launched Mapping System uses Google Maps functionality to allow SCCAForums.com Registerd users to plot points on our map, allowing users to see who is located near them, or in other parts of the country. Check out the Maps page for more features! We're sure this new system will generate some questions and we've tried to answer a few of them here, we'll add to that list over the next few days. If you have further questions please post in our Questions and Suggestions forum. http://sccaforums.com/maps/...
Google even tells me so! http://www.google.com/search?hl=en&q=excellent+programmer <--currently 5th on the search results for excellent programmer. I will be number one, I will be the most excellent programmer of them...

Excellent Programmer!

Chris Hammond
Are you looking for an Excellent Programmer? You've found him! If you're looking for mad programming skills from an excellent person, you've come to the right place! (inside...

My good friend Chad

Chris Hammond
Well, as you may have seen in my previous post, my good buddy Chad Hobson was razzed a little about his lame website, www.chadhobson.com. His response to my razzing was to throw up a little picture, and make a few text changes. Though he's still yet to provide anything functional on his website, he has called me a god, to which I am...
So I needed to modify the way the controls on the right of the homepage were showing up. So they linked to the latest post, showed the author, and the forum that they were posted in. Here's how I did it for www.sccaforums.com, which is using 2.0 Near the top of your default.aspx page add int getPageNumber(int replies) { int page = 1; if (replies > 15) { page = 1 + replies /15; } return page; } int getPageNumber(int replies) { int page = 1; if (replies > 15) { page = 1 + replies /15; } return page; } <script language="C#" runat="server">  int getPageNumber(int replies) {  int page = 1;  if (replies > 15)   {   page = 1 + replies /15;  }   return page; }</script> And then on the controls use the following to display all the information I was looking for. Just after       <ItemTemplate>       <div class="CommonSidebarContentItem"> insert <strong><a href="<%# ForumUrls.Instance().PostPaged((int) DataBinder.Eval(Container.DataItem, "MostRecentPostID"), getPageNumber((int)DataBinder.Eval(Container.DataItem, "replies")))%>"><%# DataBinder.Eval(Container.DataItem, "Subject").ToString() %></a></strong>- <strong><%# DataBinder.Eval(Container.DataItem, "MostRecentPostAuthor") %></strong><br><a href="<%# ForumUrls.Instance().Forum( ((Thread) Container.DataItem).SectionID ) %>"><%# DataBinder.Eval(Container.DataItem, "Forum.Name") %> </a> This is all pretty similiar to the "latest post control" I released for 1.1, but some of the functions changed locations so that control no longer works without...

Solo2.org Updated

Chris Hammond
I successfully upgraded Solo2.org last night/this morning to run on Community Server Now to skin the site so it's "original" and get some of the little kinks worked...

Update in progress

Chris Hammond
I decided today was the day to Upgrade Solo2.org. I'm upgrading the software to run on CommunityServer 2.0 Beta 1. Here's to hoping the beta is at least semi stable! I've got all of the posts up through 9am downloaded and imported into a DB, now I'm working on converting them into a good CS format so I can get the site up and running tonight. I'm converting from a DNN/Ubb.Classic website to run Solo2.org fully out of...
Thanks to Jakob for letting me know I forgot to transfer over the downloads folder from the old website to the new! You should be able to download my CS Controls...
So I finally converted ChrisHammond.com from .Text and nGallery to the latest released version of CommunityServer. It didn't go over without a few hitches. The biggest problem I had was that the old links wouldn't work for the website, so all of the previously indexed pages for the website would be invalid, I'll document how I upgraded, and what I did to fix the issues in this thread, it's a work in progress. Setup a blank CS 1.0 database and installation site. Use the DotText to CommunityServer conversion tool Create a new Gallery in CommunityServer for the following step. Use the nGallery to CommunityServer Conversion tool. Upgraded from CS1.0 to CS1.1 Used the siteUrl configuration tool from Ken. I setup single site with a single blog in the /blogs/ URL and multiple galleries. Modified the siteurl.config file. I had to add the following lines to the siteurl.config file to get the old archive links working properly.  <url name = "oldweblogIndividualRss" location = "common" path="rss.aspx" pattern="rss.aspx" vanity="/blogs/rss.aspx?App=christoc" /> <url name = "oldweblogday"   location = "common" path="/archive/{1}/{2}/{3}.aspx" pattern="archive/(\d{4})/(\d{1,2})/(\d{1,2})\.aspx" vanity="/blogs/day.aspx?App=christoc&amp;y=$1&amp;m=$2&amp;d=$3" /> <url name = "oldweblogmonth" location = "common" path="/archive/{1}/{2}.aspx"     pattern="archive/(\d{4})/(\d{1,2})\.aspx" vanity="/blogs/month.aspx?App=christoc&amp;y=$1&amp;m=$2&amp;d=1" /> <url name = "oldweblogpostId" location = "common" path="/archive/{1}/{2}/{3}/{4}.aspx" pattern="archive/(\d{4})/(\d{1,2})/(\d{1,2})/(\d+)\.aspx" vanity="/blogs/post.aspx?App=christoc&amp;y=$1&amp;m=$2&amp;d=$3&amp;PostID=$4" /> <url name = "oldweblogpostcategory" location = "common" path="/archive/category/{1}.aspx" pattern="archive/category/(\d+)\.aspx" vanity="/blogs/postcategory.aspx?App=christoc&amp;CT=BlogPost&amp;CategoryID=$1" /> <url name = "oldweblogarticlecategory" location = "common" path="/articles/category/{1}.aspx" pattern="articles/category/(\d+)\.aspx" vanity="/blogs/articlecategory.aspx?App=christoc&amp;CT=BlogArticle&amp;CategoryID=$1"...
I've released the latest version of the CJHControls for Community Server 1.1. You can download the package here. This release is upgraded to run on CS 1.1, and includes the following functionality. Forum Quick Reply, allowing registered users to post replies to forum threads without having to go to a seperate reply page. RSS Display, allowing site administrators the ability to display internal, or external RSS Feeds on their web pages, with XSL formatting. You can download the latest controls here. Any questions or comments can be posted...

Yet another blog

Chris Hammond
I've got another blog to add to my list. My work blog. Nothing interesting there yet, but soon...
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"...
I've released the first version of the CjhControls for CommunityServer 1.1. You can download the Zip file from here. This first release just has the Cjh:RssWriter writer control included. I'll have another release next week with a few more options on board. Check out the readme file for instructions on how to use the control. Cjh:RssWriter allows you to place a control on a page that will read an RSS feed and an XML Transformation file and then display the RSS feed on the page based on the transformation...
I've successfully converted a Ubb.Classic web site to the new CommunityServer software from Telligent systems. If you are looking to go along the same conversion path, contact me, I'd be more than willing to estimate what it would cost for me to convert your Ubb.Classic web site to...
RSS URL

Chris Hammond is a father, husband, leader, developer and car guy. Chris has long specialized in ASP.NET and DotNetNuke development, so you will find a variety of topics here on the website. For more information check out the about me page.

If you are looking for DotNetNuke consulting please visit my business website at https://www.christoc.com/