You need to Register for free and Login to post a message in the forum.

Forum

How to Create a Custom Login Module with OWS - Issue 52
Last Post 2010-11-11 06:07 AM by zahir. 10 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Lee SykesUser is Offline
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945
Avatar

--
2010-01-06 08:47 AM
    Add any comments or questions regarding the How to Create a Custom Login Module with OWS tutorial from Issue 52


    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    priyankaUser is Offline
    Nuke Newbie
    Nuke Newbie
    Posts:1

    --
    2010-01-13 07:26 AM
    I m unable to get the video link of DNN Login Module


    Lee SykesUser is Offline
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945
    Avatar

    --
    2010-01-13 08:36 AM
    Hello,

    You need to subscribe to view the videos

    Thanks,


    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    AndrewUser is Offline
    Nuke Newbie
    Nuke Newbie
    Posts:4

    --
    2010-01-15 01:45 AM
    Hi Lee, thanks for the videos. Do you have any information on how to add a "Remember Me" checkbox as well as a link to retrieve account information if they can't remember they're password?

    Thanks,
    Andrew


    Paul DeschenesUser is Offline
    Nuke Active Member
    Nuke Active Member
    Posts:25

    --
    2010-01-15 11:24 AM
    Andrew,

    I don't personally know of a way to retrieve a password, but know it can be done. There are some modules on snowcovered that do this, but none that I've tried.

    Alternatively what you could do is with your Forgot Password link, have it open a form where the user enters their username to have a new password emailed to them. When they click SEND on this form, in your OWS config, load the USERINFO object with an assignment action, set the password to a random string(you could use a query action to generate one in SQL), set the password in the USERINFO object and Save. Update the Users.UpdatePassword bit field. Then, send them an email with the new random password. With this bit field set, on next login with the new random password, they should be prompted to set a new password. NOW.... remember, that users.updatepassword is triggered in the default DNN user login module, so, you are going to have to add a test in your custom login module for the bit being set on this field, and if so, before you log them in, redirect them to a new No Query Template in your OWS config with a form to log them in with their new random password and have them change their password and confirm the new one. Don't forget to reset the users.updatepassword field after they successfully change their password.

    As for the "remember your username". You can add this checkbox and at login, if the checkbox value=1 use an Assignment action to set the username form field to a cookie. Then, set the default value of your username form field in your login module to value="[myactionname,Cookie]". Also assign and set a cookie value for the checkbox itself, so the next time the user visits the page, the box is checked by default. In the checkbox form field the value will still always be hard coded to value=1 but you add an {IIF,"'[mycheck,Cookie]' = '1'","checked",""} in the input element so that on the users return, you know if they have previously decided to save their username.


    Paul Deschenes
    DNN Creative OWS Tutor
    Subscribe to the website
    AndrewUser is Offline
    Nuke Newbie
    Nuke Newbie
    Posts:4

    --
    2010-01-15 04:51 PM
    Apologies Paul, thank-you for the videos ;) (no offense Lee) and thank-you for the above explanation, that's great and should be able to figure it out from there.


    ChrisUser is Offline
    Nuke Newbie
    Nuke Newbie
    Posts:2

    --
    2010-01-18 09:23 AM
    Several DNN OWS newbie questions. 1. I got the Login Module working, then I added a new role, I saved and published the change, test that it works but when I come back to the OWS Administrator the changes are gone. What could be causing this? 2. I created a configuration named 'login' as I followed the video. I decided that I would just import the configuration I downloaded so now I have two configurations named 'login'. I don't see a delete button for the configuration how do I delete the first one?


    David PUser is Offline
    Nuke Newbie
    Nuke Newbie
    Posts:6

    --
    2010-02-28 08:33 PM
    Hi Lee, I've followed the videos and I have got my user reg page working. What I want to do now is have the profile update page. I see no example about how to load in the currently logged in users info so I can display it on the form, and how to update it afterwards. Can you give an example? Thanks, David


    KA-NAUser is Offline
    Nuke Active Member
    Nuke Active Member
    Posts:28

    --
    2010-03-11 12:39 PM
    I modified Your example with one thing - looking for enter key on password field. I added that in Register region, Else - no query template. But I can't force it to work correctly.... When I press enter after typing password, my user is logged in, but DNN is not redirecting/refreshing, so user see only login page... It happenes only in other browsers than IE. Please help with that...

    1311395057171.txt

    Bizcom.itUser is Offline
    Nuke Newbie
    Nuke Newbie
    Posts:8

    --
    2010-07-08 03:10 PM
    Hello,

    when I use a Redirect Action I can see a character "0" inside the
    guesting my OWS configuration.

    How can I remove it ? or hide !

    Or replacing with an "loading.gif" animation ?

    Thanks in advance !

    Roberto


    zahirUser is Offline
    Nuke Newbie
    Nuke Newbie
    Posts:1

    --
    2010-11-11 06:07 AM
    hi
    i wanna customize the log in module ,how to solve it??


    You are not authorized to post a reply.


    Active Forums 4.3

    Latest Forum Posts

    Enforce Terms Tutorial Update by Vistalogix Corporation
    I tried configuring my DNN 6.1.2 install to have a required "accept terms" checkbox as described in
    RE: Best Practices for Modifying a Custom Module by Joseph Craig
    Start up the development website, then install the module using the package that you have. Then, yo
    Best Practices for Modifying a Custom Module by schilders
    Good Morning, I'm needing to modify a custom built module created by another developer targeted f
    RE: Admin menu problem by alireza arabiyan
    hi in localhost i have http://localhost/senf/خانه.aspx and http://localhost/senf/Admi
    RE: Admin menu problem by Joseph Craig
    Yes, that is what you should have done. What is the URL for your home page? What is the URL for
    RE: Admin menu problem by alireza arabiyan
    hi first in localhost i add my domain.com as portal alias. then copy all files to host , restore my
    RE: Admin menu problem by Joseph Craig
    How did you move it? Have you added an entry in the portalalias table for the site's domain name?
    RE: Re: SQL SERVER 2008 R2 Remote connection by Joseph Craig
    Set up a user with dbo privileges and set the connection string for that user, rather than using Win
    Re: SQL SERVER 2008 R2 Remote connection by Prakasam Srinivasan
    I have successfully configured MSSQL Server 2008 r2 remote connection. I am using windows 7 and it h
    Admin menu problem by alireza arabiyan
    hi i installed dnn 6 on localhost and move it in my host, all link's , pages and modules are ok,
    RE: dnn 4.4 upgrade issue by imran shaikh
    Thanks you all it is done by renaming release.config to web.config procedure
    RE: dnn 4.4 upgrade issue by imran shaikh
    Thanks you all it is done by renaming release.config to web.config
    dnn 4.4 upgrade issue by imran shaikh
    hi this is imran i am upgrading dnn 4.4 to dnn 6.0.2 and getting this error please help me for this
    RE: How to build Skins for DNN 6.x by Joseph Craig
    I'd recommend that you try replacing the hard-coded text with the DotNetNuke Text skin object. That
    RE: Module permission does not work! by Joseph Craig
    What permissions have you give to that role?
    RE: DNN nav issue by Joseph Craig
    Are you using a custom skin? How often does this happen?
    RE: Friendly URLs Broken by Joseph Craig
    I don't entirely understand this, but I'm glad you got things working.
    RE: How to build Skins for DNN 6.x by Christopher Adamakis
    Dear all, I have one more question regarding greek fonts. If you check my site http://www.expertsoft
    RE: Dnn local setup problem by imran shaikh
    this is error is resolve now now getting this one Server Error in '/cooperpharma.ma' Applicat
    RE: Module permission does not work! by Abraham Tameru
    I created a special role for the user to administer the site. The user is not a member of the Admini
    You are not logged in.
    You must log in to access all 
    650+ videos, tutorials, podcasts, and more.
    RSS Feeds