March 2006 - Posts

DNN4 at TechEd 2006 BOF Session
Wednesday, March 29, 2006 2:15 PM

There's only a few days left to vote for the DNN BOF Session at TechEd 2006. Be sure to get your votes in!

https://www.msteched.com/cfp/bofvoting.aspx

RSS for Ebay Searches
Monday, March 20, 2006 7:57 PM

I was just thinking the other day that I wish Ebay had RSS support for their searches!

Good news!

http://www2.ebay.com/aw/core/200603.shtml#2006-03-20091242

 

by Chris Hammond | with no comments
Filed under: ,
On my way to Mix it up for 06
Monday, March 20, 2006 12:39 PM

I'm off to go mix it up today! Am I going to Mix 06? No, not hardly. I'm heading out in a few minutes to go get all of my safety equipment for my road racing school this weekend. I have to pick up my driver's suit, gloves, underwear, socks, balaclava, and everything else required to keep me from burning alive in case of an accident!

Would I like to be at Mix 06? Sure, but we had way too much going on at work to take off the week and head out to Vegas, though that would have been a cool work getaway!

by Chris Hammond | with no comments
Filed under: , ,
Community Server Tweaks, Latest Posts
Thursday, March 16, 2006 7:57 PM

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.

More Posts

This Blog

Syndication