Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

[New Premium Plugin] DM - Dynamic Mentions

+6 votes
asked Sep 5 in Plugins by pupi1985

As I usually say in these kind of posts, I'd like to compare Q2A with StackOverflow.com, which is the kind of platform I believe Q2A should aim to become, and try to see what makes it better to steal some ideas. Clearly, user mentions, in the form of @user, with a UI-friendly solution came up so I decided to create a nicely looking plugin that would take care of this.

This should sum everything up:

The animated sequence shows how typing an @ character followed by a couple of additional characters triggers the display of a popup to select users. The admin can configure this popup to be filled with only the users involved in the question thread or every user in the site.

Mentioning a user not only creates a link to the user's profile but also can notify them about the mention. The admin can configure two kinds of notifications. One is an email notification. The other one is a notification by means of the On-Site Notifications plugin. This notification system is very useful when trying to involve other uses into a thread.

One additional feature that is worth mentioning is that the admin can set a minimum user level that will be allowed to create mentions to other users. That way the admin can restrict the feature just to Editors and above.

Here is a complete list of features:

  • Easily transform a username into a clickable link when writing a post (mention)
  • Users can be selected from a popup list of matched users
  • An additional user field can be displayed in the popup (e.g. the full name of the user)
  • Mentions can be used in questions, answers and comments
  • Full and basic editors can be selected for each kind post
  • On-Site Notifications plugin integration that allows receiving a notification to mentioned users
  • The admin can choose to enable sending email notifications to mentioned users
  • User permits can be configured to allow a minimum user level allowed to generate mentions
  • Does not require any core hack and does not modify the core tables structure

If you are interested in reading more about the plugin you can check the plugin page. There, you'll find some additional features, screenshots and how to order it. You can also find a plugin demo here.

commented Sep 8 by fara
So it doesn't work with markdown editor only when editing posts?
commented Sep 8 by pupi1985
You cannot use the WYSIWYG editor to edit markdown posts (or viceversa). This editor works just like the WYSIWYG one: both use CKEditor. Converting posts between formats is a feature that's not implemented in Q2A yet: https://github.com/q2a/question2answer/issues/331

1 Answer

+1 vote
answered Sep 7 by Piotr Baranowski
is this plugin is working with Sama55's notification pro plugin too? :) if yes, I will buy it. How much? :)
commented Sep 7 by pupi1985
Hey Piotr! Sama55's notifications plugin code is not public and, as far as I know, it has been discontinued. So I can not integrate it. q2apro's on-site notifications is public so I could suggest some changes to it to allow notifications from ALL plugins, not just this one. See here: https://github.com/q2apro/q2apro-on-site-notifications/pull/25

As a side note, bear in mind you have a Q2A 1.7.x release, and this plugin's compatibility starts with 1.8.0, as I mentioned in the wiki. Furthermore, your site uses it's own and extremely customized ad-hoc editor. That would mean you would have to revert back to the CKEditor that almost everyone uses and I guess you won't like that.

PS: you never replied my email :)