Blog ( Of Ryan Olshan)

Recent Posts

News

About Ryan Olshan

LinkedIn Profile

Follow Ryan via twitter

Join StrongTypes - Free Generics Help By Email
Join StrongTypes

Community Credit Winner

View my MVP profile

The posts on this weblog are provided "as is" with no warranties and confer no rights. The opinions expressed herin are my own personal opinions and do not represent my employer's view in any way.

Subscribe to Rolog via My AOL
Subscribe to Rolog via Bloglines


Subscribe to Rolog via Feedburner

Furl Rolog




Subscribe to Rolog via Newsburst


Subscribe to Rolog via Pluck

Add Rolog to Technorati Favorites




Thycotic Secret Server

Receive Email Updates


.NET Websites

  • => StrongTypes.com <=
  • Community Credit
  • DotNetCharity.com
  • DotNetSlackers
  • EasyListBox
  • LearnAsp.com
  • SystemNetMail.com
  • SystemWebMail.com

Blogroll

  • Alex Campbell
  • Carlos Magalhaes
  • Charles Carroll
  • Chris Taylor
  • Darren Neimke
  • David Betz
  • Eric Smith
  • Rob Caron
  • Rob Howard
  • Sam Gentile
  • Scott Guthrie
  • Scott Mitchell
  • Tess
  • Wesner Moise
  • Jason Alexander
  • Bill Ryan
  • Steve Smith
  • Sahil Malik
  • David Silverlight

Other Websites

  • 911 Pigeon Alert
  • Pacific Wildlife Project

Strong Coder Bloggers

  • Dean Fiala
  • Doug Nelson
  • Kevin Jones

Yahoo! Groups

  • => StrongTypes <=
  • AspNet2
  • AspNet20GridView
  • PayPalDevDotNet
  • RubyOnRails
  • VSTS

Community Server

Site Upgraded to Community Server 2007

Last night, I upgraded this site to Community Server 2007. The upgrade took a while as this site requires changes to the CS codebase and other tweaking. Other than that, the upgrade went OK for the most part and there are a couple of issues to work out. With this upgrade comes three new Community Server downloads:

Community Server 2007 Contact Form Add-On
Community Server 2007 StrongCoders.CSJobs
Community Server 2007 Shipping Blog Skins with Ad Support

The contact form is the one I use on this site, so it also doubles as an advertising inquiry form.

Share this post: | bookmark it! | digg it! | reddit! | kick it! | live it!
Posted: Apr 29 2007, 12:50 PM by Ryan Olshan | with no comments
The Rob Howard Conspiracy

You be the judge. Compare the anonymous image from Community Server to a picture of Rob Howard. It looks like his silhouette.

Share this post: | bookmark it! | digg it! | reddit! | kick it! | live it!
Posted: Feb 04 2007, 11:21 PM by Ryan Olshan | with 5 comment(s)
Filed under: ,
Snap and Community Server

Up until an hour ago, this site was using Snap to render web page previews of images and links that linked to external sites. However, this caused the following JavaScript error when using the roles modal in Control Panel > Administration > Membership > Browse People / Find People.

Line: 63
Char: 7
Error: 'document.forms.0.AssignedValues' is null or not an object
Code: 0

The only workaround was to remove Snap.

Share this post: | bookmark it! | digg it! | reddit! | kick it! | live it!
Posted: Jan 25 2007, 05:47 PM by Ryan Olshan | with 3 comment(s)
Filed under: ,
Community Server 2.1 SP1 Shipping Blog Skins with Ad Support
I've updated the Community Server 2.1 shipping blog skins with ad support for SP1. They can be downloaded here .
Share this post: | bookmark it! | digg it! | reddit! | kick it! | live it!
Posted: Oct 30 2006, 11:42 PM by Ryan Olshan | with 4 comment(s)
Filed under:
StrongCoders.CSJobs

I've created the following Community Server jobs:

BlogActivityNightlyJob - Executes the cs_BlogActivityNightlyJob stored procedure.
UserActivityNightlyJob - Executes the cs_UserActivityNightlyJob stored procedure.

This elimates the need to run those stored procedures as SQL Jobs. You can download StrongCoders.CSJobs here . The download also contains a Control Panel add-in that allows you to manually run the jobs.

