MyBB Community Forums

Full Version: Determine the forum name or forum id in header template?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is it possible to determine the name and/or id of the forum that you are currently in? I am wanting to display ads based on the forum that is being viewed but it doesn't appear that the $forum variable is available in the header template.
Doesn't Google Adsense do that for you?
Not using adsense for these ads.
Ooh well than I think your out of luck unless you are able to code some plugin/script that will take the name from the database depending on the forum id and the ad id.
Ah, that stinks.