I'm using Drupal 7 and I created a simple page where users are able to create challenges and tag people in their posts. For tagging I used the Mentions module and it works fine, I'm able to visit tagged person's profile.

Now I'm trying to add all the posts/blog entries that are associated with that user to the user's profile. So that every time the user is mentioned, that post would appear on the user's profile.

Is that possible to do? If yes, what would be a possible approach?

1 Answer 1


Step 1

Use the Message module to create "Messages" each of those mentions, similar to what is detailed in the answer to "How to get notifications in a new window when using the Mentions module?".

Step 2

Perform the steps explained in "How to allow users to manage their own Message Stack messages?", which can be summarized like so:

  1. Create a flag (using the the Flag module).
  2. Create a view 'Messages by user'.
  3. Use Rules to flag/unflag messages.
  4. Trigger the Rules Component to mark messages (using the VBO module).
  5. Create notifications about Unread Messages (using the "Menu Badges" module).


  • Consider Step 5 as a bonus: whenever a new message gets created, the user gets a shiny notification in the format of an iOS-like (red) badge with the number of unread mesages.
  • No custom coding involved, only using some of the commonly used contributed modules (and "Menu Badges", a hidden gem ...).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.