2019-09-17, 12:09 PM
Example: https://community.mybb.com/thread-224654.html
I've to add some extra character to make an invalid/unavailable video code not a video code,
Image counting seems correct, which is done after the message is parsed: function verify_image_count().
Source line for video count: function verify_video_count(). It'll be good to see the post handler can count something of video after content parsing, but not sure if there's a good way for doing so. Current 1.8 parser uses template to output an valid
I've to add some extra character to make an invalid/unavailable video code not a video code,
'
in the example post. It's even counting video code in a [code]
tag.Image counting seems correct, which is done after the message is parsed: function verify_image_count().
Source line for video count: function verify_video_count(). It'll be good to see the post handler can count something of video after content parsing, but not sure if there's a good way for doing so. Current 1.8 parser uses template to output an valid
[video=]
tag, which looks unreliable to me.