Delivering the best Add-Ons in more than 37 languages.

中文(简体), English, हिन्दी/हिंदी, Español/Castellano, العربية, Русский язык, Français, 中文 (台灣), বাংলা, Bahasa Indonesia, اردو, Português, Deutsch, Bahasa Melayu (بهاس ملايو‎), 日本語 (にほんご), فارسی, Italiano, తెలుగు, Türkçe, ગુજરાતી, Język polski/polszczyzna, Tiếng Việt, ಕನ್ನಡ, Українська мова, ไทย
PHP Scripts / Miscellaneous

CodeIgniter Membership Script

— Add-On to

Subscribe to our feed to stay up to date!

New! Follow us as you want it!

CodeIgniter Membership Script - CodeCanyon Item for Sale


Ad: Bluehost hosting

~ June 27th, 2014: VERSION 2.2.3 has been deployed ~

!!! IN THE PREVIEW REMOVE THE CodeCanyon FRAME (OAuth return url differs from what I put in app screens)!!!

Thanks to some valuable input from buyers this product has been made to work with the latest changes in the OAuth world!

A new version will be created on CodeIgniter 3 – send me your feature requests as I prepare for development.

No ETA on when it will be done.

username: testadmin
password [email protected]


Relentless support for all buyers, because you had faith in my product.

CI_Membership is a CodeIgniter 2.1.4 based registration script that is easy to install, maintain and extend. It was developed with 2 ideas in mind: first of all it is ideal for beginning developers who want to see code for themselves and learn from it. It also serves as a base structure from which developers can easily expand. Everything is in place, new pages can effortlessly be added.

Some of its main features are:
  • Easy to install and extend, plug-and-play!
  • OAuth login ready for Facebook, Google, LinkedIn and Twitter
  • highly secure password algorithm with salt and key in a 128-long encrypted variable
  • separate password and username retrieval
  • resend activation link
  • jQuery as well as PHP field validation
  • 3 ways to configure mail setup: PHP mail(), sendmail and SMTP
  • database sessions and site settings
  • cookies that remember login
  • members can edit their profile
  • simple roles system
  • theming like Wordpress: default view is loaded when no distinct view is found
  • export members list to e-mail in delimited text file
  • backup database to e-mail in sql file
  • clear session data option
  • highly configurable site options
  • focus is on easy to understand, quick and clean coding
CI_Membership will be kept up-to-date to reflect the latest changes and new versions of the CodeIgniter framework. New features will also be added and current features will be improved based on buyer comments.
« Have any questions? Don’t be affraid to ask. I’m always interested in knowing your issues as it might help me finetune this app or detect issues, situations I was unaware of and should hold into account. »

Version history

*27JUN2014 – v2.2.3
- BUGFIX: history back stack issue in js/jq_functions.js (applied fix from mayhemx – see comments)
- BUGFIX: js/q_functions.js captcha bug
- BUGFIX: core/External_controller: was stil pointing to old bootstrap folder, causing error when active theme is not set (rare).
- BUGFIX: core/MY_controller: was stil pointing to old bootstrap folder, causing error when active theme is not set (rare)
- BUGFIX: themes/bootstrap/views/layouts/main.php: was stil pointing to old bootstrap folder, causing error when active theme is not set (rare).
- MISSING FILE: seems that the file application/views/themes/bootstrap3/site_offline.php has gone missing. The file was recovered.

*27APR2014 – v2.2.2
- fix bug (old bug reoccurred) in registration view file for first name validation
- fixed path to header and footer in public view file
- Bootstrap 3.1.1 caused a right margin problem in the navbar now fixed
- switched to glyphicons in registration form validation of username and e-mail
- minor fixes

*02APR2014 – v2.2.1
- updated to the latest OAuth changes for Twitter and Facebook
- updated manual
- Bootstrap 3.1.1
- minor fixes

*14JAN2014 – v2.1.2
- fixing the blank page bug on adminelpanel/oauth_providers

*10OCT2013 – v2.1.1
- minor fixes

*09SEP2013 – v2.1.0
- better OAuth integration
- more providers tested

*31JUL2013 – v2.0.3
- OAuth integration
- minor fixes

*19JUL2013 – v2.0.2
- minor fixes

*14JUL2013 – v2.0.1
- minor fixes

*10JUL2013 – v2.0.0
- upgraded to CI 2.1.4
- fixed: minor bugs
- cleanup: typos
- added the following to adminpanel :: site settings: disable recaptcha, disable remember me
- new OAuth login system

*30AUG2012 – v1.2.2
- upgraded to CI 2.1.2
- fixed: SMTP encryption bug
- cleanup: of PHP short tags

*01DEC2011 – v1.2.1
- error in sql file: install must be set to 1, not 0!
- improved theming
- cleanup

*11NOV2011 – v1.2.0
- bugfix: site disabled bug
- new feat: theming system now checks for default template view when no specific child view is present, similar to what Wordpress does
- new feat: new theme called “default” which provides a very basic layout
- new feat: new theme called “branded” which uses my main Codecanyon branding colors
- new feat: admin now has separate theme, is no longer part of any other theme
- renamed everything to do with pages to private
- change: moved site offline page view from generic to each theme
- cleanup: views

*28OCT2011 – v1.1.1 – minor update
- sql file contained error
- refined messages_lang.php with more flexible options for membership section

*11OCT2011 – v1.1.0 launched!

- bugfix: unbanned message did not show
- bugfix: entering 0 members_per_page in site settings, list_members page loops out of bounce
- bugfix: going back after loggin out shows private page – fixed with header control
- bugfix: cookie expiration settings did not get saved to the DB
- change: removed e-mail lang and merged into messages lang
- change: HTML improvement -> renamed password form id to edit_password_form
- change: default database setting from mysqli to mysql for backup purposes
- change: models/admin renamed to adminpanel
- change: add_member controler cleanup
- cleanup: renamed css class login_label to form_label
- cleanup: fixed css bug in edit password form inside admin panel
- cleanup: some css cleanup for form elements in redtheme
- new feat: export members system to e-mail
- new feat: export database system to e-mail
- new feat: site settings – clear session data option added
- new feat: created option to take the whole site offline (new controller!)
- new feat: password reset link expiry of 12 hours and added to site settings
- new feat: activation link expiry set to 12 hours and added to site settings
- new feat: caching settings_model ->

* 28SEPT2011 – v1.04 launched
- sql script had an error – critical fix

* 15SEPT2011 – v1.03 launched
- fixed bug where link to login was still hardcoded in stead of using base_url()
- added feature: cookie expiration can now be set from site settings page

* 14SEPT2011 – v1.02 launched
- bug fixed where main administrator could still be domoted and banned which should never be possible
- bug fixed in manual concerning using unique session name
- bug fixed in form validation regarding password verification algorithm not being up to date with latest changes

* 13SEPT2011 – v1.01 launched
- bug fixed: e-mail confirmation did not get sent when changing password from controllers/adminpanel/edit_password.php. Also fixed views/themes/redtheme/adminpanel/edit_password.php.

* 08SEPT2011 – v1.00 launched


Fam fam fam icons

Other components in this categoryAll components of this author
CommentsFrequently asked questions and answers


12 September 11

Last Update:
27 June 14

High Resolution:

Compatible Browsers:
IE6, IE7, IE8, IE9, IE10, IE11, Firefox, Safari, Opera, Chrome

Files Included:

Software Framework:

Software Version:
PHP 5.x, MySQL 4.x, MySQL 5.x


eCommerce, eCommerce, All Items, codeigniter, login script, oauth, php, social logon