Re: Titles for topic replies?
You should use hooks to make it automatically call your function when that hook is called – the syntax is something like add_action('hook name', 'function name')
if I recall correctly. Look at existing plugins for details of how to do it.
There isn’t a reference for hooks that I’m aware of, sorry.