openSourceC.org
Open source C/C++/C# site dedicated to the .NET platform

Browse by Tags

Blog Watch

Syndication

News

  • No news, is good news.
  • Now Available: Customization Guide for the Telligent Evolution Platform 5.5

    The updated version of the Customization Guide for the Telligent Evolution Platform for version 5.5 is now available.  It outlines the changes made to theme and widget support in 5.5 as well as guidelines on how to use new features to implement customizations Read More......( read more ) Read More...
  • Using JQuery to supplement CSS inadequacies

    The technical depth of this post is about as lightweight as it can be, but the subject is interesting because it represents a new level of controlling page layout with JQuery.  The use of "CSS inadequacies" in the post subject is a little misleading, as I'm also considering the inadequacies of the developer's CSS chops.  That would be me. The situation was that I was placing a paging control at the right-side of a page. Everything was jake until the last page when the...
  • Today's Community Server Favorites - by Post and Section

    I'm Day One into a new client project updating a customized CS2008 site to CS2008.5 SP2.  It's interesting what unanticipated issues you encounter when upgrading a working site.  Today it was the display of User Favorites by "Post" and "Section," two criteria that don't exist anymore. In CS2008, separate favorite lists were achieved with a UserData FavoritesShared property of type FavoriteType - Post, Section, None or User.  The FavoriteType enum still...
  • Converting Community Server Comments into Customer Reviews

    This Community Server mod was too much fun not to blog about. Blog Post Comments as Customer Reviews. We all know that users can rate a post, but displaying an individual star rating per "comment" is not something you see every day. This is what we're talking about. Here's the skinny on converting comments into customer reviews. The rating widget used in the comment form is the Ajax Toolkit Rating Control. Custom WeblogPostCommentForm coolness was in adding the AjaxControlToolkit...
  • Styling individual Community Server sidebar widgets

    I do so much weird stuff in Community Server, like today when I needed to style selected sidebar widgets different from others.  Sidebar CS Widgets share the same CSS classes in a single ContentFragmentList control <LeaderTemplate />, like so.   <CSControl:ContentFragmentList runat="server" Property="WikiWidgets"> <ItemTemplate>     <CSControl:ContentFragment runat="server">         <LeaderTemplate>...
  • Email Considerations with Community Server Single Sign-On

    I had to add this fix for a new Community Server site launch this fine Super Bowl Sunday so I thought I might as well blog about it. It's also an important issue when using Community Server Single Sign-On. Single Sign-On automatically creates new user accounts in a Community Server community with the primary membership stored in another application and data source, typically a parent ASPNET site. This works great, but emails are created as [username] + @localhost.com, or daveburke@localhost.com...
  • CS Nuglet: Centering a variable item Navigation Menu by role

    This is a pretty simplistic nuglet, but I went about my business for two days living with a non-centered navigation menu until this simple fix presented itself. The issue is one most of us encounter: Anonymous users see 4 menu items in their Navigation List, Registered Users see 5. This is usually not an issue unless we need to center it on the page. CSS-wise we use an Outer Div at 100% width, then place the Navigation List in an Inner Div of a set width using auto margins. The problem is specifying...
  • CS Nuglet: Determining first forum thread post for custom UI display

    I needed to display a graphic under the user avatar on the first forum thread post today and found it to be an interesting little task. Essentially I took an approach similar to highlighting an author's comment in CS2008.5, which I always thought was pretty slick. You'll find that on …/hawaii/post.aspx. Look for IsAuthor(). For our purposes of displaying a graphic in the first forum thread post under the user avatar, we add a Conditional Content control with a custom IsFirstPost() method...
  • CS Nuglet: Flexible Editor Type Selection by function

    Community Server supports three versions of the site editor. The editor is used throughout the site for functions that vary from managing a user's Bio to entering Forum and Blog posts. The three editor versions are Plain Text (no HTML), Standard (HTML), and Enhanced (more HTML widgets.) The editor used on the site is defined in the communityserver.config file <Editor /> area where the three are listed with one designated as default. Each user can also set their editor of choice in their...
  • Drive v1.0.4 with SubForms Support now Available

    I’m looking forward to the day when I’ll be announcing new releases of my Drive CodeSmith template library to generate custom code for Sueetie, but while I’m still doing a lot of Community Server stuff I will continue to release updates to Drive for CS development. Version 1.0.4 has support for creating Chameleon SubForms. I also made a number of modifications to the Form templates to reduce keystrokes. Drive is available at http://driveframework.com . Template updates - Removed SourceTable requirement...
  • Drive in Motion: Handling Data Object Changes

    We've all been there. We add a field to a SQL Table because our business object needs a new property, which means we have to change the business object and include the new property or properties in the various processes where the object is being populated or created. I was in this situation today with a Community Server project. I used Drive to do the job and took a few snapshots along the way to provide a pictorial record of how the CodeSmith templates in Drive knock out everyday Community Server...
  • Drive Digs Deeper into the CS Framework

    This is one of those monkey-on-my-back posts that I need to write before we can get back to regularly scheduled dbvt.com programming. I've been using the Drive code generation templates more and more. I've been adding new templates to the library as well, releasing v1.0.3 over the weekend. The new release includes a new template that creates a Community Server Module. CSModules are functions that are triggered by Community Server global events, like when a new user is created or post updated...
  • CS Nuglet: Disabling "Are you sure???" alert with Blog Editor

    The Community Server blog edit page, PostEdit.aspx derives from BaseBlogPage.cs, which derives from PanelPage.cs, which derives from CSConfirmationPage.cs, which is where we enjoy the popup "Are you sure you want to leave this page???" if you click anything but the edit buttons to conclude your association with the PostEdit page. While normally I don't have a problem with "Are you sure???" on the CS PostEdit page, I'm repurposing it on one of my Community Server projects...
  • My Favorite New Community Server 2008.5 SP1 Feature

    I inadvertently blogged about this new CS2008.5 SP1 feature last week after encountering an error using the post editor's Insert Media selector. As I described in that post, the fix was adding theme.config information to support the new media handling properties. This function should probably fall in the category of "it's the small things...", but it can be very useful in managing the display of images on your community site. There's a lot of intelligence behind the scenes in...
  • Moving from DBVT-Think to DRIVE-Think

    Any of you who go back with me are very accustomed to seeing "DBVT" code samples, like when I posted about CSTiers, an early version of what would become the Drive Template Library for Community Server. DBVTUser user = DBVTContext.Current.DBVTUser; if (user.IsInBillingGroup) do something... or DBVTConfiguration dbvtConfig = DBVTConfiguration.GetConfig(); image.ImageUrl = Globals.ApplicationPath + "/images/" + dbvtConfig.UploadImageFileName; When I decided to package my CodeSmith...
  • End of Week Community Server Riff for November 15, 2008

    Overall a good week was had by all. Enjoyed some new client contacts, both Community Server and non-CS. I'll talk about the client contacts first. Interestingly, both CS gigs involved upgrades from CS2008 to CS2008.5, and both sites were based on my favorite theme, Lean and Green. This theme, of course, no longer exists in CS2008.5, adding some additional overhead to the projects. One of the companies told me how they were already steamed about the CS2008.5 license increase (surprise), so the...
  • CS Nuglet: App query string change in CS2008.5 SP1 Mediagalleries

    Upgrading a customized Community Server site is always a real pain-in-the-ass an exciting adventure, because you never know where you'll find a new reaming opportunity to learn something new! The client sites I upgraded from CS2008.5 to CS2008.5 SP1 today were only moderately customized. They did contain several original pages and custom Chameleon controls that require knowledge of their context, like all Chameleon controls do. If the control doesn't know its context you get something ugly...
  • CS Nuglet: Fix for given key not present in the dictionary error

    I updated five Community Server 2008.5 sites to SP1 this morning and everything went pretty smoothly. Fortunately I'd done it a bunch of times before. I did encounter a weird "Fix for given key not present in the dictionary error" when I tested the editor's Insert Media function on a custom blog theme. The popup window displayed the Oops-masked "Fix for given key not present" exception and not the insert media form. I've come to like using that little widget, so I...
  • CS Nuglet: Adding a new Location in SiteUrls_Override.config

    The _Override.config architecture in Community Server is a sweet thing, allowing customization of both the CommunityServer.config and SiteUrls.config without touching the source files. Using the XPath Override logic is usually pretty straightforward, but sometimes it can get a little tricky. Today I wanted to create a new SiteUrl location in a SiteUrls_Override.config file, a Nuglet Worthy endeavor because I couldn't find another example of it anywhere. What I mean by "location" is...
  • Introducing Drive, a Rapid Development Framework for Community Server

    I'm excited to announce the release of Drive, a Rapid Development Framework for Community Server. You can learn more about Drive and download the framework at DriveFramework.com. "Rapid Development Framework for Community Server" is a rather high fallutin' description, I know, so what exactly is Drive? Drive is a collection of CodeSmith Templates I created over the last two years doing Freelance Community Server Development. I felt the templates were at a point of completeness that...
  • CS Nuglet: The Return of the Home Page Content Part

    One of the best features of Community Server of Olden Times was the home page Content Part. You might've been clueless about Community Server, but when you loaded up your new community site for the first time and logged in as "admin," it was immediately apparent that you could double-click on the home page and begin the process of making your community site your own. That's a big deal, or at least it was, and it served as a powerful introductory metaphor to Community Server. What...
  • CS Nuglet: Sometimes you need a fresh app pool

    Interesting experience with Community Server background tasks today. In my CS-based Jobs Management Application I have a number of background tasks running all the time, one of which is a data import task that pulls in data from a number of Access databases. There's a description and screenpic on this post. This task normally takes only a few seconds to execute, but mid-morning the task began taking over 3 minutes! Without the background task monitoring I added to this process I never would have...
  • End of Week Community Server Riff for October 5, 2008

    Somewhat of an abbreviated Community Server work week, having gone Vermont leaf peeping with my wife and a friend of ours from out of town last Monday. We drove to Stowe and over Mount Mansfield through Smuggler's Notch on route 108. God, we live in a beautiful place! On the people side, I had two interesting New Client Encounters this week. One by phone, the other during a consultation at the client's offices. The phone contact was interesting because I don't usually speak to individuals...
  • CS Nuglet: Single User Blog configuration for Community Server 2008

    Configuring Community Server for a single blog has kicked my butt since 2003. (I'm going back an extra year because it kicked my butt in .Text, too.) I was configuring a new site for a single blog late last night--I thought Saturday Night Community Server geeking was a thing of the past, but I'm working on a special project I'll tell you more about soon--and found myself scanning communityserver.com and some of my client site configs for re-enlightenment. If you search the Community Server...
  • CS Nuglet: Taming the 2008.5 Blog Post Excerpt

    If you go with excerpts on a Community Server 2008.5 blog, they may look funky and you may wonder why. Wonder no more, because CS2008.5 excerpts are now in HTML format. I would think this has to be an oversight in CS2008.5, but haven't seen anything official about it either way. Up to and including CS2008, excerpts were stored in plain text. Don't believe me? Here are excerpt edit controls for CS2007, CS2008 and CS2008.5. Excerpts continue to be stored as a PropertyValue in cs_posts, and...
1 2 3 4 5 Next > ... Last »
   
Copyright © 2006-2010 WGB Enterprises
Powered by Community Server (Commercial Edition), by Telligent Systems