Hi,

I am trying to setup member-extension with ruby1.8.6, rubygems1.3.1,
rails2.3.2 (installed from rubygems), and radiant0.7.1 (installed from
rubygems) on Fedora 10. Radiant with mysql5.0 is setup, and admin
login works.

I have done:
  git init

>From this documentation:
http://blog.aissac.ro/radiant/member-extension/

I have done:
git submodule add git://github.com/rails/auto_complete.git
vendor/plugins/auto_complete
git submodule add git://github.com/mislav/will_paginate.git
vendor/plugins/will_paginate
sudo gem install mislav-will_paginate --source http://gems.github.com
git submodule add git://github.com/Aissac/radiant-member-extension.git
vendor/extensions/member

Completed the rake tasks:
rake radiant:extensions:member:migrate
rake radiant:extensions:member:update

Created the file config/initializers/member.rb having:

=== member.rb ===

MEMBER_LOGIN_PATH = '/members'
MEMBER_HOME_PATH = '/home'
MEMBERS_ROOT = 'home'
REST_AUTH_SITE_KEY = 'foo'
REST_AUTH_DIGEST_STRETCHES = 10

=== END ===

I have commented the following in config/environment.rb:
# config.frameworks -= [ :action_mailer ]

I logged in as admin and created a home page having:

=== home page ===

<h2>Log in</h2>
<form action="<r:member:sessions />" method="post">
  <p><label>Email</label><br />
  <input id="email" name="email" type="text" /></p>
  <p><label>Password</label><br/>
  <input id="password" name="password" type="password" /></p>
  <p><label for="remember_me">Remember me</label><br />
  <input id="remember_me" name="remember_me" type="checkbox" value="1" /></p>
  <p><input name="commit" type="submit" value="Log in" /></p>
</form>
<script src="/javascripts/prototype.js" type="text/javascript"></script>
<script src="/javascripts/cookiejar.js" type="text/javascript"></script>
<script src="/javascripts/member.js" type="text/javascript"></script>
<div id="flash" style="display:none"></div>
<script type="text/javascript">
  document.observe("dom:loaded", function () {
    flash.show('flash', 'notice')
  })
</script>
<div id="flash" style="display:none"></div>
<script type="text/javascript">
  document.observe("dom:loaded", function () {
    flash.show('flash', 'error')
  })
</script>
<div id="flash" style="display:none"></div>
<script type="text/javascript">
  document.observe("dom:loaded", function () {
    flash.show('flash', 'notice')
  })
</script>

=== END ===

I have created a user account by logging into the admin page.

1. When I start the server using "ruby script/server -e development",
and open URL as localhost:3000 I get the form page with e-mail address
and password. But, user account is created with username and password?
So, how to use this example?

2. Opening "http://localhost:3000/admin/members"; gives the following
error message:
http://shakthimaan.com/downloads/trash/members.html

Appreciate any inputs in getting member-extension up and running,

Thanks!

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com
_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to