$forumid variable in $Globals for postbit,forumdisplay,forumhome,headerinclude,navba r
Hi,
our forum get monthly new subforums. and at the moment we define where and to who we will show our ads (which are located in postbit_legacy, forumhome, forumdisplay, showthread, header, headerinclude, footer, navbar templates) by template conditionals.
but everytime a new subforum created we have to update the array $GLOBALS['forumid'] all conditionals with the new forumid.
1.
to save time, we are thinking of adding a "$show_ads_forumid_variable" to somewhere and use it the conditionals, so we dont need always to update all conditionals with the new forumid.
2.
we put in the forum-options (forum-manager) a field like "show ads (yes/no)", so all templates in this forum will not show the ads if no-> selected....
i will be happy, when somebody could help me with this issue out, i am also will to pay for it...
thank for you...
|