Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Eddie Foreman 215 posts 288 karma points
    Aug 03, 2010 @ 19:43
    Eddie Foreman
    0

    Members Registration Advice

    Hi All

    A client has asked if I can update their existing Umbraco site, to allow members to register.  Currently the site has a simple login page, allowing logged in members to see additional information across the site.  This is using the ASP.NET Login Controls.

    What they've asked for is the following:

    A registration form, to allow members to register, the form will include selects and check boxes to collate user input.  For this it looks like I can do this using the ASP.NET membership provider model, where I can pass data from the form fields into the appropriate member properties.

    A moderation page in the Umbraco back-end which will list all of the pending and approved members (see this as two member groups), where the administrator can link through to see further details of a member and amend the members details, change the members status from active/disabled or delete them.  This looks like standard stuff and is built into the Umbraco member section.  So can be achieved without the moderation page.  Using the just the Members section and using the Browse members by groupMembership (http://our.umbraco.org/projects/developer-tools/browse-members-by-groupmembership-dashboard) to quickly displayed all approved and pending users.

    With the above methods, I feel I the moderation page is redundant.  In addition to the above the following features are also needed.

    When a new member has been either an automated approved email or declined email needs to be sent to the user.  Is this possible?

    From the moderation page, or with the members section.  I need to display a list of all members who have subscribe to a news letter (a member check box property), and a link to download all subscribes email to a csv or xml file.  Would this bit be achievable through an SQL Query, to a user control.  How easy, is it to tie a user control into the Umbraco back end?

    I'm sure the above is achievable, and any ideas or suggestions would be greatly appreciated.  

    Current site built using Umbraco 4.0.4.2

    Thanks in advance

    Eddie

  • skiltz 501 posts 701 karma points
    Aug 03, 2010 @ 22:41
    skiltz
    1

    This is defintely possible and I have done this many times over.

    - For sending an email when a user is activated I normally have a checkbox (is approved) and a datetime box (approve date).  I have an action handler so when a member is saved I check these values and if now ticked and date approved field empty then send a "Welcome" email and set the date on the approve date field.

    - For listing members either for moderation or members who have signed up for a newsletter I would either add a new leaf in the members tree or add a new section see http://our.umbraco.org/wiki/reference/files-and-folders/dashboardconfig

    Hope that helps.

    Thanks,
    Matthew

     

  • Eddie Foreman 215 posts 288 karma points
    Aug 04, 2010 @ 13:55
    Eddie Foreman
    0

    Hi Matthew

    Thanks for the pointers and the link for adding the new section, will create a section for the listing the subcribers mailing lists.

    For the action handler, am I right in thinking that I would use the Member.BeforeSave to test the approval checkbox and datetime. Plan to work through the Umbraco events videos, as a starting point, but was wondering if you knew of any good blogs/tutorials that would take me through the process of creating an event handler?

    Thanks again

    Eddie

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies