Umbraco Member Controls and editable member profiles

It seems that a lot of people are having serious problems with getting the original UmbracoMemberControls package working correctly, so was I back in Mars –08..

The first thing that bugged me was that I wasn’t able to log out, instead I was shown a error message (Object moved to here) in Firefox and blank page in Internet Explorer 6 & 7. It seems like this was due to a session that wasn’t cleared correctly so I added a Session.Clear() to the logout method and that seemed to fix this. All in all I’ve made about 5+ updates to the original package:

  1. Fixed the issue with failing log-outs (displayed "Item moved to here" in FF, blank page in IE) by adding Session.Clear() and Response.Redirect(Request.RawUrl, true); to the login and logout logic.
  2. Added a property for specifying a number of days that the cookie should be valid
  3. Added a "remember me" checkbox, if selected this will set a cookie that's valid for the specified number of days.
  4. Made all texts/labels support the dictionary syntax, i.e if you enter "#LoginFailed" that label will pick a language aware dictionary item named "LoginFailed" instead of some hardcoded parameter.
  5. Fixed some labels that wasn't possible to modify via macro parameters before.

My initial idea was to release this as an new version of the package, but sadly the Packager released by Per Ploug Hansen haven’t made it across the finish line yet. Therefore I will only release these files for manual installation, with manual adding of all macros and macro parameters. 

UPDATE: A few days ago Immo Wache released an updated Packager (1.0.5) that’s working just fine ; ) Thanks to Immo you will find a package installer at the bottom of this page! Nice work Immo!

 

Installation instructions:

  1. Remove your old umbracoMemberControls files (if you have any), especially the macros and their parameter since otherwise there’s a risk for a duplicate parameters error.
  2. Install the package by right-clicking the macros node and select “upload”.
  3. The last thing to do is to add some styling to your new controls. Since the label/control pairs in this version uses dl-syntax (definition list) the easiest thing is to style them according to this technique.

Additional information about Member Controls

 

Download

You can download the package here:

Click to download umbracoMemberControls v0.4 unofficial

Visual Studio 2005 solution file in a zip can be found here:

Click to download umbracoMemberControls v0.4 Source

 

UPDATE2: Link to download VS2005 sourcefiles added

 

Technorati Tags: ,,