Questions tagged [flags]

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

Filter by
Sorted by
Tagged with
2
votes
1answer
265 views

Which user related token(s) can be used to create a Rule for setting up a message type?

I have created few activity logs using the Message module. All works ok, but when I try to create a message type for example "username started following you on github". When setting up the rules for ...
1
vote
1answer
361 views

How to show message view containing own and following activity?

I have created a message view using the Message module. I want this view to show the current user activity and activity of the user he is following using the "follow" flag (user). i.e own + following. ...
5
votes
6answers
4k views

How to add a custom icon or symbol to a flag link?

I'm working on a 'sample request' implementation for a commerce site using Flag, Views, sessions and a little custom code. I'd like to add an icon or a symbol to let people know that an item they are ...
1
vote
1answer
492 views

How to access commerce_product field of line-items using Rules to flag the Commerce Product?

Related to this question: How to mark product if it has already been purchased by current user? I have a Drupal Commerce shop, where I'm trying to use the Flag module to mark products to inform users ...
18
votes
6answers
7k views

View of users flagged by a user, users flagging a user, and nodes from users flagged by a user

I have a user flag that is pretty much like a "follow" or "subscribe" function. Basically I want to create 3 views for my website's user profile pages: A list of users flagged by a user (e.g. a ...
5
votes
2answers
4k views

How to create basic Organic Groups functionality with flags and references?

I've used Organic Groups for the past 6 months and found it to complex for my simple use case. Creating even basic views to show users of a group or content of a group turns quickly into "rocket since"...
9
votes
3answers
4k views

How to display a flag to anonymous users?

I'm using the Flag module, but I have a problem in displaying a flag to anonymous users. I have 2 flags called "make feature" and "add to Favorites". I want to display this flag to anonymous users ...
4
votes
2answers
3k views

How to debug a rule that doesn't want to fire?

I have nodes that can be flagged with a global flag. When a node is updated I want a rule to unflag that node. Rules Event: After updating existing content Rules Action: Unflag a node. I then ...
6
votes
1answer
1k views

How to create a view of unread comments on own nodes for the user's profile page?

