BBCode and [quote]s should be removed from Telegram previews of forum posts:
@jan-2017:
But there are no notification lines displayed in the Messanger if, for example, a quote is too long. The message after the quote will probably not be shown. The user wants to read the message and not the quote content. My suggestion would be to shorten the citation length and to show only a certain number of the beginning and end of the quote.Then there is more space for the actual message.
@lassik:
I agree. I tried to remove the bbcode (the [quote] and other such stuff) to leave only the plain text. I used https://wiki.phpbb.com/Function.strip_bbcode but could not get it to work easily - it removed all of the message text, leaving an empty message :) If you know how to do it (without writing our own bbcode parser or using regexps) please let me know.
The notifications about quoted messages definitely look weird right now and it would be great to have them fixed.
Some other problems:
Put usernames in bold so they are more prominent.
Maybe should use post title instead of topic title in notification messages. Usually doesn't matter, but can be confusing to use the topic title if it's very different from the post title.
Partial HTML tags may mess up the preview (missing closing tag? preview cut off in the middle of an opening tag?). Investigate.
Why do HTML tags end up in the preview in the first place? They shouldn't. Investigate.
Partial links (URLs) should never be displayed at the end of a preview (since links are clickable in telegram). Either the full link or no link at all.
BBCode and
[quote]
s should be removed from Telegram previews of forum posts:@jan-2017:
@lassik:
Some other problems: