Log in

View Full Version : Need help with a conditional


peterska2
12-19-2004, 11:13 PM
I'm writing a mod to enable anonymous posting in selected forums and it is all done bar one little conditional which is giving me grief.

In the postbit template I need to tell it that

<if condition="thread is in forum x">postbit y will happen<else />postbit z will happen</if>

I've tried loads of different things that I can think that it might be but it just isn't having any of it. I've gone from having postbit y all over my site to having postbit z all over my site.

Someone has to know the answer and I'd be very greatful if someone could help me out here.

Cheers.

peterska2
12-19-2004, 11:45 PM
Got it now thanks to Zachery :D