Redux Authentication 2 Beta Released |
[eluser]Packe[/eluser]
Not sure if I should post in this thread of create a new one, but I try here first. I put up a site on my webhost using CI with Redux Auth beta 2. I entered the correct information in config\email.php. Then I try registrating a new user, but am not getting any activation mail. I made a test with the code below (from the CI userguide) and a mail was received, so the details in the config file is correct. Code: $this->email->from('[email protected]', 'Your Name'); What could be the reason behind no mail being sent by Redux Auth? It works fine when doing the same on my local machine. EDIT: Nevermind, found the problem which was an non-set "from" address.
[eluser]Kirkjoserey[/eluser]
User Groups ----------- With Redux I can set Level (group_id) for a Page ??? (Group Access for a page) I say: List of Products -->Access to Group: member List of Cities ---> Aceess to Group: manager Then; when UserOne (belong Group: member) logins in the main menu only see List Of Products. when UserAdmin (belong Group: manager) logins in the main menos see everything. best regards.
[eluser]Spir[/eluser]
that auth lib is one of the best it needs to keep active. I see last update has 9 month now. Does the beta version is good enough to start with? I only work with 1.x for now.
[eluser]Phil Sturgeon[/eluser]
I'll be keeping an eye on the progress of this project. Keep up the good work.
[eluser]Kirkjoserey[/eluser]
[quote author="Spir" date="1253540007"]that auth lib is one of the best it needs to keep active. I see last update has 9 month now. Does the beta version is good enough to start with? I only work with 1.x for now.[/quote] I take my chances with the beta version. ;-)
[eluser]trenchard[/eluser]
[quote author="Spir" date="1253540007"]that auth lib is one of the best it needs to keep active. I see last update has 9 month now. Does the beta version is good enough to start with? I only work with 1.x for now.[/quote] I just implemented the beta in a new site. I essentially had to walk though the whole code base to configure the forms the way I need and to debug the email activation code. Some functions don't seem to be in use and can be stripped out. I have the registration, activation, and login working decently. On the whole it is pretty straight forward even if you are just starting out.
[eluser]Isern Palaus[/eluser]
[quote author="trenchard" date="1257348560"][quote author="Spir" date="1253540007"]that auth lib is one of the best it needs to keep active. I see last update has 9 month now. Does the beta version is good enough to start with? I only work with 1.x for now.[/quote] I just implemented the beta in a new site. I essentially had to walk though the whole code base to configure the forms the way I need and to debug the email activation code. Some functions don't seem to be in use and can be stripped out. I have the registration, activation, and login working decently. On the whole it is pretty straight forward even if you are just starting out.[/quote] Hello trenchard, Could you bring us the code for the activation? I can't get it working fine... And do you coded the recovery password? It will be nice to have this functions working. Thank you in advance, Isern
[eluser]trenchard[/eluser]
Here is the modified code for the activation functionality. Note that I use $email as the username throughout the code. I've added a few comments were I remember having to debug the code. Controller Functions Code: function add() Library Function Code: public function register($password, $email) Primary Model Functions Code: public function deactivate($email = FALSE)
[eluser]Isern Palaus[/eluser]
Hello! Thank you trenchard, this is very useful! Will try it tomorrow :-)! Regards, Isern
[eluser]trenchard[/eluser]
Hope it gets you closer. There are many moving parts on this and they all need to be synched. Without documentation, you have to just go line by line to get it to work. I have noticed that there really should be more granularity in the functional responses. In other words, it will be necessary to know why a function returned FALSE so that the flash messages can be configured to be more helpful and other classes can be launched. I will eventually rewrite the functions to return status messages that can be used in conditional logic. By the way, I'm just now implementing the password reset functionality and I can tell you that I'm not optimistic it will work out of the box. I'm going to try today, but I may end up rewriting much of it to be a better process. I think the two email method is far from best in class. I'll post more as I build this out. Mark |
Welcome Guest, Not a member yet? Register Sign In |