|
R
|
rocknroll_france author 6/29/2011 |
|
Some new... Hi, On my project, i tried several ways but no issue at this time... I'll try to clearly explain my problem in a poor english ! I have a table for users/pasword/mail adresses I programm Phprunner for having the register form wih email to new user and admin. No problem at this time. (no activation link on mail) The problem is that whatever I tried, the new user have always the possibility of enter the entire project immediatly by clicking on the "Back to login page" button.. Is it possible to: have a notification by mail to user and admin (done) but no possibilities to acces the project before "Admin" make a validation ? Thanks for answers. Rocknroll |
|
|
C
|
cgphp 6/29/2011 |
|
Keep a boolean flag in DB. When admin set it to true the new user is validated. |
|
|
R
|
rocknroll_france author 6/29/2011 |
|
Hi cristian, |
|
|
C
|
cgphp 6/29/2011 |
|
If you don't use the activation link, the user is active by default. |
|
|
R
|
rocknroll_france author 6/29/2011 |
|
Hi Cristian, |
|
|
C
|
cgphp 6/29/2011 |
|
Take a look at this pages: http://xlinesoft.com/phprunner/docs/before_login.htm and http://xlinesoft.com/phprunner/docs/after_successful_registration.htm global $conn;or global $dal; |
|
|
R
|
rocknroll_france author 6/30/2011 |
|
Thanks for the links, but I read them BEFORE posting my first post ! |
|
|
C
|
cgphp 6/30/2011 |
|
Clearly, what I need at this time is Indications (examples ?) of "How check the flag in the Before Loging section" ! Indications (examples ?) of "how set the flag to 0 in the After successful registration event" !
global $conn; |
|
|
R
|
rocknroll_france author 6/30/2011 |
|
Many thanks Cristian, |
|
|
C
|
cgphp 6/30/2011 |