Share this post: | bookmark it! | digg it! | reddit! | kick it! | live it!
Posted: Sep 30 2006, 04:58 PM by Ryan Olshan | with no comments
Filed under:
Community Server Contact Form
I've created a simple contact form for Community Server that can be downloaded here . To see it live on this site, click here .
Share this post: | bookmark it! | digg it! | reddit! | kick it! | live it!
Posted: Sep 23 2006, 11:47 PM by Ryan Olshan | with no comments
Filed under:
Tightenting Community Server Control Panel Security

By default, the web.config file of Community Server allows any registered user access to the Control Panel, including Setup.aspx and 2 pages hidden from the Control Panel UI that have functionality. To prevent registered users from accessing these files and the Control Panel, change web.config in /ControlPanel to the below. Before doing so, it's a good idea to create a role called ResourceOwner and assign it to all blog authors and file and photo gallery owners as the below change will not allow any of them access to modify their blogs and photo and file galleries since they aren't in the list of allowed roles that can access the Control Panel.

 

< configuration >

  < system.web >

    < authorization >

      < allow roles = " SystemAdministrator,BlogAdministrator,ForumsAdministrator,Moderator,GalleryAdministrator,FileAdministrator,ReaderAdministrator,MembershipAdministrator,ResourceOwner " />

      < deny users = " * " />

    authorization >

  system.web >

 

  < location path = " settings.aspx " >

    < system.web >

      < authorization >

        < allow roles = " SystemAdministrator " />

        < deny users = " * " />

      authorization >

    system.web >

  location >

 

  < location path = " Setup.aspx " >

    < system.web >

      < authorization >

        < allow roles = " SystemAdministrator,BlogAdministrator,ForumsAdministrator,GalleryAdministrator,FileAdministrator,ReaderAdministrator,MembershipAdministrator " />

        < deny users = " * " />

      authorization >

    system.web >

  location >

 

  < location path = " license.aspx " >

    < system.web >

      < authorization >

        < allow roles = " SystemAdministrator " />

        < deny users = " * " />

      authorization >

    system.web >

  location >

configuration >

Share this post: | bookmark it! | digg it! | reddit! | kick it! | live it!
Posted: Sep 17 2006, 10:14 AM by Ryan Olshan | with 1 comment(s)
Filed under:
Adding Advertisement Support to Community Server Blog Skins

You've probably noticed the ads on my blog. By default, Community Server doesn't have built-in ad support in blog skins. You can easily add it by wrapping AdPart controls around the BodyTemplate control in LayoutTemplate.ascx, which is located in the root of each blog skin folder. The default shipping skins for Community Server 2.1 with top and bottom ad support can be downloaded here .

< CS : AdPart runat ="server" ContentName ="StandardTop">

    < CS : Ads Zone ="StandardTop" runat ="server" />

CS : AdPart >

< CS : BodyTemplate id ="BodyTemplate" runat ="Server" />

< CS : AdPart runat ="server" ContentName ="StandardBottom">

    < CS : Ads Zone ="StandardBottom" runat ="server" />

CS : AdPart >

Share this post: | bookmark it! | digg it! | reddit! | kick it! | live it!
Posted: Aug 11 2006, 11:47 PM by Ryan Olshan | with 1 comment(s)
Filed under:
Site Upgraded to Community Server 2.1 RTM

I just upgraded this site to Community Server 2.1 RTM. The upgrade worked without any issues. If you guys notice any issues, please post in Site Issues .

Share this post: | bookmark it! | digg it! | reddit! | kick it! | live it!
Posted: Aug 09 2006, 06:35 PM by Ryan Olshan | with no comments
Site Upgraded to Community Server 2.1 RC1

I just upgraded this site to Community Server 2.1 RC1. The upgrade worked without any issues. If you guys notice any issues, please post in Site Issues .

Share this post: | bookmark it! | digg it! | reddit! | kick it! | live it!
Posted: Aug 05 2006, 11:06 AM by Ryan Olshan | with no comments
Tweaking Community Server Out of the Box

There's a couple of extra steps I take to tweak Community Server out of the box.

Tweak 1  Go to Control Panel > Administration > Membership > Manage Roles (Manage All Roles in CS 2.1). Add a new role named ResourceOwner and assign it to any user that is the owner of a resource like a blog. By default, Community Server won't show the Control Panel link to any user that's not a moderator or administrator. I use this role to give access to the Control Panel link to users like blog owners. Next, in the navigation section of SiteUrls.config, modify the controlpanel link to include the ResourceOwner role in roles.

