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.

Sub-Accounts - An idea on how to use EE to host a site for children.

September 16, 2011 11:07am

Subscribe [1]
  • #1 / Sep 16, 2011 11:07am

    IOS Admin

    33 posts

    We are currently using EE and need to expand to be able to support children with logins.

    Because of EE’s restrictions on multiple accounts with the same email we can’t just use accounts normally as many families with multiple children have one main email address.

    A possible solution I am thinking about is to have adults (parents) create an account and then from the logged in parent account allow them to create child sub-accounts. In this process I would control the email address assigned to the account and set it to an email address at our domain based on a unique value such as .(JavaScript must be enabled to view this email address) where the email prefix maps to the adult account and the child account such that I can setup an email processing script to rewrite all emails to the parent email address.

    My main goals would be to NOT hack EE so that I can have confidence that EE and Add-Ons continue to work as expected.

    - Does anyone foresee an issue with creating a user account while logged in?

    Any other issues, or feedback?

    Anyone already doing something like this?

  • #2 / Sep 19, 2011 8:55am

    IOS Admin

    33 posts

    In thinking about this more I believe the best way to accomplish what I need is to be able to inject code just prior to an email being sent that looks for a child email address (invalid) and replaces it with the associated parent email address (valid). Unfortunately there doesn’t seem to be a extension hook before an email is sent—only after. I am guessing this isn’t something that the folks at EE will just whip up and make happen in the next week or so. So, what can I do?

    Any other ideas?

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

ExpressionEngine News!

#eecms, #events, #releases