Skip to main content
3 votes

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

Umair, have you looked at the patches in drupal.org/node/1787930 and drupal.org/node/1311468 and maybe some others ? I got flag 3 working with the status + rules, but not the comments. It could be ...
Niall Murphy's user avatar
  • 2,771
3 votes

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

Preface - start This answer assumes you're using the current version of Flag, i.e. 7.x.-3.x. Though a comment below this answer states: Statuses is not compatible with flag 3. It works with flag 2. ...
Pierre.Vriens's user avatar
3 votes
Accepted

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

"To add profile pics of both user/team member or the email or any information in the view ..." (as in your question), you cannot use the replacement tokens (= @utilisateur and @equipier in your case). ...
Pierre.Vriens's user avatar
2 votes
Accepted

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

If you'd add the Rules module (on top of the Message and Flag module you're already using), you can get this to work by using the "Replacement tokens" as part of your "Message type" configuration. If ...
Pierre.Vriens's user avatar
2 votes
Accepted

How to make Drupal Commerce tokens available in the Commerce Message module?

Even though your question is about the "Commerce Message" module, at its core your question relates to the Message module. And since you are using the Rules module, you can make the missing tokens (= ...
Pierre.Vriens's user avatar
2 votes

How to show message view containing own and following activity?

About the Message module and user activity Even though you're question doesn't really say so, I'm assuming that: "activity" in this question is about message instances created by the Message module,...
Pierre.Vriens's user avatar
2 votes
Accepted

How to insert the title of the group in a message?

For this, you need to know that a node can be in multiple groups and there is also a midlevel entity between a node an a Group called a GroupContent entity. To retrieve the Groups for a given node ...
John's user avatar
  • 188
2 votes
Accepted

Commerce message notify sending duplicate emails

It's obvious that the update event you're using in your custom rule gets triggered twice, which explains why you get those duplicate mails. I've seen similar issues in the past with other entities ...
Pierre.Vriens's user avatar
2 votes
Accepted

Editing the "Send private message" link to include the username

I think you're asking, "How can I create a translated string 'Send a private message to @username' where @username is replaced with the name of the user currently being viewed?" If you're ...
sonfd's user avatar
  • 7,921
2 votes
Accepted

How to create a message with message stack when user becomes a member of a group module group?

It looks like the membership relationship is stored as a GroupContent entity, so in theory you would use something like hook_ENTITY_TYPE_insert()as your event: function MODULE_group_content_insert(\...
Clive's user avatar
  • 167k
2 votes
Accepted

How to override a service

The problem is that you are adding your argument as an array, so your __construct() method receives an array. So this: $definition->setClass('Drupal\my_module\MyModuleMessageNotifier')->...
Jaypan's user avatar
  • 17.6k
2 votes
Accepted

Why doesn't the token for the node title work?

[message:field_node_reference:entity:title] is not replaced with the node title because, for a example_create_comment message template, the field_node_reference field doesn't contain any valid node ...
apaderno's user avatar
  • 97.5k
1 vote
Accepted

How to display the user's image in a Message Template?

You can use the following token: [message:author:user_picture] i.e. same as yours with the thumbnail subsection UPDATE: In order to get the image styles to work I had to switch to "Full HTML" text ...
Ismail Cherri's user avatar
1 vote

How to include order details in eMail notifications created with the Message module?

You just goto http://localhost/project/admin/commerce/config/checkout/rules/manage/commerce_checkout_order_email/edit/3 then as screenshot into the message value you can set your custom message ...
AddWeb Solution Pvt Ltd's user avatar
1 vote
Accepted

How to show picture of the user who triggered the rule for message activity?

Since you are using Rules to create your messages to be delivered, you can try to make the missing tokens available by using the Replacement patterns for each message type. Refer to the answer to What'...
Pierre.Vriens's user avatar
1 vote

How to use Message Subscribe module?

The Message Subscribe module is part of the Message Stack, which consists of these modules (quotes are from the module's project page): Message: The Message module is the core of the message stack. ...
Pierre.Vriens's user avatar
1 vote

How to detect the newness of messages created with the Message module?

Have a look at my answer to "How to allow users to manage their own Message Stack messages?", which IMO is pretty close to the question here. It can be summarized like so: Create a flag (using the ...
Pierre.Vriens's user avatar
1 vote
Accepted

How to add missing data selector in "Create new entity" rules action?

Looks like you're starting to hit the limits of the most recent (beta2) release of the Statuses module. Have a look at this variation of a custom rule, which is included in Comment nr 13 of issue nr ...
Pierre.Vriens's user avatar
1 vote
Accepted

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

Part 1: Rules tokens Here is a sample of a rule (in Rules export format), for a flag which is used to flag an entity of type "user": { "rules_set_the_ever_flagged_with_flagx_flag" : { "LABEL" : "...
Pierre.Vriens's user avatar
1 vote
Accepted

Why does the count of the Menu badge not decrease after page is viewed?

Part 1 - It does seem to work as designed Since your question is about a "Menu badge", I'm assuming you are using the (great!) Menu Badges module to create such badge, whereas you also created a view ...
Pierre.Vriens's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible