CS::Blogs

I'm a little bit behind on my CS releases, as I just got around to installing a fresh copy of Community Server 2.0 to test things out for one of my sites. Since I was going to upgrade an existing CS 1.1 install, I tried that method first, but ended up starting over because the original config I had was single blog and I didn't have the time nor the patience to figure out how to hack 2.0 into a single-blog install with existing content. However, thanks to Keyvan (che khabbar!), I was able to export the 1.1 content using an HttpHandler...

This is the end result after setting up SubText and importing my old blog (now moved to here). I had created a blogML exporter for cs11 and ran into some initial problems because the version of BlogML I had used was a smidge older (v0.9) and therefore had a different schema. Kinda makes me wish there were a way to clear out all the content and start over like subv2 allows me to. So why didn't I go with subv2? (Sorry, Darren) The admin interface and WebParts' silly requirement of IE. I basically live in FireFox and although it's been quite some time since I've...

Yesterday I realized that I was having issues with anonymous users posting comments to my CS site. After going over the code a little bit, what I didn't realize is that the bug is a custom skin bug. (ie a skin that I wrote was missing one line containing a specific control.) After a little searching I found someone with a similar problem, and Alex Lowe pointed them here: http://communityserver.org/forums/491886/ShowPost.aspx#491913 And it worked. Yay. [ Currently Playing : Seed - Korn - Follow the leader (5:54) ]

 I noticed that I haven't gotten any comments on my blog in a while. Granted, I haven't posted in a while, either, but come on! There's gotta be at least one post I've made that's been worth comment since July, right? no? Well, I'm going to track this down anyways. Message: Object reference not set to an instance of an object. System.NullReferenceException: Object reference not set to an instance of an object. at CommunityServer.Blogs.Components.Weblog.EnableNewComments(WeblogPost post, User user) at CommunityServer.Blogs.Controls.CommentForm.btnSubmit_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at...

So I got some feedback about PostXING saying that someone who had setup multiple blogs with CS::Blogs was getting the wrong blog back while trying to communicate with the Metaweblog API. After a couple of questions, it turns out that all of the users were set up as sysadmins in the CS permission set, so anyone making a request to the metablog api would get a list of all the blogs available. Since PostXING ignorantly just uses BlogInfo[0] from the metablog_getUsersBlogs() method, everybody was trying to post to the first blog returned in the list. So if you are running a multiple blog setup and...

Here is some of the common ground I can see between the metaweblog api and CS::Blogs BlogService asmx. Blog/Authentication: UserName Password BlogID/BlogName Post/Entry: DateCreated/Date Description/Body Title string[] Categories (nice!) PostID Non-Conformities (for Posts): Metablog API Enclosure (although this is not used by CS::Blogs or .Text) link permalink Source (name and url, was supported by .Text, not so sure about CS::Blogs) userid BlogService.asmx Excerpt Name...

After another slew of referrer/comment spam that showed up in my blog this morning, I went ahead and downloaded Mike's ReverseDOS. I followed the steps outlined for setup, but it didn't quite work the way it was outlined at first - I got the dreaded "yellow screen of death". This was due to the entries that I had made in the web.config. So I looked at the entries that were already in there, and I noticed that some <section/> nodes were added to the <system.web/> node. Moving the default configuration from looking like this:<!-- copy and paste the following code --> <configSections> ...

Straight from ScottW, I added <MarkUp> <globalAttributes> <class enable = "true" /> <align enable = "true" /> <style enable = "true" /> <id enable = "true" /> </globalAttributes>  notice the style element? That cleared up the little non-formatted code issue that I had in my previous post.

Keith told me that CSBlogs was returning relative urls for its Metablog API implementation. After I installed it, I noticed the same thing - so I decided to hack it a little bit and find out what was going wrong. It turns out that the software is just doing what the guys at telligent are telling it to - thankfully I've got the code and I can poke around when I find little issues like this :) First, I added a call to the Globals class to return a formatted url with the application path intact. This was in Components.SiteUrlsData.cs:public virtual string...

So, mainly because of my comment problems with dottext 0.95, I decided to go ahead and take the plunge. Here's how I got CS installed in less than an hour: Used the web installer. This was pretty useful as I'm very prone to error with just the sql scripts ;) . Just set  bool INSTALLER_ENABLED = true; in the default.aspx of the /installer folder and got the base community up and running. Thanks Dan for your walk thru that outlined basically the same thing. Ran Kevin Harder's DotText-CS-Converter....

I'm going to be installing community server here today. There's going to be a little downtime because of that. As if you cared.

I feel like a kid in one of those old milk commercials - you may try to com...ment $p4|\/| me, on....line pok...er, but my blog is running CS::Blogs, so your stupid comment doesn't get past my inbox. Comment moderation: it does a blog good. update: This blog is not running the version of CS::Blogs that has moderation. As a matter of fact, this blog is running .Text version 0.94 because of a bug in the Metablog API implementation of v0.95. Sorry to get your hopes up, I was talking about my other blog on weblogs.asp.net. [ Currently Playing : Floyd The Barber...