So now I have location assignment and searching for groups functional. Next up are photos and avatars. I have briefly looked at how the User is setup, and it appears that the User is tightly tied to the Photo model. What approach would you take in adding the same Photo functionality that a User has to Group?
IMO, getting this far, I haven't kept things as DRY as I had hoped, and it looks like this isn't going to be any better. Right now the path it appears I will take is to make a GroupPhoto model and basically duplicate the Photo model. got a better way? -- Levi Rosol Twitter: @LeviRosol On Wed, Dec 3, 2008 at 1:03 PM, Bruno Bornsztein <[EMAIL PROTECTED] > wrote: > Thanks Levi, > I'm glad your working on improving the codebase to suit your needs, and > I'll definitely take a look at whatever you're willing to contribute back to > see if it can be integrated into the core. > @marcus: backwards compatibility is a must for me (I've got production > sites running on CE), so anything that makes it into core will be > compatible. > > > On Wed, Dec 3, 2008 at 11:24 AM, Levi Rosol <[EMAIL PROTECTED]> wrote: > >> I should clarify that I'm building this to meet a need I have for my >> application. I hope that it can be used within CE in part or in whole. >> However, my knowledge of RoR is minimal and building this addition as a >> plug-in/module/etc is not in the scope of what I'm doing. >> >> I do think that it will be pretty simple move for someone who has a better >> understanding of what the final structure needs to be. It's also a process >> I'd like to be involved with as a way to learn, but I don't think I'll be >> able to take ownership of that move. >> >> Levi Rosol >> Twitter: @LeviRosol >> >> >> On Wed, Dec 3, 2008 at 10:09 AM, marcus.rosentrater < >> [EMAIL PROTECTED]> wrote: >> >>> >>> Correct me if I'm wrong, but it seems like this implementation of >>> groups will be in the core of CE, effecting models, shuffling fields. >>> >>> Will this be backwards compatible? >>> >>> Is anyone working on a plugin based implementation of groups? Where a >>> group feature can be added or removed? >>> >>> This would be much more conducive to the purposes that we use >>> community engine. >>> >>> On Dec 2, 2:04 pm, "Levi Rosol" <[EMAIL PROTECTED]> wrote: >>> > So now i have the following models: >>> > >>> > Group >>> > Membership >>> > GroupRole < Role >>> > Group_Permission >>> > >>> > Currently you can create a new Group. When you do, the current_user is >>> added >>> > to the Membership collection and gets the Owner permission added. >>> > The index view lists the Groups >>> > When you view a group, you just see the Group info >>> > >>> > Next on my plate is to build out the Group profile page. I'll post my >>> > updates as I have them. >>> > >>> > Levi Rosol >>> > Twitter: @LeviRosol >>> > >>> > On Tue, Nov 25, 2008 at 9:15 AM, Levi Rosol <[EMAIL PROTECTED]> >>> wrote: >>> > > I started last night and should have something to show soon. I'm >>> trying to >>> > > keep this initial run at this generic, and will worry about my >>> project >>> > > specific stuff after i send it to you. >>> > >>> > > Levi >>> > >>> > > On Tue, Nov 25, 2008 at 9:01 AM, Bruno Bornsztein < >>> > > [EMAIL PROTECTED]> wrote: >>> > >>> > >> I don't plan on working on it anytime soon (not high on my >>> priorities >>> > >> list). Let me know when you make some headway, I'd love to check out >>> the >>> > >> repo. >>> > >> Thanks, >>> > >> Bruno >>> > >>> > >> On Mon, Nov 24, 2008 at 3:40 PM, Levi Rosol <[EMAIL PROTECTED]> >>> wrote: >>> > >>> > >>> Anyone planning to jump on this? If not, i will, but i can't put >>> any >>> > >>> guarantees when it will be done as it will be a learning process >>> for me >>> > >>> throughout. >>> > >>> > >>> Levi >>> > >>> > >>> On Fri, Nov 21, 2008 at 11:45 AM, Levi Rosol <[EMAIL PROTECTED] >>> >wrote: >>> > >>> > >>>> So how should we go about attacking this? >>> > >>> > >>>> Levi >>> > >>> > >>>> On Fri, Nov 21, 2008 at 9:21 AM, Max Schubert < >>> [EMAIL PROTECTED]>wrote: >>> > >>> > >>>>> On Fri, Nov 21, 2008 at 8:14 AM, Bruno Bornsztein >>> > >>>>> <[EMAIL PROTECTED]> wrote: >>> > >>>>> > Hi guys, before things get too complicated, here's more of what >>> I had >>> > >>>>> in >>> > >>>>> > mind: >>> > >>> > >>>>> > Profile is just a container for things that go on the profile >>> page >>> > >>>>> for a >>> > >>>>> > group or user, and has a polymorphic association (so it can be >>> > >>>>> associated >>> > >>>>> > with anything, really). Users stay the same, group is a new >>> object, >>> > >>>>> and >>> > >>>>> > users belong to a group through a Membership, which also >>> describes >>> > >>>>> the users >>> > >>>>> > Role in the group (admin, moderator, member) via the existing >>> Roles >>> > >>>>> table. >>> > >>> > >>>>> > Make sense? >>> > >>> > >>>>> Very nice :) >>> >>> >>> >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
