I think I confused you what I mean by the first words of the first post - I explained it above... i found some explanations here...:
https://www.minibb.com/forums/5_3752_0.html... but since the solution for the last post is done, maybe it's easy to do that too:)
Maybe to change this:
for ($post_id=first post in this topic) do$words = count(explode(" ", $lptxt));
if($words > 10) {$exlptxt = explode(" ", $lptxt);
$lptxt = $exlptxt[0]." ".$exlptxt[1]." ".$exlptxt[2]." ".$exlptxt[3]." ".$exlptxt[4]." ".$exlptxt[5]." ".$exlptxt[6]." ".$exlptxt[7]." ".$exlptxt[8]." ".$exlptxt[9]; //10 words
$varlength = strlen($lptxt);
if($varlength > $textLdLnth){$lptxt = substr($lptxt, 0, $textLdLnth) . "...";}
else {$lptxt .= "...";}
}
or even better - to add a new variable to show the first post of the topic creator...