Version of DX Auth compatible with CI 2.0. Changes:
Class defenition compatible with CI 2.0
Library uses catpacha helper, but not dx_catpcha plugin.
http://depositfiles.com/files/r02g60c0e
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
December 01, 2008 6:14am
Subscribe [160]#601 / Dec 20, 2010 3:09pm
Version of DX Auth compatible with CI 2.0. Changes:
Class defenition compatible with CI 2.0
Library uses catpacha helper, but not dx_catpcha plugin.
http://depositfiles.com/files/r02g60c0e
#602 / Jan 30, 2011 4:09pm
What I have to do in order to make captcha work with CI 2.0 and DX Auth?
I unzipped the file from the link above but still captcha is not visible.
With CI 1.7.3 I had not this problem
#603 / Jan 31, 2011 8:14am
Check file system permissions.
#604 / Jan 31, 2011 8:56am
I forgot this. Thanks a lot! 😊
#605 / Jan 31, 2011 10:56am
Great library! Thanks!
I am having a bit of a weird problem…
I am having:
$config[‘DX_captcha_login’] = FALSE;
But for some reason I can’t get the captcha to disappear from the login screen.
After:
$config[‘DX_captcha_registration’] = FALSE;
It successfully disappeared from registration.
I am using the CI 2.0
Any ideas? Thanks.
#606 / Feb 15, 2011 3:02pm
How do I point DX Auth to a seperate database? I have a mysql (for dxauth) and a sqlite database and I need to point DX Auth to the mysql database but I don’t know how. Can someone help, please?
#607 / Feb 21, 2011 11:47am
Is it possible to have two different config files. The login-url for my front and backend are different. Anyone got a solution for this problem?
#608 / Mar 20, 2011 12:05am
One question: how to assign role <> 1 to a new registered user?
#609 / Mar 20, 2011 7:42am
guys can you give me a sample of this that has already a session. 😊
thanks a lot…
I’m new to this framework actually
#610 / Mar 20, 2011 1:37pm
guys can you give me a sample of this that has already a session. 😊
thanks a lot…
I’m new to this framework actually
check this site, got basic and advance sample
#611 / May 22, 2011 4:00pm
on stackoverflow I found a CI auth lib compare article, at DX_Auth it said the following:
“Role system is a complete mess: is_admin function with hard-coded role names, is_role a complete mess, check_uri_permissions is a mess, the whole permissions table is a bad idea (a URI can change and render pages unprotected; permissions should always be stored exactly where the sensitive logic is)”
How can sb change the URI, and the permission part in this comment I dont see clearly..
#612 / May 30, 2011 3:55pm
DX Auth version 1.0.6 in CI 2.0.2 dont work!
url /index.php/auth/login/
Fatal error: Class ‘Controller’ not found in———-\application\controllers\auth.php on line 3
#613 / May 31, 2011 1:48am
DX Auth version 1.0.6 in CI 2.0.2 dont work!
url /index.php/auth/login/
Fatal error: Class ‘Controller’ not found in———-\application\controllers\auth.php on line 3
You have to change Controller, Model to CI_Controller and CI_Model in your files
And the constructor :
function __construct() {
parent::__construct();
}
#614 / May 31, 2011 4:31am
All DX Auth files ?
#615 / May 31, 2011 6:48am
Yes because you use 2.0.2. If you start to code a page you set this new way all your php files, isn’t it?