Hi;

I had posted a general question here: http://drupal.org/node/787628 "My client has a business directory site (focused mainly on nonprofits) built with Drupal 6. His plan is that this weekend he is going to have some volunteers all log into the site using the same username and password to post nonprofit listings.

Then on each listing he wants a graphic link that reads something along the lines of "Is this you? Click here to take over this listing"; upon clicking on that link, they'll be taken to register for the account and that listing will be automatically assigned to them as though they were the original author, granting them access to edit any information in that listing right away."

This module, along with the Claim Node Ownership (http://drupal.org/project/claimnodeownership) module were both suggested to me as possible ways to make this work. I've installed both modules, but I need help getting further integration to make it work exactly the way we're wanting it to?

When I set the permission for anonymous users to claim ownership and tested, the node author was simply changed to "Visitor", without ever directing me to register or create an account. How can I get this set so that only anonymous users can claim ownership of a node, but before the node's author is changed, that anonymous user is taken to register for an account?

Thanks

Comments

fago’s picture

Title: Integration with Claim Node Ownership? » Integration with Rules?
Project: Rules » Claim Node Ownership
Version: 6.x-1.2 » 6.x-1.x-dev
Component: Features integration » Code

It's up to Claim Node Ownership to provide rules integration.

Fanaile’s picture

Okie - thanks fago...

Sorry for posting it in the wrong area :)

mitchell’s picture

Here's an idea how to do this:
- Install Session API
- Make a flag called 'claim' with text like "is this you?" for an anonymous/registered users
- Figure out how to setup the registration workflow with flag and session api (idk)
- Make a rule "when user flags content with claim_node, set the content author of flagged content as flagging user"
- If you want to disallow people from continuing to do this, you could leave it flagged (claimed)

@fago: Could this be done without flag using the a rules ui button?

sanguis’s picture

Status: Active » Postponed

I think this is a version2 idea that I would love to tackle when I have the time.

netgeek123’s picture

Has anyone figured this out yet?

A pass through commerce would be fantastic.

Claim node flag > Rules > Register user> Commerce > Check out passes > Node ownership changes