Tuesday, November 17, 2009

Codeigniter 1.7.2 and userauth 0.9.2t7

Been a long time since i wrote anything to this blog. Good thing for all you Codeigniter fans this quick post is about userauth. UserAuth is a simple ACL(Access Control List) Login for CI (CodeIgniter).

To complete a successful install of userauth version 0.9.2t7 just copy the files into your bare codeigniter install. It's safe to copy all files in all the folders in your application folder. Except for the config folder, all the files in this folder you have to merge with your install. You would only have to worry about this if ci version your using is very new and has new variables.

Once you merge all the files in the application/config folder you need to edit the file models/user_group_model.php

In the user_group_model you only need to replace all instances of "use_table" (without quotes) with "from" (also without quotes).

That's it. You should have a working install of ci userauth mini-app. This process should actually work with any version. You just have to merge the code and files. Enjoy.