Re: How to refer to the current topic?
What do you mean, no go?
This code should do it! At a wild guess, remember that globals have to be declared as globals again in each function.
global $topic;
$topic_poster_id = $topic->topic_poster;
It may also be helpful to know that the attributes or whatever they are (things after the ->) correspond to the columns of data in the table.