Questions tagged [flags]

Use it for the module implementing a flexible flagging system, completely customizable by the administrator users: the Flag module.

131 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
2answers
113 views

How to create a read-only flag that can only be used by an admin to actually flag nodes?

Long story short, I installed Flag because Best Answer was not working properly. Is it possible to configure flags so that only the admin can flag something (aka an answer as being approved) but ...
4
votes
1answer
219 views

How can I implement a flag module with caches but won't affect cache the flagging nodes?

According to a post here, I have installed flag module to implement product comparison. However I found that the CPU usage is very high 80-90%, then I tried to install boost and Views content cache to ...
4
votes
1answer
425 views

Node access user reference

Main Modules: Node access user reference Node access node reference Flags Rules I'm trying to give access to a user that clicks on a Join Project flag link. I have a User Reference Field attached ...
3
votes
0answers
73 views

Check if node is flagged after webform submit. Rules

I have a webform block on a node. I'm trying to send emails to the node (field email) after webform is submitted but only if the current node has been flagged (not the webform). I would presume that ...
3
votes
0answers
64 views

Why Each user can modify flag field of other users by VBO(Views Bulk Operation)?

I have many users, and I have a flag and also flag field. users can flag contents and add value in flag field when they are flagging a content. for modifying flag field I'm using VBO Module. But each ...
3
votes
1answer
27 views

How to show Users and Nodes in a single view?

Using the Flag module I have created a bookmark flag for User and Node entities. Working so far so good, but I cannot create a view that displays both Node and User entities in one view. How do I do ...
3
votes
1answer
1k views

Displaying Content Flagged by User Name with Flag Module

