Listing users across multiple sites
Permalink
Hi there
Loving concrete5 so far, taken to it like a duck to water in past few weeks!
However, I face a dilemma. A client recently spoke to me about setting up sort of a 'spider-web' of websites- for example, there's 1 centralised site (a 'union' site) and 4 or 5 sites that function separately from this (but are sort of governed by the union site).
I will run the union site and 4 or 5 subsites as websites in their own right, but I need the union site to be able to display a list of users that are registered on the various websites (and even better be able to interact and edit them as though they are editing on the actual website). I wondered if there is a way to do this by accessing the 4 or 5 subsite databases from the union site (on the members single page in the union site) and display the content, but this seems a bit of a bodge way.
Any ideas how I might go about this?
Thanks!
Loving concrete5 so far, taken to it like a duck to water in past few weeks!
However, I face a dilemma. A client recently spoke to me about setting up sort of a 'spider-web' of websites- for example, there's 1 centralised site (a 'union' site) and 4 or 5 sites that function separately from this (but are sort of governed by the union site).
I will run the union site and 4 or 5 subsites as websites in their own right, but I need the union site to be able to display a list of users that are registered on the various websites (and even better be able to interact and edit them as though they are editing on the actual website). I wondered if there is a way to do this by accessing the 4 or 5 subsite databases from the union site (on the members single page in the union site) and display the content, but this seems a bit of a bodge way.
Any ideas how I might go about this?
Thanks!
If you can put together some mockups and get a deliverable timeline or something I can take a look at it, but this is a custom app.
You can drop into each of the 5 sites through the Loader::db and provide the right connection settings to get the lists of users and things, but you'd want to attach a db object or a reference to each site's db object from that so you can figure out which site the user is from..so there's a bit to explore there.
You could always just ask each of the 5 sites if the user exists there and then update it.