CommunityServerStuff 1.5 Released - New Control!

rated by 0 users
This post has 18 Replies | 2 Followers

Top 75 Contributor
Male
Posts 266
Points 1,140
interscape Gift [G] Posted: Sun, Jun 24 2007 3:02 PM

I've updated my CommunityServerStuff pack to work with CS 2007 SP2, and along the way I've added a very handy control. "Chameleon" is a very well-designed system (borderline genius, in fact) for interacting with CS data. Chameleon Form controls do most of the work of getting information into CS. While they can be extended through subclassing, Telligent came up with a better way to extend them, through a concept called "SubForms".

The ProfileSubForm fulfills one of the most-requested needs in CommunityServer... to capture additional profile information during user registration. In about 5 minutes, you can be learning more about your users, without having to recompile with every service pack.

The CommunityServerStuff project has a new home on CodePlex, which means the source code for everything is now freely available. I'm still getting the hang of the whole "branching" and "merging" stuff, so the source repository may change as I get the hang of things. If you want to make adjustments, all I ask is that you sign up for the repository and add your code back to the source.

I have some cool things planned for V2.0.. so stay tuned.

  • Filed under:
  • | Post Points: 35
Top 500 Contributor
Posts 45
Points 680
bhopkins replied on Sun, Jun 24 2007 9:12 PM

Cool stuff. By the way the complied assembly is not there. Not sure if you meant it to be or not.

 

 

Bruce

  • | Post Points: 35
Top 75 Contributor
Male
Posts 266
Points 1,140

Yeah, I'm trying to get the docs updated so I can publish the release binaries. Also, I need to exclude some controls that were used as temporary fixes for pre-SP2 issues. Sorry about the delay.

  • | Post Points: 5
Top 75 Contributor
Male
Posts 266
Points 1,140

Sorry about the delay, the binaries package has been uploaded to CodePlex now. I finally got the documentation updated to be relatively coherent. Please let me know if anyone has any problems with it.

Top 50 Contributor
Posts 318
Points 4,845
shakes replied on Tue, Jun 26 2007 10:40 PM

 

Cools stuff...appreciate all your work although documentation is still a little light...would like to see something detailing each individual module...for instance if i only want to use share it...also i am getting errors with the following two steps....thanks shakes 

Your blog's MasterPage (/Themes/blogs/YourBlogTheme/Theme.master):
You need to add the following information to the
<CS:Head> tag:
<RWM:ReallySimpleDiscoveryHeader runat="server" ID="RSDHeader1" />
<RWM:OpenSearchHeader runat="server" ID="OpenSearchHeader1" />

Your site's MasterPages (/Themes/default/Common/Master.master):
Add the following information to the
<CS:Head> tag:
<RWM:OpenSearchHeader runat="server" ID="OpenSearchHeader1" />

 

peace shakes

Carolina Pulse

  • | Post Points: 20
Top 75 Contributor
Male
Posts 266
Points 1,140
interscape replied on Tue, Jun 26 2007 11:20 PM

I'll see if I can't put better documentation together. I probaby should do a better job explaining each control individually.

Can you show me what errors you're currently seeing? Thanks!

  • | Post Points: 20
Top 50 Contributor
Posts 318
Points 4,845
shakes replied on Wed, Jun 27 2007 5:42 PM

 I basically end up with the error below im not sure if i am putting it in the wrong spot(probably the problem) or what...also i didnt run the sql script but i dont think that would effect anything?

Server Error in '/' Application.

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Unknown server tag 'RWM:OpenSearchHeader'.

Source Error:

Line 66: 
Line 67: <CSControl:Head runat="Server" >
Line 68: <RWM:OpenSearchHeader runat="server" ID="OpenSearchHeader1" />
Line 69: <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
Line 70: <CSControl:Style runat="server" visible = "true" />

Source File: /themes/default/common/master.Master    Line: 68


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210

peace shakes

Carolina Pulse

  • | Post Points: 20
Top 75 Contributor
Male
Posts 266
Points 1,140

Shakes,

You didn't add the control declaration to the web.config. The web.config file in the sample should show you how to do that. I'll make it a little clearer in the docs.

-Robert

  • | Post Points: 20
Top 50 Contributor
Posts 318
Points 4,845
shakes replied on Thu, Jun 28 2007 6:19 PM

Robert,

    That was my first thought although i think i have done everything properly here is what i did to my web.config below: 

    <!-- Standard Application Settings -->
    <compilation defaultLanguage="c#" debug="false" />
    <pages validateRequest="false" enableEventValidation="false" autoEventWireup="true" pageBaseType="CommunityServer.Components.CSPage, CommunityServer.Components">
        <controls>
      <add tagPrefix="RWM" namespace="RobertMcLaws.CommunityServerStuff.Controls" assembly="RobertMcLaws.CommunityServerStuff"/>
            <add tagPrefix="CSControl" namespace="CommunityServer.Controls" assembly="CommunityServer.Controls" />
            <add tagPrefix="CSBlog" namespace="CommunityServer.Blogs.Controls" assembly="CommunityServer.Blogs" />
            <add tagPrefix="CSForum" namespace="CommunityServer.Discussions.Controls" assembly="CommunityServer.Discussions" />

 

And placed this "bold" towards the bottom:

</authorization>
    </system.web>
  </location>

 
    <system.web>
      <httpModules>
        <add name="DomainRewrite" type="RobertMcLaws.CommunityServerStuff.HttpModules.DeletedBlogModule, RobertMcLaws.CommunityServerStuff"/>
      </httpModules>

      <pages validateRequest="false" enableEventValidation="false" autoEventWireup="true" pageBaseType="CommunityServer.Components.CSPage, CommunityServer.Components">
        <controls>
          <add tagPrefix="RWM" namespace="RobertMcLaws.CommunityServerStuff.Controls" assembly="RobertMcLaws.CommunityServerStuff"/>
        </controls>
      </pages>
    </system.web>

 
 
 
</configuration>

peace shakes

Carolina Pulse

  • | Post Points: 35
Top 75 Contributor
Posts 294
Points 4,195

I'm not sure I understand what the ProfileSubForm does. Does this just allow you to take things that already exist in the editprofile.aspx page and ad them to the registration process? Or does it allow me to add any kind of registration data I'd like to create?

  • | Post Points: 20
Top 75 Contributor
Male
Posts 266
Points 1,140

Shakes,

You can take out that DomainRewrite module, it is not needed. Sorry about that.

  • | Post Points: 5
Top 75 Contributor
Male
Posts 266
Points 1,140

dbruyere,

ProfileSubForm allows you to take stuff already in editprofile.aspx and add them to the registration process. The CreateUserForm already has a method for adding ExtendedUserAttributes to the database, which is the best way to add additional profile data not in the CS API.

  • | Post Points: 20
Top 75 Contributor
Posts 294
Points 4,195

interscape,

Thank you for the quick reply. I have one more question. I was able to get the ProfileSubForm working great with one exception. I need to ad Gender to the form and it doesn't seem to work. Any ideas?

 Thanks!

  • | Post Points: 5
Top 75 Contributor
Posts 294
Points 4,195

Has anybody been able to get the Gender selection to work on the registration page? For some reason the radio buttons don't appear when I add it to the page.

  • | Post Points: 5
Top 75 Contributor
Posts 294
Points 4,195

Come on, anybody at all? Is the CommonName and Location the only fields that can be added using this, I have tried both Birthday and Gender?  I could obviously be doing them wrong, but it'd be nice to have a response.

  • | Post Points: 5
Page 1 of 2 (19 items) 1 2 Next > | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com