CarKnee Bundle for Community Server 2007

 

Now that Community Server 2007 has been out for a while I figured it was time to update the CarKnee Bundle! The Jobs have become Tasks, the Identicon control now has implicit databinding and the CSModules have some little upgrades ;p The new version is now 3.0 to keep in step with the official version of CS2007 [3.0]

Some new features worth noting are:

1. The BlogRssSignature CSModule now supports the use of a “global” signature as well as the previously available per-blog basis signatures. This will allow the main site to also tag their blogs content. For instance, say Billy Bob is a blogger on blogs.acme.com and has added his own signature via the Control Panel to say “Written by Billy Bob.” Now, the Administrator of blogs.acme.com can set the master signature (in the communityserver.config file) to say “Copyright ACME.”

2. The Identicon Control can now bind to the containing Chameleon control. You would typically want to use the Identicon handler in a “Feedback List” (WeblogFeedbackList, GalleryPostFeedbackList, or EntryCommentList) to be used in place of an anonymous avatar. For example, edit your /themes/blogs/[default]/post.aspx where you would normally have the commenters avatar and change it to this: (This is how this site operates... make a comment to see your Identicon)

 

<CSControl:ConditionalContent runat="server">
<ContentConditions>
<CSControl:UserPropertyComparison ComparisonProperty1="HasAvatar" Operator="IsSetOrTrue" runat="server" />
</ContentConditions>
<TrueContentTemplate>
<CSControl:UserAvatar runat="server" BorderWidth="1" />&nbsp;
</TrueContentTemplate>
<FalseContentTemplate>
<SK:Identicon runat="server" width="80" BorderWidth="1" Text="identicon" />
</FalseContentTemplate>
</CSControl:ConditionalContent>

Remember to register the tag as follows:

<%@ Register TagPrefix="SK" Namespace="CarKnee.CS.Bundle.Controls" Assembly="CarKnee.CS.Bundle" %>

You can also override the implicit binding and manually specify an IP to use as follows:

<SK:Identicon runat="server" width="80" IP="255.255.255.255" BorderWidth="1" /> 

Finally, you have the option to use the IP address of the person viewing the page as follows:

<SK:Identicon runat="server" width="80" UseAccessingIP="true" BorderWidth="1" /> 

3. The flash MP3Player used in the module has been upgraded from 2.1 to 3.7! With this upgrade I have passed down a lot more flexibility to the site owner and blog poster! You can now specify default values in the communityserver.config file and the blog poster can manually specify width and height in their post! To embed an MP3 player you can add it using the content part notation as follows:
[ mp3 width=300 height=78]/some/path/file.mp3[/mp3 ]

Feel free to download the updated CarKnee Bundle and let me know what you think!

Published Wednesday, May 09, 2007 12:28 PM

Comments

# re: CarKnee Bundle for Community Server 2007

Wednesday, May 09, 2007 2:06 PM by JRedekop

How about modifying the mp3 player tag so that it also plays video - flv files?

The capability is built into the player itself...

# re: CarKnee Bundle for Community Server 2007

Wednesday, May 09, 2007 3:30 PM by Sean Kearney

JRedekop:

I believe it will play flv files even though you use the [mp3] tags, but I haven't tried.

# re: CarKnee Bundle for Community Server 2007

Wednesday, May 09, 2007 6:07 PM by JRedekop

It would be cool if we could set the FlashVars somehow, not to mention the height & width

# re: CarKnee Bundle for Community Server 2007

Wednesday, May 09, 2007 7:08 PM by Sean Kearney

JRedekop, did you download and read the documentation in the zip file? All of this was accounted for (sort of)! The flash vars can be set, but they are set site wide in the communityserver.config file. You can set the width/height on a per post basis though.

# Community Server Byte for May 10, 2007

Thursday, May 10, 2007 9:48 AM by Dave Burke

blog bits The CarKnee Bundle is available for CS2007. Includes a BlogRssSignature CSModule for global

# re: CarKnee Bundle for Community Server 2007

Monday, May 14, 2007 6:25 PM by JRedekop

Haha - whoops.  Somehow I was using v1.3 of your bundle. Everything works quite well in the latest version.  Good work!

I have one request, though - and it's probably unrealistic.  Change [mp3] to something else? [media]..?

Since the flash player does much more than just mp3...

# re: CarKnee Bundle for Community Server 2007

Tuesday, May 15, 2007 2:55 AM by JRedekop

BTW...

The javascript was exposed while browsing my posts by tags..

(/archive/tags/)

And the javascript text was exposed - not executed as script

var so = new SWFObject('/Utility/MP3/mp3player.swf','player','320','240','7'); so.addVariable...

Did I miss something?

# Embed an MP3 Player in Community Server Posts

Thursday, May 17, 2007 3:12 PM by Sean Kearney's (CarKnee) Blog

A member on the Community Server forums asked about embedding an MP3 player in his blog posts and I thought

# re: CarKnee Bundle for Community Server 2007

Friday, May 18, 2007 7:41 PM by JRedekop

Any chance we can set additional variables in the blog post?   I need to set the displayheight variable for use in multi-chapter videos.

Powered by Community Server (Non-Commercial Edition), by Telligent Systems