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.

Login As Member function on front-end

June 13, 2008 6:42pm

Subscribe [2]
  • #1 / Jun 13, 2008 6:42pm

    S. Lee Ware

    39 posts

    Greetings EE community.

    I would like to replicate the basic ‘Login As Member’ function available in the EE CP to the SuperAdmin user group on the front end of a site.

    A SuperAdmin would login to the site (frontend) through the basic member login form.  Normally a logged-in ‘client’ (not SuperAdmin) would click “Client Accounts” and be taken to the data specific to them.  However, when a SuperAdmin clicks the “Client Accounts” button, they are taken to a page listing all of their ‘clients’.  I would like each client name to be a clickable link that would then log the admin in as that ‘client’ and take them to that client’s specific section - essentially the behavior of the “Login As Member” feature in the CP (give or take a few steps).

    The reason for doing this?
    1) The site will be administrated by non-technicals for whom logging into the CP is a disorienting step.

    2) I am setting up each ‘client’ with their own weblog and user group, and am populating their custom content templates based on these factors.  There is no good way to pass weblog or usergroup data in the URLs, so accessing the custom content template while logged in as a SuperAdmin won’t work well, whereas logging in as the particular ‘client’ and therefore being of the right usergroup can also pull in the right weblog data.  Is this clear?

    Thanks in advance to any ideas.

  • #2 / Jun 17, 2008 9:51pm

    S. Lee Ware

    39 posts

    I hate to bump my own posts, but this really is something I need to accomplish and haven’t found any information specifically relating to it in the docs or other resources.  Any hints or helps are much appreciated.

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

ExpressionEngine News!

#eecms, #events, #releases