YesNoOk
avatar

Feature Quick reply, multi-quoting and all this stuff (Read 2641 times)

Started by Nightwish, April 14, 2012, 15:16:39

0 Members and 1 Guest are viewing this.
Share this topic:
#1
Quick reply, multi-quoting and all this stuff |
April 14, 2012, 15:16:39
Quick reply revised
Quick reply works differently from SMF. By default, there is no quick reply box visible on the topic page. When you hit a quote button, the quick reply box with a simplified post editor will appear below the post you want to quote so there is no need to scroll down to the end of the page and you'll most likely still see the post you are quoting. When yo hit the topic reply button, the same box will appear at the bottom of the page, this time empty and without any quotes.

It allows to quote multiple posts by just clicking the quote button and the quick reply editor box will "follow" you, always being shown below the actual post.

By default, the quick reply feature is enabled, but for those users who prefer a more old school approach to posting with a full post editor on a fresh page it can be disabled in the user's profile. Obviously, the quick reply stuff requires JavaScript, and if this isn't available, a user gets normal posting features.

Advanced multi-quote
Sometimes, it may be necessary (or, at least, helpful) to quote multiple messages not necessarily on the same topic page or messages that are too old to appear in the topic review frame below the post editor. For these situations, it's now possible to mark messages for quotation and it is flexible enough to remember your choices (via a cookie) and doesn't actually care where the messages are. For example, it allows you to easily quote messages from a different topic by marking them for quotation before you start posting your reply.

As long as you have messages marked for quotation, hitting reply or quote will fetch them all and populate the editor with all the quotes. When you submit a post, the collection of marked posts is cleared. If you have messages marked for quotation (possibly in a different topic or on a different page of the current topic), a hint will appear, telling you how many messages are marked and, for convenience, a link next to this hint allows you to forget all the marked posts. Visually, a marked post appears with s subtle colorized button bar.

Todo / things to consider:
Allow the WYSIWYG editor for quick reply. Obviously and for performance reasons, this should
  • a) be optional (should be possible to disable it site-wide)
  • b) The editor should only load on demand when a user actually needs it. To implement this, we need a way to load the editor via AJAX. Probably not too hard to implement, but still quite a piece of work...
__
Every program has at least one bug and can be shortened by at least one instruction -- from which, by induction, one can deduce that every program can be reduced to a single instruction that doesn't work.
My SMF-based forum fork
1 Like It 
#2
Re: Quick reply, multi-quoting and all this stuff |
April 21, 2012, 12:26:07
Quick reply revised
Quick reply works differently from SMF. By default, there is no quick reply box visible on the topic page. When you hit a quote button, the quick reply box with a simplified post editor will appear below the post you want to quote so there is no need to scroll down to the end of the page and you'll most likely still see the post you are quoting. When yo hit the topic reply button, the same box will appear at the bottom of the page, this time empty and without any quotes.

It allows to quote multiple posts by just clicking the quote button and the quick reply editor box will "follow" you, always being shown below the actual post.

By default, the quick reply feature is enabled, but for those users who prefer a more old school approach to posting with a full post editor on a fresh page it can be disabled in the user's profile. Obviously, the quick reply stuff requires JavaScript, and if this isn't available, a user gets normal posting features.

Advanced multi-quote
Sometimes, it may be necessary (or, at least, helpful) to quote multiple messages not necessarily on the same topic page or messages that are too old to appear in the topic review frame below the post editor. For these situations, it's now possible to mark messages for quotation and it is flexible enough to remember your choices (via a cookie) and doesn't actually care where the messages are. For example, it allows you to easily quote messages from a different topic by marking them for quotation before you start posting your reply.

As long as you have messages marked for quotation, hitting reply or quote will fetch them all and populate the editor with all the quotes. When you submit a post, the collection of marked posts is cleared. If you have messages marked for quotation (possibly in a different topic or on a different page of the current topic), a hint will appear, telling you how many messages are marked and, for convenience, a link next to this hint allows you to forget all the marked posts. Visually, a marked post appears with s subtle colorized button bar.

Todo / things to consider:
Allow the WYSIWYG editor for quick reply. Obviously and for performance reasons, this should
  • a) be optional (should be possible to disable it site-wide)
  • b) The editor should only load on demand when a user actually needs it. To implement this, we need a way to load the editor via AJAX. Probably not too hard to implement, but still quite a piece of work...

Test