EllisLab text mark
Advanced Search
85 of 88
85
   
Ion Auth - Lightweight Auth System based on Redux Auth 2
Posted: 31 August 2012 06:10 PM   [ Ignore ]   [ # 1271 ]   [ Rating: 0 ]
Avatar
Joined: 2010-01-11
92 posts
damemi - 30 August 2012 10:16 AM

After installing ion auth, I get a CI error saying I must set an encryption key to use the session class. When I set the key, however, I get a php 500 error on each page load. What could be the cause of this?

I think it could be related to your hosting and not to CI or ion auth.
Read http://www.cyberciti.biz/tips/http-error-500-internal-server-for-php-pages-and-solution.html

damemi - 30 August 2012 10:16 AM

How should I have my codeigniter/database configured from a fresh install?

see configuration @ http://ellislab.com/codeigniter/user-guide/database/index.html

 Signature 

WAMPSERVER: http://www.wampserver.com/
NETBEANS 7: http://netbeans.org
MAXTHON 3: http://www.maxthon.com
Win7 64bits

 
Posted: 26 September 2012 11:00 AM   [ Ignore ]   [ # 1272 ]   [ Rating: 0 ]
Joined: 2010-10-27
114 posts

I am returning a list of users with the following:

$users $this->ion_auth->users(1)->result(); 

then using a foreach loop in the view to echo out the fields for each user.

But I would like to check if each individual user is currently logged in or not and there does not seem to be a simple built in way of doing this with Ion auth.

I am using database sessions and I know its probably just a matter of querying the ci sessions table but Im not sure. Has anybody done this already? or is there some simple modifications I can make to ion auth that would make this easy?

 
Posted: 10 October 2012 03:19 PM   [ Ignore ]   [ # 1273 ]   [ Rating: 0 ]
Avatar
Joined: 2012-06-13
15 posts

I’ve been using Ion_Auth on my website and it’s working beautifully so far, I’m just a little lost as to how the email activation works.  I found in the documentation a way to enable email activation as something necessary to register, but I couldn’t find anything on how it’s implemented.  Does anyone have any experience with how Ion_Auth’s email avtivation works?

 
Posted: 13 October 2012 06:19 PM   [ Ignore ]   [ # 1274 ]   [ Rating: 0 ]
Avatar
Joined: 2010-01-11
92 posts

at registration IA creates a uniqid for the user/email,
ID is stored in DB, and then an activation link containing the ID is sent by email

The activation link will execute verification process, the ID in the activation url must matches the one in DB.
If match then user/email will be verified and allowed.

is that what you asked for ?

 Signature 

WAMPSERVER: http://www.wampserver.com/
NETBEANS 7: http://netbeans.org
MAXTHON 3: http://www.maxthon.com
Win7 64bits

 
Posted: 08 November 2012 05:09 PM   [ Ignore ]   [ # 1275 ]   [ Rating: 0 ]
Joined: 2012-06-03
2 posts

Thanks for this great tool. Is there any guide how to connect this with FB login? I want to give users option to choose regular registration or registration with their FB account

 
Posted: 20 November 2012 07:43 PM   [ Ignore ]   [ # 1276 ]   [ Rating: 0 ]
Joined: 2012-06-04
15 posts
Kamahl - 08 November 2012 05:09 PM

Thanks for this great tool. Is there any guide how to connect this with FB login? I want to give users option to choose regular registration or registration with their FB account

great idea !

 
Posted: 21 November 2012 11:24 PM   [ Ignore ]   [ # 1277 ]   [ Rating: 0 ]
Avatar
Joined: 2009-07-26
818 posts

@Kamahi,

Check out the social branch here:

https://github.com/benedmunds/CodeIgniter-Ion-Auth/tree/social

Feel free to hit up mamprogr with questions.

 Signature 

BenEdmunds.com

Contact Me:                                    My Code: 

  ben.edmunds@gmail.com            Github
  @benedmunds

 
Posted: 07 December 2012 05:32 AM   [ Ignore ]   [ # 1278 ]   [ Rating: 0 ]
Joined: 2012-12-07
6 posts

I got this weird problem with ion_auth. When a user register on my website, he retrieves a mail with a link to activate the account. When you click on the link, the account succeffuly activates, though you get the error message that it wasn’t able to activate it. Is this some kind of bugg?

 
Posted: 07 December 2012 02:29 PM   [ Ignore ]   [ # 1279 ]   [ Rating: 0 ]
Avatar
Joined: 2009-07-26
818 posts

@Aline are you using the latest code from Github?

 Signature 

BenEdmunds.com

Contact Me:                                    My Code: 

  ben.edmunds@gmail.com            Github
  @benedmunds

 
Posted: 07 December 2012 03:00 PM   [ Ignore ]   [ # 1280 ]   [ Rating: 0 ]
Joined: 2012-12-07
6 posts
Ben Edmunds - 07 December 2012 02:29 PM

@Aline are you using the latest code from Github?

Yeah, i think so.

Is there anyway that i can check what version i have?

 
Posted: 07 December 2012 06:57 PM   [ Ignore ]   [ # 1281 ]   [ Rating: 0 ]
Avatar
Joined: 2009-07-26
818 posts

@Aline if you’re using the spark then it’s in the details.  If not then no not really. 

I’ve never seen that happen before so you might have to debug it in the controller at least to see what’s going on.  Sorry!

 Signature 

BenEdmunds.com

Contact Me:                                    My Code: 

  ben.edmunds@gmail.com            Github
  @benedmunds

 
Posted: 07 December 2012 08:23 PM   [ Ignore ]   [ # 1282 ]   [ Rating: 0 ]
Joined: 2012-12-07
6 posts
Ben Edmunds - 07 December 2012 06:57 PM

@Aline if you’re using the spark then it’s in the details.  If not then no not really. 

I’ve never seen that happen before so you might have to debug it in the controller at least to see what’s going on.  Sorry!

Sorry, my english/knowledge isn’t the best. Can you describbe what you mean by “using the spark”?

Thanks for replying smile

 
Posted: 07 December 2012 08:24 PM   [ Ignore ]   [ # 1283 ]   [ Rating: 0 ]
Avatar
Joined: 2009-07-26
818 posts

Spark = either using getsparks.org or by pulling from the spark branch on github.

 Signature 

BenEdmunds.com

Contact Me:                                    My Code: 

  ben.edmunds@gmail.com            Github
  @benedmunds

 
Posted: 07 December 2012 08:37 PM   [ Ignore ]   [ # 1284 ]   [ Rating: 0 ]
Joined: 2012-12-07
6 posts
Ben Edmunds - 07 December 2012 08:24 PM

Spark = either using getsparks.org or by pulling from the spark branch on github.

Oh, alright.
Well, i think i got ion_auth files from here (http://jondavidjohn.com/blog/2011/01/scalable-login-system-for-codeigniter-ion_auth)
Where is says “Download Here”. Now idea if it’s the newest version.

Now, if i have an older version, do i have to download the newest version from github and configure everything again? Or is it a smarter way, where i can like “upgrade” current code?

 
Posted: 07 December 2012 08:44 PM   [ Ignore ]   [ # 1285 ]   [ Rating: 0 ]
Avatar
Joined: 2009-07-26
818 posts

Ah yea thats the old v1 code.  The new code can be downloaded from here: https://github.com/benedmunds/CodeIgniter-Ion-Auth/zipball/2

You’ll have to setup up from scratch, sorry!

 Signature 

BenEdmunds.com

Contact Me:                                    My Code: 

  ben.edmunds@gmail.com            Github
  @benedmunds

 
85 of 88
85