Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rules setup for a message type #157

Open
ugintl opened this issue Nov 5, 2016 · 0 comments
Open

Rules setup for a message type #157

ugintl opened this issue Nov 5, 2016 · 0 comments
Labels

Comments

@ugintl
Copy link

ugintl commented Nov 5, 2016

I am using drupal 7. I have created few activity logs using 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 this message type, I am not able to understand how to achieve this.

What should happen?
Message must be logged for the "User who ‘Is flagged’" user and at the same time the username token must be replaced by the "User who ‘Flagged it’" user. The problem is that this is not happening.

What is happening?
When the message is logged for "User who is flagged", the username is also replaced by "User who is flagged" user and vice versa. Obviously this is not what is required.

Note: It is about rules setup for message type when you select data-selectors in rules setup.

Another example is for "xyz mentioned you on github". Same problem goes here. Here username replaced by xyz and it was logged for xyz as well. It should not happen.

If abc user was mentioned by the xyz user, then the above message or notification must be received by the abc user and not the xyz user. Like normally you receive a notification on other websites when someone follows you or mentions you.

Hope you understood. Please read the whole explanation in the context of rules setup for message type. If there is any confusion, please ask me before answering.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants