Giter VIP home page Giter VIP logo

refinerycms_membership's People

Contributors

imme5150 avatar javierav avatar juozasg avatar leemcalilly avatar mirosr avatar parndt avatar pedropag avatar rbriank avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

refinerycms_membership's Issues

Multiple roles for Members and Pages

A way to assign multiple roles to Members and Pages.

Does this need role management, or can it use the role management that is already part of refinery?

Province is a required field?

Why? I live in New Zealand. This should not be a required field. Either that or there has to be some different way of requiring fields

Can't find role assignment

Hi! Thanks for the engine, hope you can also hint me about how to use it :)

Put it to Gemfile ( though it doesn't seem necessary, cause it's not deployed anywhere? )
then run
rails generate refinerycms_memberships
rake db:migrate
After that my Users management page looks pretty much the same - creating or editing users I can't see anything about roles.

Also, I don't get how to deal with Heroku, cause they don't let you upload your local gemfiles, they want it in a valid repo. But first I'd like to learn using it locally =)

undefined local variable or method `page_title'

since the latest branch is not working with refinery 1.0.8 I am using the previous one. But I get this

undefined local variable or method `page_title' for #<#Class:0x0000010894b778:0x00000108948438>

Use Profile model

Instead of piggy backing on User, create a separate model for app-specific needs.

mailer error when attempting to reject a member

Rendered vendor/engines/refinerycms_membership/app/views/membership_mailer/rejection_confirmation_admin.html.erb (0.9ms)
Completed in 1225ms

ActionView::Template::Error (Missing host to link to! Please provide :host parameter or set default_url_options[:host]):

Uninitialized constant when generating refinerycms_memberships

Steps Taken:

  • Copied source into vendor/engines/refinerycms-memberships
  • Added "gem 'refinerycms-memberships', '1.0', :path => 'vendor/engines/'" to Gemfile
  • Ran "bundle install" successfully
  • Error occurred when attempting to execute "rails generate refinerycms-memberships"

Error:
/Users/frick156/Projects/lorug/vendor/engines/refinerycms_memberships/lib/refinerycms-memberships.rb:19:in block in <class:Engine>': uninitialized constant Refinery::Admin::DashboardController (NameError) from /Users/frick156/.rvm/gems/ruby-1.9.2-p180@refinery/gems/activesupport-3.0.10/lib/active_support/lazy_load_hooks.rb:34:incall'
from /Users/frick156/.rvm/gems/ruby-1.9.2-p180@refinery/gems/activesupport-3.0.10/lib/active_support/lazy_load_hooks.rb:34:in execute_hook' from /Users/frick156/.rvm/gems/ruby-1.9.2-p180@refinery/gems/activesupport-3.0.10/lib/active_support/lazy_load_hooks.rb:43:inblock in run_load_hooks'
from /Users/frick156/.rvm/gems/ruby-1.9.2-p180@refinery/gems/activesupport-3.0.10/lib/active_support/lazy_load_hooks.rb:42:in each' from /Users/frick156/.rvm/gems/ruby-1.9.2-p180@refinery/gems/activesupport-3.0.10/lib/active_support/lazy_load_hooks.rb:42:inrun_load_hooks'
from /Users/frick156/.rvm/gems/ruby-1.9.2-p180@refinery/gems/railties-3.0.10/lib/rails/application/finisher.rb:46:in block in <module:Finisher>' from /Users/frick156/.rvm/gems/ruby-1.9.2-p180@refinery/gems/railties-3.0.10/lib/rails/initializable.rb:25:ininstance_exec'
from /Users/frick156/.rvm/gems/ruby-1.9.2-p180@refinery/gems/railties-3.0.10/lib/rails/initializable.rb:25:in run' from /Users/frick156/.rvm/gems/ruby-1.9.2-p180@refinery/gems/railties-3.0.10/lib/rails/initializable.rb:50:inblock in run_initializers'
from /Users/frick156/.rvm/gems/ruby-1.9.2-p180@refinery/gems/railties-3.0.10/lib/rails/initializable.rb:49:in each' from /Users/frick156/.rvm/gems/ruby-1.9.2-p180@refinery/gems/railties-3.0.10/lib/rails/initializable.rb:49:inrun_initializers'
from /Users/frick156/.rvm/gems/ruby-1.9.2-p180@refinery/gems/railties-3.0.10/lib/rails/application.rb:134:in initialize!' from /Users/frick156/.rvm/gems/ruby-1.9.2-p180@refinery/gems/railties-3.0.10/lib/rails/application.rb:77:inmethod_missing'
from /Users/frick156/Projects/lorug/config/environment.rb:5:in <top (required)>' from /Users/frick156/.rvm/gems/ruby-1.9.2-p180@refinery/gems/railties-3.0.10/lib/rails/application.rb:103:inrequire_environment!'
from /Users/frick156/.rvm/gems/ruby-1.9.2-p180@refinery/gems/railties-3.0.10/lib/rails/commands.rb:16:in <top (required)>' from script/rails:6:inrequire'
from script/rails:6:in `

'

Environment information:
Ruby version: 1.9.2 p180
Rails version: 3.0.10

Notes:

  • Also attempted to clone code into project, as instructed in installation steps. Same error.

Issues with creating/deleting users

I have installed RefineryCMS 0.9.9.15 and pulled in the changes from the current Pull Request.

I now have a situation where if I go to /memberships/new and sign up - it doesn't add the user under the memberships tab, it instead adds the user to my RefineryCMS Users tab. It also removes the option to delete the user.

If I go back to the Memberships tab, it doesn't show anything except the column headers, and under pages it does let me select which pages can be seen by Members only - however viewing the website without logging in shows these to not be working.

The installation instructions don't work

I've put gem

'refinerycms-memberships', '2.0'

in my Gemfile and when I do 'bundle install' I get

"Could not find gem 'refinerycms-memberships (= 2.0) ruby' in the gems available on this machine."

It fails on the first line of the installation instructions :-(

not sure if it's working.. no "new user"

ok.. maybe this is a mis configuration or something but I installed.. I set up the :id => 3 role.. I can see the memberships tab in the admin area and I see the user_roles 9with no users) and the pages sub tabs.. I can set which pages are secure to members.. But I don't know how to create a new member.. Am I supposed to include my own custom link on the main site? is there not a "new" button on the admin area? Sorry for the noob question.. I'd like to use this and add in a subscription payment through paypal for the members.. so very excited to get this working so I can finish the paypal part..

thanks!
Gary

Pages marked as private still visible in the menu

Just making sure I'm not missing something. I just installed refinerycms 1.0.0

If this is something that already exisits, maybe it's just not compatible w/ refinerycms 1.0.0 ?

If not, I'm happy to build it. Also thinking there should be an option on the admin/pages/edit to mark the page as for members only.

Thanks,

..Josh..

installing membership breaks refinery

I think the problem might be because I have overridden the pages#show maybe? In any case I get the following error.

Rendered themes/parents_voice_theme/views/shared/_menu.html.erb (8385.5ms)
Rendered themes/parents_voice_theme/views/shared/_header_home.html.erb (15867.0ms)
Rendered themes/parents_voice_theme/views/pages/home.html.erb within layouts/application (23247.0ms)
Completed in 31127ms

ActionView::Template::Error (undefined method `selected_page?' for #<#Class:0xd6aa1dc:0xd6a8c88>):
8: # In order to match items that aren't shown in menu and highlight their associations.
9: # This can be supplied if the logic is different in your case.
10: unless defined?(selected_item)
11: selected_item = collection.detect{|page| selected_page?(page)}
12: selected_item = @page if selected_item.nil?
13: end
14: sibling_count = roots.length - 1

Rendered /home/tim/.rvm/gems/ree-1.8.7-2011.03/gems/actionpack-3.0.6/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
Rendered /home/tim/.rvm/gems/ree-1.8.7-2011.03/gems/actionpack-3.0.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (4047.9ms)
Rendered /home/tim/.rvm/gems/ree-1.8.7-2011.03/gems/actionpack-3.0.6/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (11459.9ms)
^C[2011-04-20 00:44:46] INFO going to shutdown ...
[2011-04-20 00:44:46] INFO WEBrick::HTTPServer#start done.

how does a new member sign up?

I've got refinerycms_membership installed .. but I just don't get how a new member signs up? Any help here, or maybe an addition to the README would be a big plus.

On the admin/membership side, neither of the two current users are being shown. Here's what the display says:

      No matching records found
      Showing 1 to 2 of 2 entries

The first of the two users was created when I started RefineryCMS for first time; the second was created in admin/users add. Neither shows up in membership tab.

So please, help me out.. what's next?

Installation instruction updates for Heroku

Hi

I'm running Rails 3.0.8 and followed your instructions to try and get the engine into my refinery CMS.

Transpires that it should be cloned into vendor/engines/memberships else bundler will not be able to find it during deploy especially onto heroku.

Also the git submodules within the memberships engine directory needs to be removed before deploy to heroku.

Hope it helps

Memberships engine for Refinery CMS 2.0.3

I have a problem with install Memberships engine

I cloned the Memberships engine repo into vendor/engines/refinerycms-memberships

`-----vendor
 |     `-----assets
 |      |     `-----javascripts
 |      |     `-----stylesheets
 |     `-----engines
 |      |     `-----refinerycms-memberships
 |      |      |     `-----app
 |      |      |      |     `-----controllers
 |      |      |      |      |     `-----admin
 |      |      |      |     `-----mailers
 |      |      |      |     `-----models
 |      |      |      |     `-----views
 |      |      |      |      |     `-----admin
 |      |      |      |      |      |     `-----memberships
 |      |      |      |      |      |     `-----user_roles
 |      |      |      |      |     `-----members
 |      |      |      |      |     `-----membership_mailer
 |      |      |     `-----config
 |      |      |      |     `-----initializers
 |      |      |      |     `-----locales
 |      |      |     `-----db
 |      |      |      |     `-----migrate
 |      |      |     `-----lib
 |      |      |      |     `-----generators
 |      |      |      |     `-----rails_datatables
 |      |      |     `-----public
 |      |      |      |     `-----images
 |      |      |      |     `-----javascripts
 |      |      |      |     `-----stylesheets
 |      |      |     `-----spec
 |      |      |      |     `-----controllers
 |      |      |      |      |     `-----admin
 |      |      |      |     `-----mailers
 |      |      |      |     `-----models
 |      |      |      |     `-----support
 |     `-----plugins

I added this line to the Gemfile file

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

I used

bundle install
Using rake (0.9.2.2) 
Using i18n (0.6.0) 
Using multi_json (1.2.0) 
Using activesupport (3.2.3) 
Using builder (3.0.0) 
Using activemodel (3.2.3) 
Using erubis (2.7.0) 
Using journey (1.0.3) 
Using rack (1.4.1) 
Using rack-cache (1.2) 
Using rack-test (0.6.1) 
Using hike (1.2.1) 
Using tilt (1.3.3) 
Using sprockets (2.1.2) 
Using actionpack (3.2.3) 
Using mime-types (1.18) 
Using polyglot (0.3.3) 
Using treetop (1.4.10) 
Using mail (2.4.4) 
Using actionmailer (3.2.3) 
Using arel (3.0.2) 
Using tzinfo (0.3.32) 
Using activerecord (3.2.3) 
Using activeresource (3.2.3) 
Using acts_as_indexed (0.7.8) 
Using awesome_nested_set (2.1.2) 
Using babosa (0.3.7) 
Using bcrypt-ruby (3.0.1) 
Using bundler (1.1.3) 
Using highline (1.6.11) 
Using net-ssh (2.3.0) 
Using net-scp (1.0.4) 
Using net-sftp (2.0.5) 
Using net-ssh-gateway (1.1.0) 
Using capistrano (2.11.2) 
Using coffee-script-source (1.2.0) 
Using execjs (1.3.0) 
Using coffee-script (2.2.0) 
Using rack-ssl (1.3.2) 
Using json (1.6.6) 
Using rdoc (3.12) 
Using thor (0.14.6) 
Using railties (3.2.3) 
Using coffee-rails (3.2.2) 
Using orm_adapter (0.0.7) 
Using warden (1.1.1) 
Using devise (2.0.4) 
Using dragonfly (0.9.11) 
Using friendly_id (4.0.4) 
Using paper_trail (2.6.3) 
Using globalize3 (0.2.0) 
Using jquery-rails (2.0.1) 
Using pg (0.13.2) 
Using rails (3.2.3) 
Using sass (3.1.15) 
Using sass-rails (3.2.5) 
Using truncate_html (0.5.4) 
Using uglifier (1.2.4) 
Using will_paginate (3.0.3) 
Using refinerycms-core (2.0.3) 
Using refinerycms-authentication (2.0.3) 
Using refinerycms-dashboard (2.0.3) 
Using refinerycms-images (2.0.3) 
Using seo_meta (1.3.0) 
Using refinerycms-pages (2.0.3) 
Using refinerycms-resources (2.0.3) 
Using refinerycms (2.0.3) 
Using routing-filter (0.3.0) 
Using refinerycms-i18n (2.0.0) 
Using refinerycms-memberships (1.0) from source at vendor/engines 
Using refinerycms-settings (2.0.1)

I use

rails generate refinerycms_memberships

but

/Users/stephane/.rvm/gems/ruby-1.9.3-p125@global/gems/bundler-1.1.3/lib/bundler/runtime.rb:74:in `require': cannot load such file -- refinerycms/memberships (LoadError)
    from /Users/stephane/.rvm/gems/ruby-1.9.3-p125@global/gems/bundler-1.1.3/lib/bundler/runtime.rb:74:in `rescue in block in require'
    from /Users/stephane/.rvm/gems/ruby-1.9.3-p125@global/gems/bundler-1.1.3/lib/bundler/runtime.rb:62:in `block in require'
    from /Users/stephane/.rvm/gems/ruby-1.9.3-p125@global/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in `each'
    from /Users/stephane/.rvm/gems/ruby-1.9.3-p125@global/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in `require'
    from /Users/stephane/.rvm/gems/ruby-1.9.3-p125@global/gems/bundler-1.1.3/lib/bundler.rb:119:in `require'
    from /Volumes/MacData/appnew.com/sites/appnew/config/application.rb:7:in `'
    from /Users/stephane/.rvm/gems/[email protected]/gems/railties-3.2.3/lib/rails/commands.rb:24:in `require'
    from /Users/stephane/.rvm/gems/[email protected]/gems/railties-3.2.3/lib/rails/commands.rb:24:in `'
    from script/rails:6:in `require'
    from script/rails:6:in `'

Could you help me ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.