Ion Auth - Lightweight Auth System based on Redux Auth 2 |
[eluser]Ben Edmunds[/eluser]
Mantra of Doom, You already have the user id when you get_users_array so why not build your link with the ID instead of the username and just display the username? Or if the username is your identity you can use $this->ion_auth->profile($username) to get most of the user's info.
[eluser]Mantra of Doom[/eluser]
I got it working now, thanks guys. Basically, my problem boiled down to the fact that I get confused when getting results out of an array. Thanks for all the help, I'm learning a lot by reading this thread.
[eluser]Unknown[/eluser]
I've got 3 questions: I am wondering if I could extend your auth model and overwrite some of the functions in there to add more customisability for example allowing each user to have multiple nicknames/aliases using an associative table. If so, how should I do it as I'm reluctant to edit the model then find out later that an update would require me to re-do all the changes again. Also on the database side for multiple group memberships, are you going to redesign the DB with associative tables and relationships? If you are, will you also provide upgrade codes to migrate the existing group id info from the users to the associative table? Thanks
[eluser]Glazz[/eluser]
Hello, I've installed ion auth yesterday, and it was working good, without any errors, today when i went to localhost to work on the website i get these two errors http://awesomescreenshot.com/0b55h4ra7 These errors only show up once per session, don't know why =\ The only thing i have modified was table names, all the 3, the controller name and the view name, but it was working without any errors. Using CI 2 Thanks! Edit: Some debug info: Quote:DEBUG - 2011-01-04 21:01:20 --> Config Class Initialized
[eluser]joytopia[/eluser]
Glazz, https://bitbucket.org/ellislab/codeignit...when-using Best regards Bernd
[eluser]Ben Edmunds[/eluser]
Glazz, Can you walk me through the exact steps to reproduce these errors? EllisLab doesn't want to use the CI_Model patch so I need to figure out exactly what is causing this. Thanks!
[eluser]Glazz[/eluser]
[quote author="Ben Edmunds" date="1294580648"]Glazz, Can you walk me through the exact steps to reproduce these errors? EllisLab doesn't want to use the CI_Model patch so I need to figure out exactly what is causing this. Thanks![/quote] Hi, Sincerelly i don't know, because it sometimes show me that error, and other times it doesn't. But with that fix the error didn't showed up again. Sorry.
[eluser]joytopia[/eluser]
Ben, The error comes up with "remember me", after the session has expired. To reproduce this, set in config/config.php => Session Variables the expriation value to a short time, i.e. Code: $config['sess_expiration'] = 10; Now log in with "remember me", wait some seconds and reload the page several times (up to 6 -10 times). Sometimes the error messages come, sometimes they don't. Hope, that you can reproduce this error. Best regards Bernd
[eluser]Devon Lambert[/eluser]
I haven't been able to reproduce recently, but I recall that it worked similar to what Bernd has pointed out. Still not convinced that the solution I offered was terribly harmful, but PK thinks so, and I'm sure he knows far better than I do. :-) - Devon |
Welcome Guest, Not a member yet? Register Sign In |