Skip to content
This repository

Membership engine for Refinery CMS

branch: 0.9.9.13

Merge pull request #31 from pedropaG/master

Memberships update to refinerycms 2.0
latest commit a2d9680fd2
Brian Kierstead authored September 17, 2012
Octocat-spinner-32 app login redirection page fixed September 06, 2012
Octocat-spinner-32 config role constants changed to dinamic ids September 05, 2012
Octocat-spinner-32 db fix seeds September 05, 2012
Octocat-spinner-32 lib lib/refinery/memberships.rb fixed September 13, 2012
Octocat-spinner-32 spec update to refinerycms 2.0 September 05, 2012
Octocat-spinner-32 Rakefile update to refinerycms 2.0 September 05, 2012
Octocat-spinner-32 readme.md readme updated September 07, 2012
Octocat-spinner-32 refinerycms-memberships.gemspec update version and readme September 05, 2012
readme.md

Memberships engine for Refinery CMS.

A role based membership engine for refinerycms

Installation

  • To your Gemfile add:
    • gem 'refinerycms-memberships', '2.0'
  • Then run:

    • bundle install
    • rails generate refinery:memberships
    • rake db:migrate
  • 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 => "some.host.com" }
  • In config/initializers/refinery/memberships.rb

    • Define admin_email config option. This will be the "from" when users get email.
    • Define new_user_path with a path, like '/login/new', if you want to change the login page. You will have to create a controller, view and route for that page.
  • In config/initializers/refinery/authentication.rb

    • Enable superuser_can_assign_roles if you want to create members from users tab.

Notes

  • 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

Versions

2.0

  • Add configuration for login page route.
  • Update to refinerycms 2.0

0.9.9.13

  • 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

0.9.9.8

  • First version, just has page-role-user management
Something went wrong with that request. Please try again.