ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Can EE do this?

October 12, 2011 1:27am

Subscribe [2]
  • #1 / Oct 12, 2011 1:27am

    dhc

    86 posts

    Whilst reasonably experienced in EE 1 I’m brand new to v2. Can you tell me if any version can do the following?

    The first thing I’d like EE to do is dynamically form a closed group of users.  These users would be automatically registered using data pulled from Facebook (email address and name) and would have access to a closed area of the site (ie example.com/usergroup1/).  Only members of this group can see this area.  Ideally, one of these users would have extra privileges (see below).  Though as yet I’m not sure if Facebook will allow me to distinguish this user in any way.

    Next I’d like to create a reasonably complex multi-page form, the most challenging part of which is the second page.  Here users will enter up to five steps they want to take in order to achieve a goal. Each step will be in an individual field and will be editable by anyone in the group formed from above.  So far, so easy – I think.

    The challenging part is that next to each field is are two links “Accept” and “Reject”.  If the user clicks “Accept” that field is locked and no longer becomes editable.  If the user clicks “Reject” a new form appears(possibly in a modal window) that allows the user to enter a message and to click Send.  When send is clicked the message, plus the contents of the original field (as when “Reject” was clicked) are emailed to everyone in the closed group.  Oh and to make it more complicated, in an ideal world only the user with extra privileges would be able to click “Accept” or “Reject”

    Now what seems to me is the really challenging bit.  On page three of this form are five more fields where the user (again, ideally only the one with extra privileges) enters dates into five fields.  On submitting this the dates are entered into an email scheduler.  So for example, if the first date entered is 15 Nov 2011 this would be somehow entered into a scheduler that would send one email on 14 Nov and a second on 15 Nov.  These emails would go to everyone in the closed group, though a different message would be sent for the user with extra privileges.

    Sorry this is so long, thanks for taking the time to read it through.

    Dave

  • #2 / Oct 12, 2011 10:09am

    Sue Crocker

    26054 posts

    Hi, Dave.

    To be honest, this is going to require custom coding. We don’t allow parts of an entry to be uneditable, it’s kind of all or nothing. Also there is no built in functionality for emailing a group when something is edited. You might be able to find something over on Devot-ee.com.

  • #3 / Oct 12, 2011 4:45pm

    dhc

    86 posts

    Thanks for the reply Sue.

    Can EE automatically create the kind of closed group I’m looking for?

  • #4 / Oct 13, 2011 7:06am

    Sue Crocker

    26054 posts

    Do you mean create members on the fly from Facebook, or what exactly?

  • #5 / Oct 13, 2011 7:44am

    dhc

    86 posts

    Hi Sue,

    In essence, yes.

    To be specific:
    A user who is signed-in to Facebook would come to my EE site. They’d use a link on the site to add up to five of their Facebook friends and I’ll pull their names and email addresses using Oauth.

    I’d like to use this data to register these individuals on the fly and then form a unique group from them.  I’d check their email address to see if they’re already registered and if they are, add the existing member to the unique group.  It would be ideal if within this group the user has a certain role and the people he or she has added have a different role.

    All members of this group can then have access to a certain area of the site.  No one outside this group has that access.

    I hope I’m explaining this clearly enough, do let me know if not.

  • #6 / Oct 13, 2011 2:04pm

    Sue Crocker

    26054 posts

    Hi, Dave.

    What you are describing sounds like a custom module you’d need to create or have created for you. Keep in mind that currently EE2.x only allows for one member group per username, and that member groups are typically meant to manage content permissions.

    There wouldn’t be any sort of role member field, unless you choose to create a new custom member field for it.

    Greg Salt is one member who has done some stuff with Facebook, there may be others.

  • #7 / Oct 14, 2011 12:51am

    dhc

    86 posts

    Thanks Sue. I’ll keep looking.

  • #8 / Oct 14, 2011 7:47am

    Sue Crocker

    26054 posts

    Would you like me to keep this open a few more days, or close the thread?

  • #9 / Oct 14, 2011 8:06am

    dhc

    86 posts

    It’s fine to close, thank you.

  • #10 / Oct 14, 2011 8:49am

    Sue Crocker

    26054 posts

    Closing.. If anything else comes up, please do let us know in a new thread..

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases