An interesting project to replace FreakAuth which used to be popular for CI at 1.5.x level 😉
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
February 10, 2010 7:00pm
Subscribe [287]#601 / Nov 07, 2010 2:12pm
An interesting project to replace FreakAuth which used to be popular for CI at 1.5.x level 😉
#602 / Nov 07, 2010 3:25pm
anychance of an Oauth, allow people to login via Facebook, Gmail, Hotmail etc….
#603 / Nov 10, 2010 7:37am
Can I disable User Meta management??
I would create my dynamic meta table like this :
ID | USER_ID | PLUGIN | KEY | VALUE
and associate dynamic fields using records ( example ):
ID | USER_ID | PLUGIN | KEY | VALUE
1 2 info user_firstname Marty
2 2 info user_lastname McFly
3 2 social user_skype 123456
4 3 info user_firstname Bruce
5 3 info user_lastname Wayne
...
#604 / Nov 10, 2010 10:08pm
anybody got this working as a module in Modular Extensions - HMVC?
#605 / Nov 11, 2010 4:50am
Andy78,
Yep
#606 / Nov 11, 2010 8:50am
The default password in the include HTML pages is not correct.
Any idea what it really is?
The default login is:
* Email: .(JavaScript must be enabled to view this email address)
* Password: password
#607 / Nov 11, 2010 10:10pm
password ... just like it says. It’s worked for me.
-tg
#608 / Nov 11, 2010 10:46pm
thats interesting, because i just downloaded it and installed it, and it doesn’t work. Says invalid password
#609 / Nov 13, 2010 9:15pm
When i try to change my password (auth/change_password), i get this error:
A Database Error Occurred
Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group, `groups`.`description` AS group_description, `profile`.`first_name`, `pro' at line 1
SELECT `users`.*, `groups`.`name` AS group, `groups`.`description` AS group_description, `profile`.`first_name`, `profile`.`last_name`, `profile`.`company`, `profile`.`phone` FROM (`users`) LEFT JOIN `profile` ON `users`.`id` = `profile`.`user_id` LEFT JOIN `groups` ON `users`.`group_id` = `groups`.`id` WHERE `users`.`id` = '1' LIMIT 1
Filename: C:\xampp\htdocs\studentski\system\database\DB_driver.php
Line Number: 330
My table names are here:
/**
* Tables.
**/
$config[‘tables’][‘groups’] = ‘groups’;
$config[‘tables’][‘users’] = ‘users’;
$config[‘tables’][‘meta’] = ‘profile’;
I solved this problem with this quick fix:
// search this function in ion_auth_model.php
public function get_users($group = false)
{
$this->db->select(array(
$this->tables['users'].'.*',
// comment next row
// $this->tables['groups'].'.name AS group',
// add next row
$this->tables['groups'].'.name AS groups',
$this->tables['groups'].'.description AS group_description'
));
This is a bug or what? :roll:
#610 / Nov 16, 2010 2:18pm
Hello,
I need to port the users table to another app.
Is there a way to convert the existing passwords to just md5 or sha1?
Thanks
#611 / Nov 16, 2010 8:26pm
The easiest way will be setting up new passwords for users, imho.
#612 / Nov 16, 2010 9:28pm
I know, but they would complain. I was hoping to somehow reverse the encrypt.
I guess it is only one way.
#613 / Nov 17, 2010 3:43am
How to set login by username?
#614 / Nov 17, 2010 4:48am
In “config” folder, edit “ion_auth.php” and change :
/**
* A database column which is used to
* login with.
**/
$config[‘identity’] = ‘email’; <———————-
#615 / Nov 17, 2010 10:28am
Upgraded to CI 2.0
Now, with “remember me” after the session is expired, I get the error:
A PHP Error was encountered
Severity: Notice
Message: Undefined property: Member::$ion_auth
Filename: core/Model.php
Line Number: 50When I commend this paragraph in the constructor, the error is gone:
/*
//auto-login the user if they are remembered
if (!$this->logged_in() && get_cookie('identity') && get_cookie('remember_code'))
{
$this->ci->ion_auth_model->login_remembered_user();
}
*/But of course the user is not remembered any more.
Seems, that CI 2.0 has problems when functions of other classes are called in a constructor.
Any idea how to fix it?
Best regards
Bernd