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

Community Server Addons v1.1 for .NET 2.0


posted by Bill Bosacker
Mon, Apr 16 2007

Downloads: 9
File size: 10.2kB
Views: 427
Community Server Addons v1.1 for .NET 2.0

UPDATE 05/04/2007: The WeblogBBCodeModule portion of this addon is compatible with CS 2007.  The CreateUser portion is no longer needed with the new theming engine of CS 2007.

This is an update to the original addon package.  In this package I have added the BBCode module for blogs.  To install this package use the DLLs from either the Debug or Release folder and place them in your Community Server bin folder.  Then do the following to enable the addons:

CreateUser:

Add the following line to the end of the CSModules section of your communityserver.config file:

<add name = "WGBCSAddonCreateUser" type = "WGB.CommunityServer.Addons.CreateUser, WGB.CommunityServer.Addons" />

This addon will automatically set the "Theme" of a newly created account to be the same as that of the "Anonymous" account.  The result is that the anonymous account will become the true site default theme as new user accounts will assume its theme rather than defaulting to the "default" theme.

WeblogBBCodeModule:

Then in the communityserver.config file find the following block in CommunityServer/CSModules and insert the bolded line.  You may have additional modules within this block, which is ok, but the order of the modules listed below must be exact or this will not work properly:

<add name = "PostandArticleTokens" type = "CommunityServer.Blogs.Components.PostandArticleTokens, CommunityServer.Blogs" />
<add name = "WeblogCensorModule" type = "CommunityServer.Blogs.Components.CensorModule, CommunityServer.Blogs" />
<add name = "WeblogPostandArticleHtmlScrubbing" type = "CommunityServer.Blogs.Components.PostandArticleHtmlScrubbing, CommunityServer.Blogs" />
<add name = "WeblogFeedbackHtmlFormatting" type = "CommunityServer.Blogs.Components.FeedbackHtmlFormatting, CommunityServer.Blogs" />
<add name = "WeblogFormattingModule" type = "CommunityServer.Blogs.Components.WeblogFormattingModule, CommunityServer.Blogs" />
<add name = "WeblogBBCodeModule" type = "WGB.CommunityServer.Addons.WeblogBBCodeModule, WGB.CommunityServer.Addons" />
<add name = "WeblogEmoticonsModule" type = "CommunityServer.Blogs.Components.WeblogEmoticonsModule, CommunityServer.Blogs" />
<add name = "TrackbackModule" type = "CommunityServer.Blogs.Components.TrackbackModule, CommunityServer.Blogs" />
<add name = "XmlRpcPingModule" type = "CommunityServer.Blogs.Components.XmlRpcPingModule, CommunityServer.Blogs" />
<add name = "WeblogEmailNotificationModule" type = "CommunityServer.Blogs.Components.WeblogEmailNotificationModule, CommunityServer.Blogs" />
<add name = "AutoBlogCreate" type = "CommunityServer.Blogs.Components.AutoBlogCreate, CommunityServer.Blogs" />
<add name = "WeblogCrossPostingModule" type = "CommunityServer.Blogs.Components.WeblogCrossPostingModule, CommunityServer.Blogs" />
<add name = "ImageAttachmentModule" type = "CommunityServer.Blogs.Components.ImageAttachmentModule, CommunityServer.Blogs" />
   
Copyright © 2006-2009 WGB Enterprises
Powered by Community Server (Commercial Edition), by Telligent Systems