I'd like to create a view for the user's profile page that displays all unread comments on the nodes he/she created. When I say 'unread', I mean that the page where the comment is situated (namely, ...
7
votes
1answer
2k views

How can I simplify the use of flags with Views Bulk Operations?

I have an administrative display (made with views) that lists content that is pending approval. In the case of my site, approval means flagging with the approval_for_pub flag (which triggers a custom ...
4
votes
1answer
3k views

How to create custom rules action event conditions?

Is there any universal formula or module to create custom rules actions, events and conditions? So that I just have to replace the required values and rest of the code remains the same. I searched, ...
4
votes
1answer
2k views

Convert a Flags Link into a Checkbox

Is there a way to convert Flags links into check boxes within a view? I tried the Flag Form module, but it did not work (at least not in a view). I've reviewed the Flags Add Checkboxes as Display Type ...
3
votes
2answers
364 views

Can the Flag module be used to lock content while editing to prevent concurrent edits?

We are trying to figure out a way to use the Flag module to prevent concurrent editing. In our research, we found the Content locking (anti-concurrent editing) module, but we thought since we are ...
0
votes
1answer
591 views

How to implement RSVP Functionality?

I have created event using Calendar in Drupal Commons. I need to implement RSVP for these events Details like FB event section. Kindly guide me to create RSVP plugin in Drupal Commons. I just ...
3
votes
3answers
6k views

drupal_add_js within AJAX callback

How can i add some data to drupal setting object using drupal_add_js withing some ajax callback? For example I have ajaxified flag link on my page, and have implemented hook_flag in my module, how ...
0
votes
1answer
459 views

Ability for user to flag or select multiple nodes from view listing

I am creating a page where I have a view listing about 100 nodes of a specific content type and then underneath that I have a contact form. When visitors (logged out users) come to my site I would ...
0
votes
2answers
605 views

Any way to flag users who previously submitted a webform on revisit?

My business team needs users who submitted a specific form to be flagged in order to allow them to gain access to a certain piece of content, which we've hidden behind a conditional check on whether ...
3
votes
2answers
335 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 ...
4
votes
2answers
1k views

how to put “add friend” link with flag friend with views

Flag Friend Add Friend Link with views. Flag friends shows a link to add friend in my account page but i want to display this link on in a field for a view.
4
votes
3answers
3k views

Restrict forum access based on user (user list)

I need to restrict access to forums so that only selected users can access an individual forum. (The users should apply for a forum and a moderator should decide if the user should be allowed to ...
3
votes
1answer
209 views

How to run the Flags module after the Rules module?

As a sequence on this question, I'd like to deduct 2 User Points when a user's first reaction on an Article is deleted (I mentioned my flag 'First reaction' there). I created a Rule 'Reaction removed' ...
1
vote
1answer
270 views

How to list out Flag content User in event page in Drupal Commons

I tried to create the equivalent of the RSVP module (for which no D7 version exists ...) in combination with Drupal commons. But I didn't succeed in that. So I then decided to use the Flag module, ...
8
votes
2answers
1k views

How to make possible to flag only one node

I have a view with lists of 10 nodes with a node display type (not rows). Every node has a flag. How to make possible to flag ONLY one node of these 10 nodes, for example if you have flagged one node -...
4
votes
2answers
134 views

How to create missing rules event when user flags a statuses updates?

The problem: Rules events are missing. EVENT 1. user flagged a statuses and EVENT 2. user flagged a fbss_comment. Everything is available, just need to add these events. Status updates are created ...
4
votes
4answers
645 views

Give flagged products in search API a higher search score?

I have a product catalog running on Search API and Search API SOLR Search. Now I was hoping that when a customer flags a product (with the flag module), there would be a way to boost the search score ...
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 ...
2
votes
3answers
1k views

How to remove all roles from a user?

Users on my site generally have several roles. However, every once in awhile I get a spam user, and so I close that account by flagging it with a spam flag, which triggers a rule to block the account....
2
votes
2answers
1k views

How to create view with user's flagged content?

I created a flag 'Add to favorites' with the Flag module and I'd now like to create a view for the user's profile that sums up all his/her favorite content. I tried to add the relationship Flags: ...
2
votes
3answers
1k views

Content Translation : Language filter not available in views

I use a view to show a list of nodes flagged by a global flag (any user, any language) and would like to return only current language related nodes. For that I should be able to add a filter in the ...
1
vote
0answers
589 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 ...
0
votes
1answer
756 views

How to pass a Flag field's value to a Rules Component triggered by the flag?

Assume a flag (created using the Flag module) which triggers a rule, using Rules Event "When something is flagged" (with this flag). And assume that this flag has 2 fields defined for it also, i.e.: "...
0
votes
1answer
1k views

Flag module views integration

Following an excellent suggestion, I added the Flag module to a website in order to allow users to store their favorite stories in a dedicated page. This seems to be working really nicely, but how do ...
0
votes
3answers
186 views

subscribe to nodes with entity reference

I'm building a music site and have an 'artist' content type that are referenced in product displays, articles etc. I want to enable users to subscribe to these artists and get notified whenever there'...
3
votes
1answer
259 views

How can I make a view that shows users all the who have flagged a single user?

Background I want to add a tab to the user profile that shows the logged in user which other users have viewed his/her profile. I want to control this list in Views. Until recently, I have been ...
3
votes
1answer
74 views

How to use “replacement tokens” created for a Message type in Views?

In my case a user with the role ("team member") flags a node created by normal user. I want to display "@team member_id flagged @node_id created by @user_id". Maybe later on I would like to add ...
3
votes
2answers
142 views

Flag Module: “Never Flagged” Status

Flag Module is a very effective module for tagging entities which - apparently - only handles two status: "flagged" and "unflagged", while I need now to know if an entity was even been flagged ...
3
votes
3answers
835 views

Voting a post several times by same user

I have a case where authenticated users can Vote a content many times. I want a button at the top of the Node saying Vote This and when the users click the button it'll ask for confirmation Do you ...
2
votes
2answers
163 views

How to show data of user that flagged a content(2 flag types)?

I have 2 flag types for a content type. both flags have flag field. consider the user flagged a content by both flags. I want to show user data. I have problems in this situation. I add flag A and ...
2
votes
2answers
434 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 ...
2
votes
2answers
131 views

How to apply flags retrospectively for group subscriptions using Organic Groups?

We've a large site running Drupal 7 with OG, Flag, Rules, etc. OG uses a subscription model where you have to confirm you want to join a group (or leave a group) so we've decided to move to a Flag ...
2
votes
1answer
104 views

How to use fields of a flag instead of only toggling the flag?

I have created a flag (using the Flag module) called status and a field to it and named it remarks. Now, how do I let users to flag other users and fill in the remarks field for that particular flag. ...
2
votes
2answers
226 views

How to create a User Feed using the modules Message and Flag?

What I'm trying to do is in theory easy : **User** flagged **Article**. But I'm having hard time figuring out how to build a user feed like this with Message and Flag modules. I looked a little bit ...
2
votes
1answer
126 views

How to show data of user that flagged a content(5 flag types or more)?

This is a followup question about this Old question I have 5 flag types for a content type. consider we have 5 flag types and we don't know how many flags our user used. I mean, the first user can ...
1
vote
1answer
147 views

How can I get flag count of a flag?

I see extensive Drupal 7 documentation for the Flags module, but very little for Drupal 8. I have a Signup flag on a Drupal 8 node (which is an event). I need to suppress the Signup link when a ...
1
vote
1answer
75 views

How to create a rule to flag users when they're approved as a Trusted Contact?

I need some help with Drupal Commons (7.x-3.46), Trusted Contacts (one of its modules), and Rules. I need to create a rule so that whenever a user is approved as a trusted contact, the user is also ...
1
vote
1answer
185 views

Block Node Access After A Certain Amount of Views

I've come across a client requirement in Drupal that is very new to me. The website is subscriber based, so users pay to subscribe at which point they are granted a subscriber role. They then have ...
1
vote
1answer
62 views

How to use Views and Rules to activate a new node flag for existing OG members?

We have a flag for nodes called subscribe_og. From this point in time users will click that flag to join, or leave, a group. If you are not a member of the group, the flag says 'Join'. If you are ...
1
vote
1answer
321 views

Rules to Flag a node referenced by Commerce Order Line Item

I have a site selling edit access to specific nodes. The site uses Drupal 7, Commerce, Commerce License (selling a Role with edit permission), Rules and Flag. On the Add to Cart I have a Line Item ...
1
vote
1answer
401 views

How to send an email to all members of a group after the group is flagged?

I use the Group module. I create a flag to mark groups. I wish that when a group is marked, an email is sent to all members of that group. How to do this ? I created the following rule, but I find ...
1
vote
1answer
68 views

How to “flag” product that had already been purchased before “flaging feature” was added?

In reference to this question and answer: How to mark product if it has already been purchased by current user? Now that I know how to "flag" the items in a way that lets me notify customer to avoid ...