Copied to clipboard

Flag this post as spam?

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


  • curlybub 133 posts 107 karma points
    Jul 07, 2009 @ 05:09
    curlybub
    0

    Custom Membership Form and save details to database

    Hi guys,

    I have an umbraco project and this is more challenging that the old one since this will require extending umbraco. But unfortunatelly I have a Weak/No ASP.NET background. I have been reading online tutorials though.

    What I would like to do now is to create a custom membership form that members could fill up and all of the data will be stored on a database. Once a member has filled up the form an email will be sent to their email address for confirmation. The members should be able to login to the website and edit/update their profile as well.

    Questions:

    1. How can I save the data that they have input to a database in umbraco? Where can I find the database that Umbraco is using?

    2. How do I send emails to the person that just registered? (I found this http://our.umbraco.org/forum/developers/extending-umbraco/2308-Sending-Emails-when-new-content-is-added?p=0#comment8762 but where can I find the notification item?)

    3. Is it possible to have a list of all the members that are registered in .csv or exel format to be printed?

    Thank you guys.

     

    Regards,

    Harry

  • curlybub 133 posts 107 karma points
    Jul 07, 2009 @ 05:50
    curlybub
    0

    Just missed a question. How can the registered users have their profile edited? What do I need to set-up?

    Thanks again.

    Regards,

    Harry

  • skiltz 501 posts 701 karma points
    Jul 07, 2009 @ 07:16
    skiltz
    0

    Hi Harry

    You can look at a project I have been working on called osMemberControls - you can download the latest source code at osmembercontrols.codeplex.com.  This will allow you to register members and also allow members to update their profile.  Do you know how to install user controls?  If you're a developer you could easily extend the source code to send an email after a user has registered.

  • curlybub 133 posts 107 karma points
    Jul 07, 2009 @ 08:12
    curlybub
    0

    Hi skiltz,

    Yes, I already have a copy of your project. I'll try to install it a little later. Can you point me to the right direction where the user will receive an email after registering? BTW does your user control allows me to place additional text fields for more information? And no, i'am not a developer. Installing user controls is like installing a package right?

    Thank you.

    Regards,

    Harry

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jul 07, 2009 @ 09:30
    Dirk De Grave
    0

    Hi curlybub,

    skiltz approach is a good generic approach as it's supposed to work with any type of data for a member.

    I've used the standard asp.net controls for doing all this kind of stuff (registering, login, member profile update). Both solutions require some work if you need to send out confirmation mails tho

    Re 3: I've made a dashboard control (a user control that sits in the admin ui) a while ago to export a list of members (filtered by group and registration date - but can easily be extended) to Excel. Also tommy poulsen is working on a package (think he's got a first version already online - not sure tho) to list members filtered by membergroup. Might be worth looking into that as well. Just shout if you're interested.

     

    Cheers,

    /Dirk

     

  • curlybub 133 posts 107 karma points
    Jul 07, 2009 @ 11:44
    curlybub
    0

    Hi Dirk,

    Im SHOUTING! hehehehe. Yes I woudl like to have a copy of both the controls that you've mentioned. I'll give them a try. :D

    Thank you.

     

    Regards,

    Harry

  • curlybub 133 posts 107 karma points
    Jul 07, 2009 @ 11:46
    curlybub
    0

    Please do send your control at curlybub26@gmail.com. Im so excited with this one! hahaha!

  • curlybub 133 posts 107 karma points
    Jul 08, 2009 @ 04:01
    curlybub
    0

    Hi Skiltz,

    I downloaded the osMemberControls on the umbraco projects page. I was able to put the macro on the template. But when I try to preview the page it gives me the error below.</p> <div style="color: black; border: red 2px solid; padding: 3px;"><strong style="color: red;">Error creating control (/usercontrols/osMemberControls/MemberProfile.ascx).
    Maybe file doesn't exists or the usercontrol has a cache directive, which is not allowed! See the tracestack for more information!</div>

     

    What did I do wrong? Can you guide me through.

    Thank you.

     

    Regards,

    Harry

  • skiltz 501 posts 701 karma points
    Jul 08, 2009 @ 05:13
    skiltz
    0

    If you add ?umbdebugshowtrace=true to the address bar it should show you the error.  Also if you are using the "tab layout" option then you will need to make sure your template has a scriptmanager control loaded.  To add a script manager to your template do something like <asp:scriptmanager id="sm1" runat="server" />.  Hope this helps.

  • curlybub 133 posts 107 karma points
    Jul 08, 2009 @ 06:49
    curlybub
    0

    Hi again skiltz,

    I dont have ?umbdebugshowtrace=true on the address bar when i preview the page that I created. I'm testing this package locally. Here is the contents of my template.

    <%@ Master Language="C#" MasterPageFile="/umbraco/masterpages/default.master" AutoEventWireup="true" %>

    <asp:Content ContentPlaceHolderID="ContentPlaceHolderDefault" runat="server">
     <umbraco:Macro ShowSingleTab="0" TabToShow="" RedirectOnSuccess="1056" ShowAsTabLayout="0" AllowEmailUpdate="1" EmailRequiredMessage="Please enter a valid email address" ShowGenericProperties="1" ButtonText="Hello" Alias="osMemberProfile" runat="server"></umbraco:Macro>
    </asp:Content>

    And Im still getting the same error.

    Thank you.

    Regards,

    Harry

  • curlybub 133 posts 107 karma points
    Jul 08, 2009 @ 06:56
    curlybub
    0

    I think the .dll on the web control is not included on the zip file. I extracted the file on my desktop.

  • 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