< link name = " controlpanel " resourceUrl = " controlpanel " resourceName = " controlpanel " roles = " SystemAdministrator,BlogAdministrator,ForumsAdministrator,Moderator,GalleryAdministrator,FileAdministrator,ReaderAdministrator,MembershipAdministrator,ResourceOwner " />

Tweak 2 By default, the Web.config file in /ControlPanel allows any authenticated user access to the Control Panel. Change Web.config in /ControlPanel to the following:

 

< configuration >

  < system.web >

    < authorization >

      < allow roles = " SystemAdministrator,BlogAdministrator,ForumsAdministrator,Moderator,GalleryAdministrator,FileAdministrator,ReaderAdministrator,MembershipAdministrator,ResourceOwner " />

      < deny users = " * " />

    authorization >

  system.web >

configuration >

Tweak 3 In Community Server 2.1 Beta 1, Beta 2 and RC1, there is no Web.config file in the /ControlPanel/Reporting folder, so any authenticated user can access Reporting. Add a Web.config file to the /ControlPanel/Reporting folder with the following:

< configuration >

  < system.web >

    < authorization >

      < allow roles = " SystemAdministrator,BlogAdministrator,ForumsAdministrator,GalleryAdministrator,ReaderAdministrator,MembershipAdministrator,FileAdministrator " />

      < deny users = " * " />

    authorization >

  system.web >

configuration >

Share this post: | bookmark it! | digg it! | reddit! | kick it! | live it!
Posted: Aug 03 2006, 11:21 AM by Ryan Olshan | with 5 comment(s)
Filed under:
Community Credit Community Server Add-On

Community Credit now has an add-on to submit your points from blog and forum posts from Community Server. Download it here .

Share this post: | bookmark it! | digg it! | reddit! | kick it! | live it!
Posted: Aug 02 2006, 05:15 PM by Ryan Olshan | with no comments
Redirecting Community Server Blogs

A while back, I used to have my blog located at http://blogs.dirteam.com/blogs/ryan before I moved it to here. The biggest challenge in doing so was making sure all of my existing links redirect to the links on this site. Here's how I did it.

1) Download Madgeek.RedirectModule.dll and place it in your Community Server bin directory.

2) Add the following lines to web.config making the appropriate changes to the format of targetUrl and destinationUrl:

xml version = " 1.0 " ?>

< configuration >

  < configSections >

    < section name = " redirections " type = " Madgeek.Configuration.XmlSerializerSectionHandler, Madgeek.RedirectModule " />

  configSections >

  < httpModule >

    < add name = " RedirectModule " type = " Madgeek.Web.RedirectModule, Madgeek.RedirectModule " />

    httpModules >

    < redirections type = " Madgeek.Web.ConfigRedirections, Madgeek.RedirectModule " >

      < add targetUrl = " ^/blogs/ryan/(.*).aspx\??(.*) " destinationUrl = " http://blogs.strongcoders.com/blogs/ryan/$1.aspx " IgnoreCase = " true " permanent = " true " />

    redirections >

configuration >

Share this post: | bookmark it! | digg it! | reddit! | kick it! | live it!
Posted: Jul 30 2006, 06:58 PM by Ryan Olshan | with 1 comment(s)
Filed under:
Site Upgraded to Community Server 2.1 Beta 2

I just upgraded this site to Community Server 2.1 Beta 2 to take advantage of the fixes in CS 2.1. The upgrade worked without any issues. If you guys notice any issues, please post in Site Issues .

Share this post: | bookmark it! | digg it! | reddit! | kick it! | live it!
Posted: Jul 27 2006, 11:02 PM by Ryan Olshan | with no comments
Community Server 2.0 SP1

Just updated this site and thought I'd share this with everyone. From the download page at CommunityServer.org:

"Telligent recently discovered a serious security vulnerability that can enable an attacker to obtain unauthorized security privileges in Community Server 2.0 for ASP.NET 1.1 / 2.0. It is highly recommended that you apply this patch immediately."

CS 2.0 .NET 1.1 - http://communityserver.org/files/folders/releases/entry532260.aspx
CS 2.0 .NET 2.0 - http://communityserver.org/files/folders/releases/entry532293.aspx

Share this post: | bookmark it! | digg it! | reddit! | kick it! | live it!
Posted: May 26 2006, 10:00 PM by Ryan Olshan | with 1 comment(s)
Filed under:
More Posts Next page »