Welcome Guest, Not a member yet? Register   Sign In
The Auth Library 1.0.3 - The Easiest Auth Library for CodeIgniter
#42

[eluser]Bionicmaster[/eluser]
Hi, I have some suggestions for better functionality on this great app:

1) <code>$this->CI->lang->load('auth', 'english');</code> can be <code>$this->CI->lang->load('auth', $this->config->item('language'));</code> to load predefined user language, previous translate of the language file.

2) in login attempts, you can use a $config variable instead of 5, more user configurable.

3) same case with view's routes (default 'auth') and name of db tables.

4) using Active Record for some querys, for using CI styles: <code>$this->CI->db->query("SELECT * FROM `users` WHERE `username` = '$username'");</code> can be <code>$this-CI->db->where('username', $username)->get('users'); </code>

sorry if this is wrong and for my bad english Sad


Messages In This Thread
The Auth Library 1.0.3 - The Easiest Auth Library for CodeIgniter - by El Forum - 03-17-2009, 12:03 PM



Theme © iAndrew 2016 - Forum software by © MyBB