Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Membership engine for Refinery CMS


Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 db
Octocat-spinner-32 lib
Octocat-spinner-32 public
Octocat-spinner-32 spec
Octocat-spinner-32 refinerycms-memberships.gemspec

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
Something went wrong with that request. Please try again.