There is no way for it to work in all those places by using the global_start hook location. If you want it to work on the showthread page for the posts, you simple cannot do it at that location. You need to do it at one of the postbit_display_* locations.
For the lastpost on the forumdisplay page, you need to use the threadbit_display hook and set $memberinfo['userid'] to $thread['postuserid'], and then on the showthead page, you need to use one of the postbit_display_* locations and do a similar setting for the variable. And then for the index.php page (or forum.php page, whatever you want to call it), you have to look into where the lastpost is set there and do similar. You just can't do it with one plugin/hook location.
|