Part of the EllisLab Network
   
3 of 11
3
The Easiest Authentication Library for CodeIgniter just got easier.
Posted: 03 May 2009 04:34 PM   [ Ignore ]   [ # 21 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  349
Joined  05-04-2008
aaroncornish - 03 May 2009 04:22 PM

Hi Adam

This looks really good.

However, I am very new to CI and I am having a problem.

I have uploaded all of the files but I am getting this error.

An Error Was Encountered
Unable to load the requested class: auth

Any help would be appreciated

thanks in advance
Aaron

Can you provide me with your version of CodeIgniter, version of PHP and your platform? Have you taken the files from the Github repo and copied the contents of the folders into an existing CodeIgniter application, or are you just running The Authentication Library files on their own?

Thanks.

 Signature 

[ Adam Griffiths - Shropshire Based Web Developer ]
[ The Authentication Library User Guide ]
[ Programmers Voice - PHP and CodeIgniter articles, tutorials and screencasts. ]
[ Follow me on Twitter ]

Profile
 
 
Posted: 03 May 2009 04:38 PM   [ Ignore ]   [ # 22 ]  
Summer Student
Total Posts:  3
Joined  05-03-2009

Hi Adam

I am running the latest version of CI and PHP version is 5.29

I have uploaded the files into my existing install.

Thanks for the super quick reply

Cheers

Profile
 
 
Posted: 03 May 2009 04:47 PM   [ Ignore ]   [ # 23 ]  
Grad Student
Avatar
Rank
Total Posts:  55
Joined  01-09-2009

One more Adam:

views->auth->pages->users->manage.php:

<?php echo anchor("users/add", "Add User"); ?>

Should be

<?php echo anchor("admin/users/add", "Add User"); ?>
Profile
 
 
Posted: 03 May 2009 04:47 PM   [ Ignore ]   [ # 24 ]  
Summer Student
Total Posts:  3
Joined  05-03-2009

Hey Adam

I can’t reply to the PM as I am a new member, and the spam prevention policies wont let me.

Might be worth emailing me?  aaron.cornish-at-mac.com

Cheers
Aaron

Profile
 
 
Posted: 04 May 2009 08:26 AM   [ Ignore ]   [ # 25 ]  
Summer Student
Total Posts:  26
Joined  03-15-2009

Everything is working fine for me now. Thanks Adam!

Profile
 
 
Posted: 13 May 2009 10:05 PM   [ Ignore ]   [ # 26 ]  
Summer Student
Total Posts:  21
Joined  05-13-2009

any chance of adding salting? or is that in and i’ve missed it?

Profile
 
 
Posted: 13 May 2009 10:16 PM   [ Ignore ]   [ # 27 ]  
Lab Technician
RankRankRankRank
Total Posts:  1242
Joined  04-19-2008

It’s already there:

/**
    * Salt the users password
    *
    * @access private
    * @param string
    */
    
function _salt($str)
    
{
        
return sha1($this->CI->config->item('encryption_key').$str);
    
} // function _salt()
 Signature 

PinoyTech - Web Development Blog

Profile
 
 
Posted: 14 May 2009 08:21 AM   [ Ignore ]   [ # 28 ]  
Summer Student
Avatar
Total Posts:  21
Joined  12-24-2008

Ok, Adam this is great to new people like me. Completely new. I am still going through the process of creating a forum. I like the look and functions of this CI forum. I would love to code it straight from the first line, but don’t mind a library i could look through. Any ideas?

Thanks.

And this Auth-library is working well for me.

cheers

Profile
 
 
Posted: 14 May 2009 12:41 PM   [ Ignore ]   [ # 29 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  349
Joined  05-04-2008
nkelem - 14 May 2009 08:21 AM

Ok, Adam this is great to new people like me. Completely new. I am still going through the process of creating a forum. I like the look and functions of this CI forum. I would love to code it straight from the first line, but don’t mind a library i could look through. Any ideas?

Thanks.

And this Auth-library is working well for me.

cheers

Hey,

Not sure what you mean. Do you mean a pre-built forum for CodeIgniter?

Thanks.

 Signature 

[ Adam Griffiths - Shropshire Based Web Developer ]
[ The Authentication Library User Guide ]
[ Programmers Voice - PHP and CodeIgniter articles, tutorials and screencasts. ]
[ Follow me on Twitter ]

Profile
 
 
Posted: 14 May 2009 12:48 PM   [ Ignore ]   [ # 30 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  349
Joined  05-04-2008

I have made an update to The Authentication Library. If everyone could please download the new Auth.php library file, it fixes a problem where the resitrct function doesn’t work properly in certain cases.

Thanks.

 Signature 

[ Adam Griffiths - Shropshire Based Web Developer ]
[ The Authentication Library User Guide ]
[ Programmers Voice - PHP and CodeIgniter articles, tutorials and screencasts. ]
[ Follow me on Twitter ]

Profile
 
 
   
3 of 11
3
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 819, on March 11, 2010 11:15 AM
Total Registered Members: 120414 Total Logged-in Users: 42
Total Topics: 126517 Total Anonymous Users: 2
Total Replies: 665265 Total Guests: 370
Total Posts: 791782    
Members ( View Memberlist )