Posted by kenyan on December 1, 2012 at 2:39am
I'm obviously in way too deep here.
Is it possible to code a module that would allow for example a user owning a profile on my site, to make edits on his profile and these edits would also get posted on his external drupal site and vice versa? fbconnect for example kinda works this way but I'm needing this done cross-drupal.
What would be the security implications of such an implementation if it is possible?
Apologies if this is the wrong forum but I'm thinking the coders would know best.
What is the general cost of such a module if anyone cares to share?
Comments
You can make use of
You can make use of http://drupal.org/project/services which allows you to create, update, delete users, nodes, etc.
Hth,
Sadashiv.
I suspected this was probably
I suspected this was probably the way to go.
Now to find someone to build the service for me.
You can also set up Drupal
You can also set up Drupal using the multisites feature (part of core), and share tables across instances. As the linked page says however, you need to proceed carefully when choosing to do this, as updates become a little tricky.
Jaypan We build websites
I'm already using domain
I'm already using domain access multisites for the guys who I host. The problem is those that have hosting elsewhere so multisites is no longer an option for this group (unless I am mistaken).
Module or shared user tables if you own both sites
If you own both sites on which you want to keep info in sync, you can point certain database tables to a common database thus sharing the info (you will have to tweak your DB config array in settings.php).
Services or you can expose the info as a service or just add a switch to theme the info as valid XML and then have a module take that info every time the profile is updated (hook_user_update) and update the profile fields $user object
-----
Donny Nyamweya - cmsproducer.com
The sites are across
The sites are across different hosts and owned by the users. I've no control of how/what they might decide to get upto so database sharing is out of the question (apart from the trusted few I host myself who are not covered by this solution seek).