And it's near impossible to tell you how to do that when we don't have the code. The best place to ask is wherever you got the code. (And no, since you didn't write the code, you may not post it here.)
There is an article in the vB4 articles section on writing template conditionals, so that may help you to figure it out.