https://www.icyphoenix.com/viewtopic.php?f=35&t=1620
-----------------------------------
darkone
Thu 12 Apr, 2007 18:54

Viewtopic Banner Code ... Is This Possible?
-----------------------------------
Hi Everyone

If you are using the Viewtopic Banner Code field. Is there a way to not have the banner show up in every forum just ones that you select? Can this be hardcoded? Or different banners for different topics/content. And what section of the code and what file has this code in it?

Thanks

-D1-


-----------------------------------
Mighty Gorgon
Sun 15 Apr, 2007 19:50

Re: Viewtopic Banner Code ... Is This Possible?
-----------------------------------
If you are confident with PHP you may try editing [b]viewtopic.php[/b]

[codeblock]		if ( $i == 0 && ($board_config['switch_viewtopic_banner'] == 1) )[/codeblock]

You can add there some other checks about forum_id or what else you would like to check... :wink:


