[eluser]Devon Lambert[/eluser]
[quote author="gh0st" date="1266277643"]@Devon Lambert -- With regards to integrating Tank Auth with a modular setup for CI, how far have you got?
I've been trying to do it myself, but am really struggling; are you meant to put the entire thing in a module?
Quote:ie:
/modules/
/core/
/tank_auth/ <-- ? Is this where tank_auth goes?
If so, what do you call it? I tried auth, but this means renaming quite a lot; but if I use tank_auth, this means the user is typing in:
modularcms.localhost/admin/tankauth/
[/quote]
I leave all tank auth files the same, except for the addition a role_id through out the library itself. I extend the tank auth library and make use of the extended class through out the modules that I have.
My Structure follows that of PyroCMS, i.e.:
/modules/
/core/
/users/
...../libraries/
....../MY_Extended_Library.php
[quote author="gh0st" date="1266277643"]
I'm also struggling because there is a lot of hardcoded links in Tank Auth; how far have you been able to strip out the hardcoded links?
I would be interested in downloading or finding out how you integrated Tank Auth with a modular setup as its does not look like it plays well together.
[/quote]
I moved my generic_login function to MY_Controller.php. I also moved all of the captcha functions.
Hope this helps?