I have written a mod to divide a forum into subforums
basically, a subforum is a collection of categories
when a member clicks on a subforum link, only the categories assigned to that subforum appear in the board index
now I want to set up, say, an ad box in the templates
or a banner
but I want to code it so that SMF will display a different banner for each subforum
meaning, each subforum will have its own banner
in other words, what is a good/best way to make SMF display an item (from a set of items) depending on a variable value (from a set of values)?
store the items and variable values in two database tables and linking them together?
do you know of a mod or SMF feature that does something like this?
tbat's it :)
what do you think?
123