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

If you have questions about the platform, click here to ask and please use English.

If you just want to try Q2A, please use the demo, which also grants admin access.

Apr 29: Q2A 1.5.2

I need to change one thing, any expert?

+1 vote

hello friends
thank you very much for answering

I need to do one thing, it sure will be easy for an expert:

1. when you click on reply or comment automatically inserted into the text box the user name of the person who posted the question, something like: "@username"

combined this with the mention-notifier, would create an internal notification system!

anyone please!!!

thanks

asked Aug 15, 2011 in Q2A Core by Samuel Azcona
edited Aug 16, 2011 by Samuel Azcona

2 Answers

+1 vote
Great idea! will use that too, if its possible =)
answered Aug 15, 2011 by Super2Sam
0 votes
Just check for $qa_state, get the parent post's userid, then their handle, then check if it is your handle.  If it is not, add the text to the editor's 'value'

This requires you to make a custom editor, I think... the only other way I can think of is with jquery's ready().
answered Aug 16, 2011 by NoahY