PDA

View Full Version : Need help with forum (link) template conditional.


FleaBag
06-01-2007, 02:49 PM
I have made a few changes to the layout of my forumhome, including removing some of the physical table layout and moving towards a more viewer friendly display.

This involves changing how the thread and reply count is displayed form columns to a text display of "x threads containing y replies". If you're having trouble following take a look here...

www.dragonninja.co.uk/forums/

The problem is that with "link" forums, the text is displayed as "threads containing posts" without the x and y value, as they obviously do not contain any threads or posts.

I obviously need to get rid of this, so need some kind of template conditional.

E.g. if condition forumid is not a link then display html.

Is this possible in standard vB? How difficult would it be to achieve via a hack?

Any help would be much appreciated - thanks!