Lee Sykes DNN Creative Staff
 Nuke Master VI Posts:4945

 |
|
priyanka
 Nuke Newbie Posts:1
 |
| 2010-01-13 07:26 AM |
|
I m unable to get the video link of DNN Login Module |
|
|
|
|
Lee Sykes DNN Creative Staff
 Nuke Master VI Posts:4945

 |
|
Andrew
 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 Deschenes
 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 |
|
|
Andrew
 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. |
|
|
|
|
Chris
 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 P
 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-NA
 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.it
 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 |
|
|
|
|
zahir
 Nuke Newbie Posts:1
 |
| 2010-11-11 06:07 AM |
|
hi i wanna customize the log in module ,how to solve it?? |
|
|
|
|