Forum thread reply on the same page
When looking at a forum thread, if clicking the "Reply this message" button, make the edition box appear at the bottom of the message we are replying to, instead of showing it in a new page. This should make it easier for the students to contribute to the forum, and hopefully load the server a little less.
Use the common folder for AJAX functions (main/inc/ajax) and make sure it doesn't break any existing feature.
Don't hesitate to spend some time first cleaning the forum code. It is very old.
Updated by Daniel Barreto over 6 years ago
Add next changes:
- Add one parameter in show add post forum to don't display form and return its HTML string.
- Use this parameter to filter thing to show.
- Add a hidden form to be used when an user want to reply in forum thread.
- Add method to generate HTML of post actions (edit, reply, quote, delete, etc). Only to reply by the moment.
Thing to do:
- Fix form validation
- Use ajax
- Finish new method
- More comments