Prior to 6.3 B_last_post and B_posted were only equal in th elast post. Since 6.3 the two fields are always equal.
I managed to get it to work in 6.3 by doing this:
https://www.ubbdev.com/forum/showflat.php?Cat=0&Board=php&Number=88035#Post88035I was hoping someone came up with a more elegant way, as it's not a great hack I did and feel it could be sped up a bit somehow.