OK, the problem is that global_start is only called once. To display something in postbit_legacy for each poster you need to use a hook that's called once for each post, like postbit_display_complete.
For efficiency, you might want to create a global variable as a cache, so that if the same user has posted more than once on the page, you only have to do the work once. (But it might be a good idea to get it working before optimizing).
|