Questions tagged [flags]
Use it for the module implementing a flexible flagging system, completely customizable by the administrator users: the Flag module.
143
questions with no upvoted or accepted answers
4
votes
1
answer
242
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
0
answers
446
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
0
answers
427
views
How to refresh/rebuild block without reloading the page?
I have a custom block which displays the number of events added to favorites(Flag module). I am using the TWIG template to display those results. I want to refresh the block contents right after the ...
3
votes
1
answer
29
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
1
answer
2k
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
1
answer
89
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
1
answer
180
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
1
answer
386
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
2
answers
443
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
1
answer
221
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
0
answers
224
views
How can I limit flagging per user?
Node compare is awesome plugin but it's just only in D7.
I'm using Drupal 8.
I have a views page which integrated with flag(compare it) and flipped table module to compare contents. It has limit to ...
2
votes
2
answers
399
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
0
answers
94
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 ...
2
votes
0
answers
71
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 ...
2
votes
1
answer
70
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
1
answer
151
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
0
answers
44
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
1
answer
131
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
1
answer
55
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
0
answers
256
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
1
answer
69
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
2
answers
476
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
1
answer
28
views
How can I use a different dialog for flag removal than for setting the flag?
My project has a special flag with an entity reference field in it to nodes of a content type I'll call here "bucket."
How it works:
The flag "add to bucket" appears on nodes of ...
1
vote
1
answer
42
views
Custom Flag not appearing in "Configure Relationship: Flags"
I am building a community site to link former co-workers.
I have used the Flags module to allow users to tag locations/teams.
I am trying to use views to now list all the users who have flagged a ...
1
vote
0
answers
42
views
Separate templates for flag links on views and node page
I have a flag called bookmark. The link to this flag is available on a View and the node page.
On the view, I would like this flag link to only display as an icon as the link.
On the node page, I ...
1
vote
0
answers
28
views
Is it possible to create a view of a user's content and content they've flagged?
I'm trying to build a view that displays nodes authored by a user AND nodes flagged by the user (but are authored by other users). All the nodes are the same content type. I can create the two views ...
1
vote
0
answers
106
views
How to reload flagging form via ajax?
My task is to ajaxify complex flag form (with additional fields).
I need this because the default ajax flag does not dupport fiedls.
I need to have the flagging form for create flag and then update it ...
1
vote
2
answers
664
views
How to create a view showing Users who have flagged AND are flagged by the current user
I'm trying to display a list of users who have flagged the current user, and are flagged by the current user. So a two-way flagging.
I've tried using different relationships and arguments in views, ...
1
vote
0
answers
113
views
Flag commerce product variation breaks page
I am building a shop on Drupal 9 ,Commerce 2, and want to implement a "my favorite products"-bookmark, so that a user can bookmark products and save them for later. So, I installed flag ...
1
vote
1
answer
372
views
Invalid CSRF token using flag.link_builder service (Flag module)
I have a REST route that returns a list of user accounts. I have a flag setup called 'following' as you can follow and unfollow other members. In my REST route, I use:
$flag_link = \Drupal::service('...
1
vote
1
answer
22
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
0
answers
112
views
Rules, Flags, Follower and New Content Notification
I am trying to setup a couple of rules. So far I have messed with rules some but since I am new, haven't had any success. This is what I am trying to achieve.
Have created a user flag called FOLLOW. ...
1
vote
1
answer
332
views
Flag count is incrementing only after page reload
I have a views with like and unlike flag. When I click on like flag the count not increments. But when I reload the page, then only like's count will change. How can I solve this issue?
Note: I have ...
1
vote
1
answer
38
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
1
answer
129
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
1
answer
106
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
0
answers
34
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
0
answers
33
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
0
answers
34
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
0
answers
36
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
1
answer
120
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
0
answers
57
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
2
answers
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
1
answer
142
views
Flag, flag link, and flagging: create an advanced 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
1
answer
112
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
2
answers
188
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
0
answers
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
3
answers
322
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
1
answer
239
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
0
answers
130
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 ...