Membership engine for Refinery CMS
Switch branches/tags
Nothing to show
Pull request Compare This branch is 15 commits behind rbriank:
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Memberships engine for Refinery CMS.

A role based membership engine for refinerycms


  • Clone this repo into vendor/engines/refinerycms-memberships

  • To your Gemfile add:

  • gem 'refinerycms-memberships', '1.0', :path => 'vendor/engines'

  • Then run:

  • bundle install

  • rails generate refinerycms_memberships

  • rake db:migrate

  • Via the rails console, add a membership role:

  • Role.create!(:id => 3, :title => 'Member')

  • set up actionmailer in your environment file(s) the plugin will fail without it

  • config.action_mailer.raise_delivery_errors = false

  • config.action_mailer.delivery_method = :sendmail

  • config.action_mailer.perform_deliveries = true

  • config.action_mailer.default_url_options = { :host => "" }

  • In vendor/engines/refinerycms_membership/config/initializers/membership_config.rb

  • Define ADMIN_EMAIL constant. This will be the "from" when users get email.


  • You're a member or not, there are currently no different levels of membership
  • I use jQuery DataTable to list members
  • It integrates some page parts - you can chance them to fit your own needs

Needs work

  • Needs testing! I had testing in the first version. Sadly they are not updated. Bad developer.. No cookie.
  • Could have a role management piece
  • Could have different levels of membership


  • Allows members to sign-up
  • Admins can approve, reject, extend, cancel membership
  • Members can log in, and reset their passwords
  • No permission redirects to login instead of 404'ing
  • Member's directory

  • First version, just has page-role-user management