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

Forum

Subject: How to Create a Custom Login Module with OWS - Issue 52
Prev Next
You are not authorized to post a reply.

Author Messages
Lee Sykes
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:6011


06 Jan 2010 2: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/leesykes

Lee Sykes's Facebook Profile
priyanka
Nuke Newbie
Nuke Newbie
Posts:1

13 Jan 2010 1:26 AM  
I m unable to get the video link of DNN Login Module
Lee Sykes
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:6011


13 Jan 2010 2: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/leesykes

Lee Sykes's Facebook Profile
Andrew
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:4

14 Jan 2010 7:45 PM  
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 Deschenes
DNN Creative Staff
Nuke Active Member
Nuke Active Member
Posts:25

15 Jan 2010 5: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
Andrew
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:4

15 Jan 2010 10:51 AM  
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.
Chris
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:2

18 Jan 2010 3: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 P
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:6

28 Feb 2010 2: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-NA
DNN Creative Magazine Subscriber
Nuke Active Member
Nuke Active Member
Posts:29

11 Mar 2010 6:39 AM  
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...

Attachment: 1311395057171.txt

Bizcom.it
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:8

08 Jul 2010 9:10 AM  
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
You are not authorized to post a reply.
Forums > Users Lounge > DNN Creative Articles > How to Create a Custom Login Module with OWS - Issue 52



ActiveForums 3.7

Latest Forum Posts

Request tutorial on accessing websites by darcy
Hello Lee: I am new to DotNetNuke and downloaded the Community Edition yesterday and I am using Vis...
Request Tutorial For Forms and List by Allen6195
If you have already produced a tutorial for Forms and List, would you please let me know where it is...
RE: Skin Header by mcmanta
ok I edited the home.ascx and inner.ascx and uploaded the skin again. thanks for the help.
RE: "Good" hosting providers by jtgreg77
Hello AJ, I can't say anything about the other two hosting providers, but we at PowerDNN have ha...
Where is the tutorial for the Reports Module? by Allen6195
I'm sorry but I can't find a tutorial on the Reports module.  When I do a search for 'Reports module...
RE: calender and events registration module by jncraig
I'm not aware of any.
RE: Missing blog entries by jncraig
I have not seen or heard of that particular problem before.
RE: Module Installation Error by jncraig
In email I suggested that you manually install one of the modules that failed.  See if errors are re...
RE: DotNetNuke User Profile v5.4 - Issue 58 by jncraig
In the file manager, set the permissions so that logged in users (registered users) have write permi...
RE: Module Installation Error by ollep
Thanks for your prompt reply Joe.I tried the logfile yesterday but had problem saving current (today...
RE: Skin Header by WinXnet
You need to add the link to the button. Right now it is just an image - no link at all! open it with...
RE: Skin Header by mcmanta
sure my web site is twinsprucepa.com if you look I have the header in place but when you click the c...
RE: NAV Menu not showing up correctly... by WinXnet
Try putting something in the separator html, like a div with a class you can work with. Also, y...
RE: Missing blog entries by WinXnet
I never use the dnn blog - it always seems to have issues. If possible, you might want to move to a ...
RE: CSS Skin Height Problem by WinXnet
100% height divs are a bit more complicated than it seems it should be. First - what browsers are...
RE: Skin Header by WinXnet
Not sure what you are asking - you should be able to just create an image button link... Then you...
RE: DotNetNuke User Profile v5.4 - Issue 58 by jerimiahpettigrew
How do you make the "my folder" option the only visible option for the profile image upload....inste...
RE: Tab startdate/enddate by brian_strickland
Thanks tons Joseph... I was actually trying to simplify my explanation so I wouldn't over complicat...
Skin Header by mcmanta
Hello All, I have a DNN5 site and my customer has asked me to create a Contact us button and Dire...
RE: Slow login by jncraig
Make sure that you have uninstalled modules that you aren't actually using.  That will reduce the me...
DNM Rapid Application Developer Trial Version
RSS Feeds