[Pushed] Post handler wrongly counts invalid/unavailable video code
#1
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, ' 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.
Could be wrong but worth a try.
Reply


Messages In This Thread
Post handler wrongly counts invalid/unavailable video code - by noyle - 2019-09-17, 12:09 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)