Just to update anyone who was reading this thread, I'm having great
success so far.

Instead of integrating CE with my authentication method, I simply
imported my old users table into CE's and eliminated my code. Since I
wasn't using salt, I kept it blank and overrode the encrypt_password
and self.encrypt methods of User to ignore salt. Before I launch I
will improve my overrides to begin to migrate folks to use salt upon
their first login to the site. When some time has passed, I can drop
my overrides.

I also learned that all my old controllers must be changed to inherit
from BaseController. When I did that, many of my old pages came to
life.

I decided not to migrate my friends data from my existing concept of
friendship, and rather have everyone re-initiate friendships with each
other after I (re)launch. The reason is that CE's model is a bit
richer, since it contains information about which user initiated the
friendship. Rather than impose my own algorithmic choice there, I'll
let the users recreate things. I don't have a lot of users anyway, and
many of them have no friends, so they don't have a lot of work to do.

I have two tasks to do next. First, I want the users page that lists
all users to become a page that lists only the friends. I don't want
my users to be able to browse all the site's users. Second, I must
integrate the activities unique to my site into the Event system,
since I had such a system and consider it very important to add the
activity to the overall feed. After those, I will more tightly
integrate my own data structures into the look and feel of the site to
make things seamless. Then I will tackle facebooker!

Thanks for a great opportunity to really expand the scope of my site!

On Oct 22, 10:48 pm, GregL <[email protected]> wrote:
> On Oct 22, 9:23 am, Bruno Bornsztein <[email protected]>
> wrote:
>
> > CE's authentication is just based on restful_authentication (and before
> > that, acts_as_authenticated). The edge branch is now using authlogic. I'd
> > recommend using CE's authentication and user model, and then just adding
> > your app-specific user methods in your user.rb.
>
> > > Oh and, I'm especially hoping that after I integrate CE, I can also
> > > make use of the facebook connect features, which I had embarked on
> > > myself already, but sort of stalled. Can I still use the FB plugin for
> > > CE if I provide my own authentication logic?
>
> > Nope, CE_Facebooker depends on the authentication logic provided with the
> > default CE distribution.
>
> OK, thank you for this info. I'll take a close look at both the user
> models and see if I think I can adapt my app. My authentication logic
> is crap anyway, so probably this would pay off in more than one way.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CommunityEngine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/communityengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to