1

I have a site where people can sell their own items, so when a user creates a new product there is a flag "request product" that is added on the content.

I want the user who created the product to be able to unflag requests from other users.

Is this possible? Thanks

2

You could use the Rules module as it integrates very well with the Flag module.

Check out the Flag video series by Johan Falk. Part 7 is specifically regarding Rules.

In short you're looking to generate a list of users that have flagged a node and then with built in Rules actions, unflag them.

  • the website you mentioned is unavailable. Could you add to you answer how the Rules actions are built? Does one use "rules link" module? – milkovsky Sep 1 '16 at 9:24
0

You could also look at the "Flag Clear" module. This module will offer a much more straightforward approach to your problem than using a twisted Rules logic.

This module provides functionality to remove user flags for nodes and other entities.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.