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.