Welcome Guest, Not a member yet? Register   Sign In
Ion Auth - Lightweight Auth System based on Redux Auth 2

[eluser]Ben Edmunds[/eluser]
megabyte,

Those aren't bugs, they're just proposed enhancements.

[eluser]megabyte[/eluser]
Once again confirming your awesomeness! Tongue

I have been using a highly modified tank_auth but plan to give your a try.

[eluser]Ben Edmunds[/eluser]
Glad to hear it. Just let me know if you have any questions.


Take it easy,

[eluser]davidjlynch[/eluser]
Hi Ben,

Thanks for the quick response, added both code snippets from page 25 to controller and works perfectly, once agin thanks for the support.

[eluser]davidjlynch[/eluser]
Hi Ben,

Thanks for the quick response, added both code snippets from page 25 to controller and works perfectly, once aagin thanks for the support.

[eluser]MrCevic[/eluser]
I was under the impression that
Code:
$this->ion_auth->is_group('admin', 'editors', 'writers')

would work. Is this correct? Or do I need to use the cumbersome

Code:
$this->ion_auth->is_group('editors')||$this->ion_auth->is_group('editors')||$this->ion_auth->is_group('writers')

Thanks for clarifying me on this point!

[eluser]Phil Sturgeon[/eluser]
[quote author="MrCevic" date="1273858519"]I was under the impression that
Code:
$this->ion_auth->is_group('admin', 'editors', 'writers')

would work. Is this correct? Or do I need to use the cumbersome

Code:
$this->ion_auth->is_group('editors')||$this->ion_auth->is_group('editors')||$this->ion_auth->is_group('writers')

Thanks for clarifying me on this point![/quote]

$this->ion_auth->is_group(array('foo', 'bar'));

[eluser]Timothy_[/eluser]
[quote author="joytopia" date="1273785748"][quote author="Timothy_" date="1273747687"]Does anyone have a good solution to retrieving the users that are currently logged in?

Thanks,

Tim[/quote]

What about showing the username from table ci_sessions WHERE last_activity > now() - 360

Best regards
Bernd[/quote]

Hi Bernd,

Thanks for this.

What measurement is the 360 you refer to and why have you chosen it? My guess is that it is in seconds?

Thanks,

Tim

[eluser]joytopia[/eluser]
Tim,

the session is updated every 300 seconds by default:
http://ellislab.com/codeigniter/user-gui...sions.html
360 is just a bit overlap.

Best regards
Bernd

[eluser]joytopia[/eluser]
Ben,

now I have joined github and pushed the files to
http://github.com/joytopia/CodeIgniter-I...e/joytopia
Git and github are very new for me, and I hope I did everything allright.
Did my pull request reach you?

Best regards
Bernd




Theme © iAndrew 2016 - Forum software by © MyBB