One of the variables that you mention is already available. This is $username, which you should alter in $thread['username'].
The others require more elaboration, we could do that one by one.
Which information is in $post['fid5']?
The others require more elaboration, we could do that one by one.
Which information is in $post['fid5']?
Regards, Ad Bakker (NL)