I have a product which forms a variable in a plugin using the postbit_display_start hook:
PHP Code:
$someVar = "whatever" . $post[userid];
Then, I echo this string in my "postbit" using $someVar in the template.
This works completely fine and it echos and works properly.
However, when it comes to viewing a private message, it screws up. For some reason, when postbit_display_start executes, it ends up using the user id of the person VIEWING the PM, not of the person who the PM is from...
What I need is to basically have a string (for both viewing posts/threads AND for viewing PMs) which has the poster's/sender's user ID in it.