the condition is right because I can put some random text in the the if statement and that prints as long as there is data in the field. The plugin code is correct because I can use the variable in forumdisplay and it works fine.
I thought it was a scope issue but I would have thought putting it in global_start would solve that. As a side note I noticed the random_banner code which posts an ad banner in forumdisplay correctly also does not display in the postbit template.
I've removed the conditional in the postbit template just to make sure and still nothing. It is like the variable is blank.
|