Re: Determine topic’s status
The function topic_resolved()
echo’s back whether the topic is resolved, not resolved, or not a support question. You can even change what it echo’s by passing strings to the function.
Otherwise you want the function get_topic_resolved($id)
which will return yes, no, or mu (for it is resolved, it’s not resolved, or it’s not a support question).
But if you don’t like that method, you can always get it straight from the database… it’s just more work for the server that way.