Ion Auth - Lightweight Auth System based on Redux Auth 2 |
[eluser]Ben Edmunds[/eluser]
Frank, Yes the return form is called from the email template. No edit user will not. You could change the example code to check if the user exists and if not create them. In the example code it is only expecting an admin to create a user but you can change it however you need. The register method of ion_auth doesn't require you to be an admin or not.
[eluser]joytopia[/eluser]
[quote author="Ben Edmunds" date="1269325931"]Anybody up for translating Ion Auth?[/quote] I will do the German translation. Thanks for the great library and best regards Bernd
[eluser]kakap[/eluser]
hello,may I ask ? the data stored to field 'created_on' and 'last_login' is generated from mysql function 'now()' , is that right ??? I'm confused, how to read the data stored. this is the example : 1268889823 <- sample from my field 'created_on' how to read that ?? thankyou very much on ur explanation.
[eluser]Ben Edmunds[/eluser]
Thanks Bernd! Kakap, It's a unix timestamp, you can check the userguide here: http://ellislab.com/codeigniter/user-gui...elper.html
[eluser]Nemke[/eluser]
That's UNIX timestamp, you can format it with www.php.net/strftime EDIT: We wrote answers in the same time ![]()
[eluser]kakap[/eluser]
Quote:now() so,excusme, how to change it to standart format like "22 Jun 2010 22:05" when it's retrieved ?? ![]() or what if I change it to standart php function like datetime() ?? thankyou (I'm still reading more references you sent)
[eluser]Ben Edmunds[/eluser]
kakap, You can use CI's mdate or PHP's date. for example using mdate(): Code: $datestring = "Year: %Y Month: %m Day: %d - %h:%i %a";
[eluser]kakap[/eluser]
ouwh, thank you.I tried with unix_to_human function also,, ![]() but,the time result from both of them is not match with my PC time,it's about one hour faster. is that normal ??. (just tried @localhost). thank you to answered my question before.
[eluser]Ben Edmunds[/eluser]
Hey kakap, From the user guide: Quote:Returns the current time as a Unix timestamp, referenced either to your server's local time or GMT, based on the "time reference" setting in your config file. It depends on how your server is setup as to whether or not it is based on the server's localtime or GMT. |
Welcome Guest, Not a member yet? Register Sign In |