Welcome Guest, Not a member yet? Register   Sign In
Tank Auth v1.0 (CI authentication library)

[eluser]bill19[/eluser]
Hi everyone,

Tank Auth is a fantastic library and has saved me a lot of time. I am having one problem with its native catpcha functionality however. I am consistently failing its test. I am worried that my users may give up before registering! Can anyone recommend anything to improve readability for humans? I have tried setting :

Code:
$config['captcha_case_sensitive'] = FALSE;

but I don't think this works. I also read http://ericbae.com/2011/03/22/modify-tan...a-feature/

but am unable to find the helper file he discusses.

I would appreciate any thoughts on what to do here to make the catpcha test easier to pass.

Thanks in advance,

KC

[eluser]pinmouse[/eluser]
Hey all,

I'm just wondering how I can go about having Tank Auth on my "homepage", yet not have to have my domain name automatically bring me to www.mydomainname.com/auth/login. I want the login page to be on my homepage and the url to be just plain old www.mydomainname.com

What am I missing?

P.S.
I'm relatively new to CI and TA. Smile

[eluser]Unknown[/eluser]
How to create avatar profile with tank auth?

[eluser]Lechuss[/eluser]
Is tank auth compatible with CI 2.1 develop (planned 3.0) and csrf enabled?

[eluser]CroNiX[/eluser]
According to their git commit messages, yes.
https://github.com/ilkon/Tank-Auth

It doesn't mention CSRF specifically, but it should work if it works with CI 2+

[eluser]almightyolive[/eluser]
I wrote up a (very) brief post about how to convert TankAuth so it can use PostgreSQL.

Mostly it's converting the SQL script...

Anyway, it works for me. Note you NEED to put a database prefix in your config to use the PostgreSQL schema feature.

http://olivecodex.blogspot.com/2012/09/c...-with.html

[eluser]Jinsa[/eluser]
Hi guys,

I'm new here so <?php echo 'hello world'; ?> to begin with.

I'm just starting with CI & Tank Auth. I managed to get both working (you'll tell me it's not hard but heh!) but I get one issue without any answer from google. This library is cool but I wanted to integrate auth pages with my template so in the controller auth.php I've changed this:

(line95)
Quote:$this->load->view('auth/login_form', $data);

to this:

Quote:$data['title']='Login Page';
$data['main_content']='./auth/login_form';
$this->load->view('template', $data);

And then I send it to my view file template.php wich contains my html layout and some php includes as it:

Code:
<header>
<?php $this->load->view('includes/header');?>
</header>
<aside>
&lt;?php $this->load->view('includes/aside');?&gt;
</aside>
<div role="main">&lt;?php $this->load->view($main_content);?&gt;</div>
<footer>
&lt;?php $this->load->view('includes/footer');?&gt;
</footer>

I've updated .htaccess to rewrite the index.php thing with this:

Code:
RewriteBase /project/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /project/index.php/$1 [L]

It works perfectly with my custom controllers but when it comes to tank auth it pops up index.php from a magic bag. So what the... ahum, how could it be? Instead of getting clear URI with i.e http://localhost/project/auth/login I get http://localhost/project/index.php/auth/login. Grrrr! Does anyone have an idea on this?

Also (this is bonus part) I'm thinking of putting up some quick login forms on each pages and I seriously don't understand how to manage it with tank auth. I thought that I would'nt be alone wanting to do this but google didn't gave me anything. Is someone out there made up a tutorial to integrate tank auth in custom pages?

Thanks guys,
Jinsa.

[eluser]skunkbad[/eluser]
[quote author="Jinsa" date="1347800606"]Hi guys,

I'm new here so &lt;?php echo 'hello world'; ?&gt; to begin with.

I'm just starting with CI & Tank Auth. I managed to get both working (you'll tell me it's not hard but heh!) but I get one issue without any answer from google. This library is cool but I wanted to integrate auth pages with my template so in the controller auth.php I've changed this:

(line95)
Quote:$this->load->view('auth/login_form', $data);

to this:

Quote:$data['title']='Login Page';
$data['main_content']='./auth/login_form';
$this->load->view('template', $data);

And then I send it to my view file template.php wich contains my html layout and some php includes as it:

Code:
&lt;header&gt;
&lt;?php $this->load->view('includes/header');?&gt;
&lt;/header&gt;
<aside>
&lt;?php $this->load->view('includes/aside');?&gt;
</aside>
<div role="main">&lt;?php $this->load->view($main_content);?&gt;</div>
<footer>
&lt;?php $this->load->view('includes/footer');?&gt;
</footer>

I've updated .htaccess to rewrite the index.php thing with this:

Code:
RewriteBase /project/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /project/index.php/$1 [L]

It works perfectly with my custom controllers but when it comes to tank auth it pops up index.php from a magic bag. So what the... ahum, how could it be? Instead of getting clear URI with i.e http://localhost/project/auth/login I get http://localhost/project/index.php/auth/login. Grrrr! Does anyone have an idea on this?

Also (this is bonus part) I'm thinking of putting up some quick login forms on each pages and I seriously don't understand how to manage it with tank auth. I thought that I would'nt be alone wanting to do this but google didn't gave me anything. Is someone out there made up a tutorial to integrate tank auth in custom pages?

Thanks guys,
Jinsa.[/quote]

I'm just curious why you chose Tank Auth? The last commit was over a year ago, so it would seem the project is dead, no?

[eluser]Jinsa[/eluser]
[quote author="skunkbad" date="1347814736"]
I'm just curious why you chose Tank Auth? The last commit was over a year ago, so it would seem the project is dead, no?[/quote]
I've chose it because it seemed to me it was the best identification library but maybe I'm wrong. Is there something better for my needs?

[eluser]skunkbad[/eluser]
[quote author="Jinsa" date="1347816258"][quote author="skunkbad" date="1347814736"]
I'm just curious why you chose Tank Auth? The last commit was over a year ago, so it would seem the project is dead, no?[/quote]
I've chose it because it seemed to me it was the best identification library but maybe I'm wrong. Is there something better for my needs?[/quote]

I only use Communiy Auth, but I'm sure Ion Auth is up to date. Theres a blog post in the last few days with one called flexi auth.




Theme © iAndrew 2016 - Forum software by © MyBB