I'm using Drupal 7.38 with the Flag (v7.x-3.6) module, along with Views. I'm setting up a flag for content. My goal is to display a list of users whom are flagging content (along with aggregated ...
3
votes
1answer
82 views

How to periodically deduct user points for flagged nodes?

I have a node which is published. And I have a global flag, which users have to mark to make nodes visible in Views. This is easy to do. But then I need to charge 40 user points for every day that ...
3
votes
1answer
167 views

How can I set a flag to be flagged unlimited number of times?

I have a flag on a node that anyone can flag. The flag is tied to a Rule that executes an action. Essentially I need to be able to allow any user to flag a node as many times as they wish and track ...
3
votes
1answer
304 views

add flag to product display view

I have a product display using facets that I have tried in vain in views to add a flag/unflag link to with views I already built a separate comparison view with the relationship to flag and the ...
3
votes
2answers
337 views

How to add a 'flag link' in an email?

I want to add a 'flag link' in an email. I have an event content type, and every time a new event created, the users get an HTML Email. I have a flag that the users can flag this event if they want to ...
2
votes
1answer
32 views

How to exclude views fields from display when a node is flagged

We use the flag module to mark items that will have delays in shipping so that the customer knows that those items will be delayed before adding them to cart. In drupal 7, we excluded our "add to cart"...
2
votes
2answers
97 views

Is there a way to add non indexed fields to a search api view?

I’m wondering if it’s possible to add non-indexed fields to a search API indexed view? I want the standard flags fields to be available on the indexed search view. And I was thinking I could do this ...
2
votes
1answer
64 views

Panel Page with Node Views, Flags and Rules Integration

I created a page where users can submit friendly games. Other users can show their interest by flagging (Flag A) these games. The author of the game can see all prospects in another view (View 3 ...
2
votes
1answer
82 views

How to send a message notification based on a flagged node being linked via entity reference?

I'm trying to figure out how to make the following work: Sending notification based on flagged node being linked via entity reference. I have a 'News' content type and a 'Band' content type, that has ...
2
votes
0answers
40 views

Send email to user on new term save depending on flagged content

I have a content type 'my_content' with two nodes. These nodes can be flagged by each user (NOT global flag) with the flag 'my_flag'. This content type has a field 'machine_name'. Now, using feeds I'...
2
votes
1answer
123 views

Show login or register to anonymous user fro flag

I created flag for nodes and trying to show a login or register link to anonymous users instead of the flag button on a node page (panels). A redirect to the signup form would be ok as well. I tried ...
2
votes
1answer
48 views

Flags - show a flag marker even if user cannot modify it

I have been able to set up a flag with Advanced forum to allow users to mark comment in a thread they started as an accepted answer. It was simple to set up and works well. However, it seems Flag ...
2
votes
0answers
252 views

How do I add two Flags counts to a a single view?

I'm looking for a method where I can have two flag counts in the same view. For example: I would like to list Authors, with a count of how many other people 'follow' them, and at the same time I would ...
2
votes
1answer
65 views

How to send notification when node similar to flagged one is posted

I want to send notifications to the user when a new node similar to one he has flagged is posted.
2
votes
2answers
436 views

How do I send notifications for followers of a group when group content is updated?

I want to build such functionality that allow the user to follow the other users, and when the followed person is updating the information, the follower can get notified for what they are doing. I ...
1
vote
1answer
15 views

Node is flagged, node author comes back to the site, how to show how many new flags since last visit?

I created a "new activity feed" view page in which a user can see how many new comments have been posted to his own nodes since his last visit Eg : since you last last visit : - 21 new comments have ...
1
vote
2answers
492 views

How to use the flag counter in a twig template of a node?

The version dev of the module "Flag" for "Drupal 8" has added a new sub module "Flag Count": https://www.drupal.org/project/flag/issues/2708291 I copied the code {% set count = '[' ~ flagcount(flag,...
1
vote
1answer
26 views

Allow a user to manage his/her own users and be able to assign roles

I need to give access to a specific user with a specific role to be able to give the user role but not the administrator My case is that the website I'm building needs different kinds of admins and ...
1
vote
1answer
107 views

How to set a flag at node when user view node?

I have a content type 'page'. When a user views this node, I want a flag to be set automatically not by flage module link. Any help?
1
vote
0answers
84 views

How do I use the message module with the flag?

On Drupal 8 I installed the "Message" and "Flag" modules. I created a flag "Report content" and I want a message to be sent to the site administrator as soon as a content is reported. Messages will ...
1
vote
1answer
67 views

unflag from all users

I have created a views list of users who are flagged offensive by other users. I want a button in front of each user to clear that flag from him from every user. So if admin after checking the user ...
1
vote
0answers
595 views

When to use Flag's submodule flag_actions instead of Rules Actions?

If you enable the Flag module, but not its submodule flag_actions (with short description "Execute actions on Flag events."), and you navigate to admin/structure/flags, then near the bottom it shows a ...
1
vote
0answers
31 views

What is the benefit of using Entity types over Entity bundles from a usability perspective

I have installed ECK and created different entity types for a project management website. For example Project, Group, Task, Report. Each entity type requires at least one bundle, so I named the ...
1
vote
0answers
31 views

Refresh page only for flagged node author

I'm trying to refresh page for only the flagged node author with rules and views_nodejs. What is the right rule configuration to make this happen?
1
vote
0answers
31 views

Is it possible to add a flag to a specific role user without using VIEW module?

I have downloaded profile2 module and I have created a specific role called artist. I also added some fields so to be shown only for the artist role users' on the registration form. Then I added a ...
1
vote
0answers
32 views

VBO is not 'seeing' hook_flag_validate

I have used VBO on a view for a particular set of nodes that have a flag associated with them. In the view I have included a javascript toggle button for each node so a user can flag the nodes they ...
1
vote
1answer
103 views

How to make the Rules module block flagged users from sending entityform submissions?

I am trying to create a simple block user functionality on my site. I have a "Block/Unblock User" Flag that other users can block and unblock so they stop getting contact emails from (via entityform) ...
1
vote
0answers
49 views

When I flag a user with a rule, how can I set the value of a flagging field?

I have a rules action component that I use in VBO to flag users with a punish flag. The punish flag has a reason long text field. In rules, the component is an action set that consists of the action ...
1
vote
2answers
28 views

Ability to create forms for each node in Drupal 7

I am creating articles in which I want to ask, on each article, that whether the it was helpful to read or not. The user would have two option boxes:- © Yes © No One of these will be selected and ...
1
vote
1answer
105 views

Flag, flag link ang flagging - create advance relationship

On my site I have two content types: event – with node flag “Attend” and Entity Reference field band And flags: “Attend” – node flag - with Entity Reference field “Accept” – flagging flag – ...
1
vote
1answer
106 views

Pay to flag a node with drupal commerce

Please help achieve the folowing: I have a content type "proposal" with a field "prépayment_amount". I want the user who try to flag this node to pay the amount indicated in the field "...
1
vote
1answer
129 views

Adding fields to Flag Lists

I'm using the Flag Lists module to manage user wish lists. I need to add additional fields to the lists such as "body" I go to /admin/structure/flags/manage/fl_template/fields add the required fields, ...
1
vote
0answers
42 views

flag node when clicking on a link in a view (not a flag link)

I have a view which displays nodes information on a table, each row is a node, in each row I have two links, one opens a node file field in a new window, the other one open a colorbox showing the node ...
1
vote
3answers
276 views

Authenticated users must be able to flag webform submissions

Authenticated users must be able to flag webform submissions. How can I make this work?
1
vote
1answer
158 views

How to flag or unflag an entity with multiple flags at once?

I have a large number of user Flags created. When a user performs certain actions on the website a Rule is triggered Flagging them (based on the action) which in turn provides that user with ...
1
vote
0answers
122 views

How to flag the node that is referenced via an entity form submission with rules?

I am trying to recreate an "enquiry basket". I am using Entityform, Inline Entity Form, Rules, Views and Flag. I have a node content type called Custom product. I am referencing different entity ...
1
vote
0answers
26 views

How to create a View that shows flag fields and the number of times flagged per field

The idea is as follows: I have a site where articles are evaluated with 7 labels. Authenticated users (not only the author) must be able to select a number of labels they want to apply to the article. ...
1
vote
1answer
51 views

Flags, rules and node type situation

got a situation with flags, rules and node type... I have an event website where people can add events to their own calendar. Once the event is completed, they can then edit their "registration" to ...
1
vote
1answer
37 views

How to limit flagging of articles to users with sufficient userpoints using Rules?

I am using User Points and Rules. Users earn points for publishing and commenting but are deducted points for flagging their articles for announcement on the front page (a kind of a fee). The fee per ...
1
vote
0answers
27 views

How to use flags to record and show 'visited this place' by users on a node type 'destination' in a tourist site?

This is about the Flag module. How can I show under respective node, the count of those users who visited that place(node type is a destination, which acn be flagged as visted/not-visited). Going ...
1
vote
1answer
256 views

How to get flag count for any time period

I have View which displays a list of nodes with counters (flags), but the counters for all the time. How to display a list of nodes with counters (flags), for example, over the last week or last month?...
1
vote
1answer
33 views

Making a fan site

I'm trying to create an artist/fan base site. I have created content type(artist) and would want to add a "be a fan" tag to it. Where owner of content(artist) can see who fanned him and fan can see ...
1
vote
0answers
27 views

Other flags are also inserting into flag_friend table

I have a user flag "shortlist". And I also installed Flag Friend module. This module creates a default flag named as "friend". I am creating these two flag links in "user-profile.tpl.php".` ...
1
vote
1answer
198 views

How get subscribe to user flag on a node

I have a node for example news I have Message module installed I've enabled the flag subscribe to user I want people to be able to subscriber to a user. To get updates on thier latest post. I want ...