Hi all,
I am searching for a module which allows admin to change the ownership of drupal node. My requirement is something like this, I am working on a project similar to linkedin.com where users can register, create a profile and share it with other. Here the profile is a CCK node (with some fields restricted to users based on roles) implemented using content_profile module. Sometimes admin has to create a profile node for site users. When the user registers in our site, he should be given a link where he can make a request to takeover the ownership of the profile node. Is there a module exists for this ? Any suggestion pertaining to this will be greatly appreciated.
Not sure about a module for this, but you could probably get by with Actions.
Other than that, all you would really need to do is create a custom module on your site and do a node_load, node->author = $user->name, node_save
On Wed, Nov 18, 2009 at 12:38 PM, sivaji j.g sivaji2009@gmail.com wrote:
Hi all,
I am searching for a module which allows admin to change the ownership of drupal node. My requirement is something like this, I am working on a project similar to linkedin.com where users can register, create a profile and share it with other. Here the profile is a CCK node (with some fields restricted to users based on roles) implemented using content_profile module. Sometimes admin has to create a profile node for site users. When the user registers in our site, he should be given a link where he can make a request to takeover the ownership of the profile node. Is there a module exists for this ? Any suggestion pertaining to this will be greatly appreciated.
-- Thanks Sivaji
-- [ Drupal support list | http://lists.drupal.org/ ]
On Wed, Nov 18, 2009 at 11:38 PM, William Smith william.darren@gmail.com wrote:
Not sure about a module for this, but you could probably get by with Actions.
Thank you for this nifty module. I will use it for some other purpose.
Other than that, all you would really need to do is create a custom module on your site
Yup i can write a module to achieve this, my concern is not to waste time on reinventing the wheel. I would like to clarify few things here 1. Is it worth enough to contribute this module to drupal community ? 2. I am writing this module for an organization in USA, do i need to get their permission before sharing the code ? 3. If the organization is not willing to share the code, it means they are violating drupal GPL constrain isn't it (i'm not sure about licensing) ?
Please enlighten me on this.
and do a node_load, node->author = $user->name, node_save
I think i need to change $node->uid as well.